70 std::pair<Tensor, Tensor>
KnnSearch(
const Tensor &query_points,
int knn);
86 const Tensor &query_points,
double radius,
bool sort =
true);
117 const int max_knn)
const;
123 void AssertNotCUDA(
const Tensor &t)
const;
A Class for nearest neighbor search.
Definition: NearestNeighborSearch.h:25
bool MultiRadiusIndex()
Definition: NearestNeighborSearch.cpp:38
NearestNeighborSearch(const NearestNeighborSearch &)=delete
std::unique_ptr< nns::KnnIndex > knn_index_
Definition: NearestNeighborSearch.h:128
std::tuple< Tensor, Tensor, Tensor > HybridSearch(const Tensor &query_points, const double radius, const int max_knn) const
Definition: NearestNeighborSearch.cpp:130
bool FixedRadiusIndex(utility::optional< double > radius={})
Definition: NearestNeighborSearch.cpp:40
std::tuple< Tensor, Tensor, Tensor > FixedRadiusSearch(const Tensor &query_points, double radius, bool sort=true)
Definition: NearestNeighborSearch.cpp:98
bool KnnIndex()
Definition: NearestNeighborSearch.cpp:23
std::tuple< Tensor, Tensor, Tensor > MultiRadiusSearch(const Tensor &query_points, const Tensor &radii)
Definition: NearestNeighborSearch.cpp:118
~NearestNeighborSearch()
Definition: NearestNeighborSearch.cpp:16
const Tensor dataset_points_
Definition: NearestNeighborSearch.h:129
std::unique_ptr< nns::FixedRadiusIndex > fixed_radius_index_
Definition: NearestNeighborSearch.h:127
bool HybridIndex(utility::optional< double > radius={})
Definition: NearestNeighborSearch.cpp:60
std::pair< Tensor, Tensor > KnnSearch(const Tensor &query_points, int knn)
Definition: NearestNeighborSearch.cpp:79
std::unique_ptr< NanoFlannIndex > nanoflann_index_
Definition: NearestNeighborSearch.h:126
NearestNeighborSearch & operator=(const NearestNeighborSearch &)=delete
const Dtype index_dtype_
Definition: NearestNeighborSearch.h:130
NearestNeighborSearch(const Tensor &dataset_points, const Dtype &index_dtype=core::Int32)
Definition: NearestNeighborSearch.h:33
Definition: Optional.h:259
const Dtype Int32
Definition: Dtype.cpp:46
Definition: PinholeCameraIntrinsic.cpp:16