49 AssertNotCUDA(dataset_points);
84 std::pair<Tensor, Tensor>
KnnSearch(
const Tensor &query_points,
int knn);
98 const Tensor &query_points,
double radius);
132 void AssertNotCUDA(
const Tensor &t)
const;
NearestNeighborSearch & operator=(const NearestNeighborSearch &)=delete
std::unique_ptr< NanoFlannIndex > nanoflann_index_
Definition: NearestNeighborSearch.h:135
std::tuple< Tensor, Tensor, Tensor > FixedRadiusSearch(const Tensor &query_points, double radius)
Definition: NearestNeighborSearch.cpp:57
std::tuple< Tensor, Tensor, Tensor > MultiRadiusSearch(const Tensor &query_points, const Tensor &radii)
Definition: NearestNeighborSearch.cpp:72
A Class for nearest neighbor search.
Definition: NearestNeighborSearch.h:41
std::pair< Tensor, Tensor > HybridSearch(const Tensor &query_points, double radius, int max_knn)
Definition: NearestNeighborSearch.cpp:93
std::pair< Tensor, Tensor > KnnSearch(const Tensor &query_points, int knn)
Definition: NearestNeighborSearch.cpp:47
Definition: PinholeCameraIntrinsic.cpp:35
~NearestNeighborSearch()
Definition: NearestNeighborSearch.cpp:36
bool HybridIndex()
Definition: NearestNeighborSearch.cpp:45
bool FixedRadiusIndex()
Definition: NearestNeighborSearch.cpp:44
NearestNeighborSearch(const Tensor &dataset_points)
Definition: NearestNeighborSearch.h:47
bool MultiRadiusIndex()
Definition: NearestNeighborSearch.cpp:43
bool KnnIndex()
Definition: NearestNeighborSearch.cpp:42
const Tensor dataset_points_
Definition: NearestNeighborSearch.h:136