60 bool SetMatrixData(
const Eigen::MatrixXd &data);
61 bool SetGeometry(
const Geometry &geometry);
65 int Search(
const T &query,
67 std::vector<int> &indices,
68 std::vector<double> &distance2)
const;
71 int SearchKNN(
const T &query,
73 std::vector<int> &indices,
74 std::vector<double> &distance2)
const;
77 int SearchRadius(
const T &query,
79 std::vector<int> &indices,
80 std::vector<double> &distance2)
const;
83 int SearchHybrid(
const T &query,
86 std::vector<int> &indices,
87 std::vector<double> &distance2)
const;
90 bool SetRawData(
const Eigen::Map<const Eigen::MatrixXd> &data);
96 size_t dimension_ = 0;
97 size_t dataset_size_ = 0;
Definition: Geometry.h:32
Definition: KDTreeFlann.h:39
Definition: KDTreeFlann.h:43
Definition: KDTreeSearchParam.h:32
Definition: KDTreeFlann.h:49
Definition: PinholeCameraIntrinsic.cpp:34
Definition: KDTreeFlann.h:37
std::vector< double > data_
Definition: KDTreeFlann.h:93
Definition: KDTreeFlann.h:41
std::unique_ptr< flann::Index< flann::L2< double > > > flann_index_
Definition: KDTreeFlann.h:95
std::unique_ptr< flann::Matrix< double > > flann_dataset_
Definition: KDTreeFlann.h:94