Public Member Functions | Private Attributes
rtabmap::FlannIndex Class Reference

List of all members.

Public Member Functions

unsigned int addPoint (const cv::Mat &feature)
void build (const cv::Mat &features, const rtflann::IndexParams &params, bool useDistanceL1)
int featuresDim () const
int featuresType () const
 FlannIndex ()
unsigned int indexedFeatures () const
bool isBuilt ()
void knnSearch (const cv::Mat &query, cv::Mat &indices, cv::Mat &dists, int knn, const rtflann::SearchParams &params=rtflann::SearchParams())
unsigned int memoryUsed () const
void release ()
void removePoint (unsigned int index)
virtual ~FlannIndex ()

Private Attributes

std::map< int, cv::Mat > addedDescriptors_
int featuresDim_
int featuresType_
void * index_
bool isLSH_
unsigned int nextIndex_
std::list< int > removedIndexes_
bool useDistanceL1_

Detailed Description

Definition at line 56 of file VWDictionary.cpp.


Constructor & Destructor Documentation

Definition at line 59 of file VWDictionary.cpp.

virtual rtabmap::FlannIndex::~FlannIndex ( ) [inline, virtual]

Definition at line 68 of file VWDictionary.cpp.


Member Function Documentation

unsigned int rtabmap::FlannIndex::addPoint ( const cv::Mat &  feature) [inline]

Definition at line 199 of file VWDictionary.cpp.

void rtabmap::FlannIndex::build ( const cv::Mat &  features,
const rtflann::IndexParams params,
bool  useDistanceL1 
) [inline]

Definition at line 148 of file VWDictionary.cpp.

int rtabmap::FlannIndex::featuresDim ( ) const [inline]

Definition at line 197 of file VWDictionary.cpp.

int rtabmap::FlannIndex::featuresType ( ) const [inline]

Definition at line 196 of file VWDictionary.cpp.

unsigned int rtabmap::FlannIndex::indexedFeatures ( ) const [inline]

Definition at line 100 of file VWDictionary.cpp.

bool rtabmap::FlannIndex::isBuilt ( ) [inline]

Definition at line 191 of file VWDictionary.cpp.

void rtabmap::FlannIndex::knnSearch ( const cv::Mat &  query,
cv::Mat &  indices,
cv::Mat &  dists,
int  knn,
const rtflann::SearchParams params = rtflann::SearchParams() 
) [inline]

Definition at line 297 of file VWDictionary.cpp.

unsigned int rtabmap::FlannIndex::memoryUsed ( ) const [inline]

Definition at line 124 of file VWDictionary.cpp.

void rtabmap::FlannIndex::release ( ) [inline]

Definition at line 73 of file VWDictionary.cpp.

void rtabmap::FlannIndex::removePoint ( unsigned int  index) [inline]

Definition at line 268 of file VWDictionary.cpp.


Member Data Documentation

std::map<int, cv::Mat> rtabmap::FlannIndex::addedDescriptors_ [private]

Definition at line 345 of file VWDictionary.cpp.

Definition at line 339 of file VWDictionary.cpp.

Definition at line 338 of file VWDictionary.cpp.

void* rtabmap::FlannIndex::index_ [private]

Definition at line 336 of file VWDictionary.cpp.

Definition at line 340 of file VWDictionary.cpp.

unsigned int rtabmap::FlannIndex::nextIndex_ [private]

Definition at line 337 of file VWDictionary.cpp.

std::list<int> rtabmap::FlannIndex::removedIndexes_ [private]

Definition at line 346 of file VWDictionary.cpp.

Definition at line 341 of file VWDictionary.cpp.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Sat Jul 23 2016 11:44:32