Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Member Functions
pcl::search::FlannSearch< PointT, FlannDistance >::KMeansIndexCreator Class Reference

Creates a FLANN KdTreeSingleIndex from the given input data. More...

#include <pcl/search/flann_search.h>

+ Inheritance diagram for pcl::search::FlannSearch< PointT, FlannDistance >::KMeansIndexCreator:

Public Member Functions

 KMeansIndexCreator ()
 All FLANN kd trees created by this class will have a maximum of max_leaf_size points per leaf node. More...
 
virtual ~KMeansIndexCreator ()
 Empty destructor. More...
 
virtual IndexPtr createIndex (MatrixConstPtr data)
 Create a FLANN Index from the input data. More...
 
- Public Member Functions inherited from pcl::search::FlannSearch< PointT, FlannDistance >::FlannIndexCreator
virtual ~FlannIndexCreator ()
 destructor More...
 

Detailed Description

template<typename PointT, typename FlannDistance = flann::L2_Simple <float>>
class pcl::search::FlannSearch< PointT, FlannDistance >::KMeansIndexCreator

Creates a FLANN KdTreeSingleIndex from the given input data.

Definition at line 171 of file flann_search.h.

Constructor & Destructor Documentation

template<typename PointT, typename FlannDistance = flann::L2_Simple <float>>
pcl::search::FlannSearch< PointT, FlannDistance >::KMeansIndexCreator::KMeansIndexCreator ( )
inline

All FLANN kd trees created by this class will have a maximum of max_leaf_size points per leaf node.

Higher values make index creation cheaper, but search more costly (and the other way around).

Definition at line 178 of file flann_search.h.

template<typename PointT, typename FlannDistance = flann::L2_Simple <float>>
virtual pcl::search::FlannSearch< PointT, FlannDistance >::KMeansIndexCreator::~KMeansIndexCreator ( )
inlinevirtual

Empty destructor.

Definition at line 181 of file flann_search.h.

Member Function Documentation

template<typename PointT , typename FlannDistance >
pcl::search::FlannSearch< PointT, FlannDistance >::IndexPtr pcl::search::FlannSearch< PointT, FlannDistance >::KMeansIndexCreator::createIndex ( MatrixConstPtr  data)
virtual

Create a FLANN Index from the input data.

Parameters
[in]dataThe FLANN matrix containing the input.
Returns
The FLANN index.

Implements pcl::search::FlannSearch< PointT, FlannDistance >::FlannIndexCreator.

Definition at line 57 of file flann_search.hpp.


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