79 bool SetMatrixData(
const Eigen::MatrixXd &data);
83 bool SetGeometry(
const Geometry &geometry);
90 int Search(
const T &query,
92 std::vector<int> &indices,
93 std::vector<double> &distance2)
const;
96 int SearchKNN(
const T &query,
98 std::vector<int> &indices,
99 std::vector<double> &distance2)
const;
101 template <
typename T>
102 int SearchRadius(
const T &query,
104 std::vector<int> &indices,
105 std::vector<double> &distance2)
const;
107 template <
typename T>
108 int SearchHybrid(
const T &query,
111 std::vector<int> &indices,
112 std::vector<double> &distance2)
const;
119 bool SetRawData(
const Eigen::Map<const Eigen::MatrixXd> &data);
125 size_t dimension_ = 0;
126 size_t dataset_size_ = 0;
The base geometry class.
Definition: Geometry.h:37
Definition: NanoFlannIndex.h:53
Class to store featrues for registration.
Definition: Feature.h:47
Base class for KDTree search parameters.
Definition: KDTreeSearchParam.h:35
KDTree with FLANN for nearest neighbor search.
Definition: KDTreeFlann.h:54
Definition: PinholeCameraIntrinsic.cpp:35
std::vector< double > data_
Definition: KDTreeFlann.h:122
std::unique_ptr< flann::Index< flann::L2< double > > > flann_index_
Definition: KDTreeFlann.h:124
std::unique_ptr< flann::Matrix< double > > flann_dataset_
Definition: KDTreeFlann.h:123
const char const char value recording_handle imu_sample recording_handle uint8_t data
Definition: K4aPlugin.cpp:271