77 bool SetMatrixData(
const Eigen::MatrixXd &data);
81 bool SetGeometry(
const Geometry &geometry);
88 int Search(
const T &query,
90 std::vector<int> &indices,
91 std::vector<double> &distance2)
const;
94 int SearchKNN(
const T &query,
96 std::vector<int> &indices,
97 std::vector<double> &distance2)
const;
100 int SearchRadius(
const T &query,
102 std::vector<int> &indices,
103 std::vector<double> &distance2)
const;
105 template <
typename T>
106 int SearchHybrid(
const T &query,
109 std::vector<int> &indices,
110 std::vector<double> &distance2)
const;
117 bool SetRawData(
const Eigen::Map<const Eigen::MatrixXd> &data);
123 size_t dimension_ = 0;
124 size_t dataset_size_ = 0;
The base geometry class.
Definition: Geometry.h:37
Definition: KDTreeFlann.h:39
Definition: KDTreeFlann.h:43
Base class for KDTree search parameters.
Definition: KDTreeSearchParam.h:35
KDTree with FLANN for nearest neighbor search.
Definition: KDTreeFlann.h:52
Definition: Open3DViewer.h:29
Definition: KDTreeFlann.h:37
std::vector< double > data_
Definition: KDTreeFlann.h:120
Definition: KDTreeFlann.h:41
Class to store featrues for registration.
Definition: Feature.h:46
std::unique_ptr< flann::Index< flann::L2< double > > > flann_index_
Definition: KDTreeFlann.h:122
std::unique_ptr< flann::Matrix< double > > flann_dataset_
Definition: KDTreeFlann.h:121
const char const char value recording_handle imu_sample recording_handle uint8_t data
Definition: K4aPlugin.cpp:270