Creates a FLANN KdTreeSingleIndex from the given input data. More...
#include <flann_search.h>
Public Member Functions | |
virtual IndexPtr | createIndex (MatrixConstPtr data) |
Create a FLANN Index from the input data. | |
KdTreeIndexCreator (unsigned int max_leaf_size=15) | |
virtual | ~KdTreeIndexCreator () |
Empty destructor. | |
Private Attributes | |
unsigned int | max_leaf_size_ |
Creates a FLANN KdTreeSingleIndex from the given input data.
Definition at line 113 of file flann_search.h.
pcl::search::FlannSearch< PointT, FlannDistance >::KdTreeIndexCreator::KdTreeIndexCreator | ( | unsigned int | max_leaf_size = 15 | ) | [inline] |
[in] | max_leaf_size | 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 120 of file flann_search.h.
virtual pcl::search::FlannSearch< PointT, FlannDistance >::KdTreeIndexCreator::~KdTreeIndexCreator | ( | ) | [inline, virtual] |
Empty destructor.
Definition at line 123 of file flann_search.h.
pcl::search::FlannSearch< PointT, FlannDistance >::IndexPtr pcl::search::FlannSearch< PointT, FlannDistance >::KdTreeIndexCreator::createIndex | ( | MatrixConstPtr | data | ) | [virtual] |
Create a FLANN Index from the input data.
[in] | data | The FLANN matrix containing the input. |
Implements pcl::search::FlannSearch< PointT, FlannDistance >::FlannIndexCreator.
Definition at line 49 of file flann_search.hpp.
unsigned int pcl::search::FlannSearch< PointT, FlannDistance >::KdTreeIndexCreator::max_leaf_size_ [private] |
Definition at line 131 of file flann_search.h.