|
Open3D (C++ API)
0.17.0
|
#include <NanoFlannIndex.h>
Public Member Functions | |
| NanoFlannIndex () | |
| Default Constructor. More... | |
| NanoFlannIndex (const Tensor &dataset_points) | |
| Parameterized Constructor. More... | |
| NanoFlannIndex (const Tensor &dataset_points, const Dtype &index_dtype) | |
| ~NanoFlannIndex () | |
| NanoFlannIndex (const NanoFlannIndex &)=delete | |
| NanoFlannIndex & | operator= (const NanoFlannIndex &)=delete |
| bool | SetTensorData (const Tensor &dataset_points, const Dtype &index_dtype=core::Int64) override |
| bool | SetTensorData (const Tensor &dataset_points, double radius, const Dtype &index_dtype=core::Int64) override |
| std::pair< Tensor, Tensor > | SearchKnn (const Tensor &query_points, int knn) const override |
| std::tuple< Tensor, Tensor, Tensor > | SearchRadius (const Tensor &query_points, const Tensor &radii, bool sort=true) const override |
| std::tuple< Tensor, Tensor, Tensor > | SearchRadius (const Tensor &query_points, double radius, bool sort=true) const override |
| std::tuple< Tensor, Tensor, Tensor > | SearchHybrid (const Tensor &query_points, double radius, int max_knn) const override |
Public Member Functions inherited from open3d::core::nns::NNSIndex | |
| NNSIndex () | |
| Default Constructor. More... | |
| virtual | ~NNSIndex () |
| NNSIndex (const NNSIndex &)=delete | |
| NNSIndex & | operator= (const NNSIndex &)=delete |
| virtual bool | SetTensorData (const Tensor &dataset_points, const Dtype &index_dtype)=0 |
| virtual bool | SetTensorData (const Tensor &dataset_points, double radius, const Dtype &index_dtype)=0 |
| virtual std::pair< Tensor, Tensor > | SearchKnn (const Tensor &query_points, int knn) const =0 |
| virtual std::tuple< Tensor, Tensor, Tensor > | SearchRadius (const Tensor &query_points, const Tensor &radii, bool sort) const =0 |
| virtual std::tuple< Tensor, Tensor, Tensor > | SearchRadius (const Tensor &query_points, double radius, bool sort) const =0 |
| virtual std::tuple< Tensor, Tensor, Tensor > | SearchHybrid (const Tensor &query_points, double radius, int max_knn) const =0 |
| int | GetDimension () const |
| size_t | GetDatasetSize () const |
| Dtype | GetDtype () const |
| Device | GetDevice () const |
| Dtype | GetIndexDtype () const |
Protected Attributes | |
| std::unique_ptr< NanoFlannIndexHolderBase > | holder_ |
Protected Attributes inherited from open3d::core::nns::NNSIndex | |
| Tensor | dataset_points_ |
| Dtype | index_dtype_ |
| open3d::core::nns::NanoFlannIndex::NanoFlannIndex | ( | ) |
Default Constructor.
| open3d::core::nns::NanoFlannIndex::NanoFlannIndex | ( | const Tensor & | dataset_points | ) |
Parameterized Constructor.
| dataset_points | Provides a set of data points as Tensor for KDTree construction. |
| open3d::core::nns::NanoFlannIndex::NanoFlannIndex | ( | const Tensor & | dataset_points, |
| const Dtype & | index_dtype | ||
| ) |
| open3d::core::nns::NanoFlannIndex::~NanoFlannIndex | ( | ) |
|
delete |
|
delete |
|
overridevirtual |
Perform hybrid search.
| query_points | Query points. Must be 2D, with shape {n, d}. |
| radius | Radius. |
| max_knn | Maximum number of neighbor to search per query point. |
Implements open3d::core::nns::NNSIndex.
|
overridevirtual |
Perform K nearest neighbor search.
| query_points | Query points. Must be 2D, with shape {n, d}, same dtype with dataset_points. |
| knn | Number of nearest neighbor to search. |
Implements open3d::core::nns::NNSIndex.
|
overridevirtual |
Perform radius search with multiple radii.
| query_points | Query points. Must be 2D, with shape {n, d}, same dtype with dataset_points. |
| radii | list of radius. Must be 1D, with shape {n, }. |
Implements open3d::core::nns::NNSIndex.
|
overridevirtual |
Perform radius search.
| query_points | Query points. Must be 2D, with shape {n, d}, same dtype with dataset_points. |
| radius | Radius. |
Implements open3d::core::nns::NNSIndex.
|
overridevirtual |
Set the data for the nearest neighbor search.
| dataset_points | Dataset points for KDTree construction. Must be 2D, with shape {n, d}. |
Implements open3d::core::nns::NNSIndex.
|
inlineoverridevirtual |
Set the data for the nearest neighbor search.
| dataset_points | Dataset points for KDTree construction. Must be 2D, with shape {n, d}. |
Implements open3d::core::nns::NNSIndex.
|
protected |