47 "NanoFlannIndex::SetTensorData with radius not implemented.");
59 int knn)
const override;
72 const Tensor &query_points,
74 bool sort =
true)
const override;
87 const Tensor &query_points,
89 bool sort =
true)
const override;
104 int max_knn)
const override;
108 std::unique_ptr<NanoFlannIndexHolderBase>
holder_;
#define LogError(...)
Definition: Logging.h:48
Definition: NNSIndex.h:21
Definition: NanoFlannIndex.h:24
NanoFlannIndex(const NanoFlannIndex &)=delete
std::pair< Tensor, Tensor > SearchKnn(const Tensor &query_points, int knn) const override
Definition: NanoFlannIndex.cpp:57
bool SetTensorData(const Tensor &dataset_points, const Dtype &index_dtype=core::Int64) override
Definition: NanoFlannIndex.cpp:35
std::unique_ptr< NanoFlannIndexHolderBase > holder_
Definition: NanoFlannIndex.h:108
std::tuple< Tensor, Tensor, Tensor > SearchHybrid(const Tensor &query_points, double radius, int max_knn) const override
Definition: NanoFlannIndex.cpp:157
bool SetTensorData(const Tensor &dataset_points, double radius, const Dtype &index_dtype=core::Int64) override
Definition: NanoFlannIndex.h:43
NanoFlannIndex & operator=(const NanoFlannIndex &)=delete
~NanoFlannIndex()
Definition: NanoFlannIndex.cpp:33
NanoFlannIndex()
Default Constructor.
Definition: NanoFlannIndex.cpp:22
std::tuple< Tensor, Tensor, Tensor > SearchRadius(const Tensor &query_points, const Tensor &radii, bool sort=true) const override
Definition: NanoFlannIndex.cpp:98
const Dtype Int64
Definition: Dtype.cpp:47
Definition: PinholeCameraIntrinsic.cpp:16