Open3D (C++ API)  0.11.0
Namespaces | Macros | Functions
KnnSearch.h File Reference

(a25428d1 (Tue Sep 8 16:38:24 2020 +0200))

#include <tbb/parallel_for.h>
#include <mutex>
#include "open3d/core/Atomic.h"
#include "open3d/ml/impl/misc/NeighborSearchCommon.h"
#include "open3d/utility/ParallelScan.h"

Go to the source code of this file.

Namespaces

 open3d
 
 open3d::ml
 
 open3d::ml::impl
 

Macros

#define FN_PARAMETERS
 
#define CALL_TEMPLATE(METRIC)
 
#define CALL_TEMPLATE2
 

Functions

template<class T , class OUTPUT_ALLOCATOR >
void open3d::ml::impl::KnnSearchCPU (int64_t *query_neighbors_row_splits, size_t num_points, const T *const points, size_t num_queries, const T *const queries, const int k, const Metric metric, const bool ignore_query_point, const bool return_distances, OUTPUT_ALLOCATOR &output_allocator)
 

Macro Definition Documentation

◆ CALL_TEMPLATE

#define CALL_TEMPLATE (   METRIC)
Value:
if (METRIC == metric) \
_KnnSearchCPU<T, OUTPUT_ALLOCATOR, METRIC>(FN_PARAMETERS);
#define FN_PARAMETERS

◆ CALL_TEMPLATE2

#define CALL_TEMPLATE2
Value:
CALL_TEMPLATE(L2)
Definition: NanoFlannIndex.h:53
#define CALL_TEMPLATE(METRIC)
Definition: NanoFlannIndex.h:53

◆ FN_PARAMETERS

#define FN_PARAMETERS
Value:
query_neighbors_row_splits, num_points, points, num_queries, queries, k, \
ignore_query_point, return_distances, output_allocator
int points
Definition: FilePCD.cpp:73