Open3D (C++ API)
Public Member Functions | Protected Attributes
open3d::geometry::KDTreeFlann Class Reference

#include <KDTreeFlann.h>

Public Member Functions

 KDTreeFlann ()
 
 KDTreeFlann (const Eigen::MatrixXd &data)
 
 KDTreeFlann (const Geometry &geometry)
 
 KDTreeFlann (const registration::Feature &feature)
 
 ~KDTreeFlann ()
 
 KDTreeFlann (const KDTreeFlann &)=delete
 
KDTreeFlannoperator= (const KDTreeFlann &)=delete
 
bool SetMatrixData (const Eigen::MatrixXd &data)
 
bool SetGeometry (const Geometry &geometry)
 
bool SetFeature (const registration::Feature &feature)
 
template<typename T >
int Search (const T &query, const KDTreeSearchParam &param, std::vector< int > &indices, std::vector< double > &distance2) const
 
template<typename T >
int SearchKNN (const T &query, int knn, std::vector< int > &indices, std::vector< double > &distance2) const
 
template<typename T >
int SearchRadius (const T &query, double radius, std::vector< int > &indices, std::vector< double > &distance2) const
 
template<typename T >
int SearchHybrid (const T &query, double radius, int max_nn, std::vector< int > &indices, std::vector< double > &distance2) const
 

Protected Attributes

std::vector< double > data_
 
std::unique_ptr< flann::Matrix< double > > flann_dataset_
 
std::unique_ptr< flann::Index< flann::L2< double > > > flann_index_
 
size_t dimension_ = 0
 
size_t dataset_size_ = 0
 

Constructor & Destructor Documentation

◆ KDTreeFlann() [1/5]

open3d::geometry::KDTreeFlann::KDTreeFlann ( )

◆ KDTreeFlann() [2/5]

open3d::geometry::KDTreeFlann::KDTreeFlann ( const Eigen::MatrixXd &  data)

◆ KDTreeFlann() [3/5]

open3d::geometry::KDTreeFlann::KDTreeFlann ( const Geometry geometry)

◆ KDTreeFlann() [4/5]

open3d::geometry::KDTreeFlann::KDTreeFlann ( const registration::Feature feature)

◆ ~KDTreeFlann()

open3d::geometry::KDTreeFlann::~KDTreeFlann ( )

◆ KDTreeFlann() [5/5]

open3d::geometry::KDTreeFlann::KDTreeFlann ( const KDTreeFlann )
delete

Member Function Documentation

◆ operator=()

KDTreeFlann& open3d::geometry::KDTreeFlann::operator= ( const KDTreeFlann )
delete

◆ Search()

template<typename T >
int open3d::geometry::KDTreeFlann::Search ( const T &  query,
const KDTreeSearchParam param,
std::vector< int > &  indices,
std::vector< double > &  distance2 
) const

◆ SearchHybrid()

template<typename T >
int open3d::geometry::KDTreeFlann::SearchHybrid ( const T &  query,
double  radius,
int  max_nn,
std::vector< int > &  indices,
std::vector< double > &  distance2 
) const

◆ SearchKNN()

template<typename T >
int open3d::geometry::KDTreeFlann::SearchKNN ( const T &  query,
int  knn,
std::vector< int > &  indices,
std::vector< double > &  distance2 
) const

◆ SearchRadius()

template<typename T >
int open3d::geometry::KDTreeFlann::SearchRadius ( const T &  query,
double  radius,
std::vector< int > &  indices,
std::vector< double > &  distance2 
) const

◆ SetFeature()

bool open3d::geometry::KDTreeFlann::SetFeature ( const registration::Feature feature)

◆ SetGeometry()

bool open3d::geometry::KDTreeFlann::SetGeometry ( const Geometry geometry)

◆ SetMatrixData()

bool open3d::geometry::KDTreeFlann::SetMatrixData ( const Eigen::MatrixXd &  data)

Field Documentation

◆ data_

std::vector<double> open3d::geometry::KDTreeFlann::data_
protected

◆ dataset_size_

size_t open3d::geometry::KDTreeFlann::dataset_size_ = 0
protected

◆ dimension_

size_t open3d::geometry::KDTreeFlann::dimension_ = 0
protected

◆ flann_dataset_

std::unique_ptr<flann::Matrix<double> > open3d::geometry::KDTreeFlann::flann_dataset_
protected

◆ flann_index_

std::unique_ptr<flann::Index<flann::L2<double> > > open3d::geometry::KDTreeFlann::flann_index_
protected

The documentation for this class was generated from the following files: