Helper class that creates a FLANN index from a given FLANN matrix. To use a FLANN index type with FlannSearch, implement this interface and pass an object of the new type to the FlannSearch constructor. See the implementation of KdTreeIndexCreator for an example. More...
#include <flann_search.h>
Public Member Functions | |
virtual IndexPtr | createIndex (MatrixConstPtr data)=0 |
Create a FLANN Index from the input data. | |
virtual | ~FlannIndexCreator () |
destructor |
Helper class that creates a FLANN index from a given FLANN matrix. To use a FLANN index type with FlannSearch, implement this interface and pass an object of the new type to the FlannSearch constructor. See the implementation of KdTreeIndexCreator for an example.
Definition at line 96 of file flann_search.h.
virtual pcl::search::FlannSearch< PointT, FlannDistance >::FlannIndexCreator::~FlannIndexCreator | ( | ) | [inline, virtual] |
destructor
Definition at line 107 of file flann_search.h.
virtual IndexPtr pcl::search::FlannSearch< PointT, FlannDistance >::FlannIndexCreator::createIndex | ( | MatrixConstPtr | data | ) | [pure virtual] |
Create a FLANN Index from the input data.
[in] | data | The FLANN matrix containing the input. |
Implemented in pcl::search::FlannSearch< PointT, FlannDistance >::KMeansIndexCreator, and pcl::search::FlannSearch< PointT, FlannDistance >::KdTreeIndexCreator.