Public Member Functions | Private Attributes | List of all members
rtabmap::VisualWord Class Reference

#include <VisualWord.h>

Public Member Functions

void addRef (int signatureId)
 
const cv::Mat & getDescriptor () const
 
const std::map< int, int > & getReferences () const
 
int getTotalReferences () const
 
int id () const
 
bool isSaved () const
 
int removeAllRef (int signatureId)
 
void setSaved (bool saved)
 
 VisualWord (int id, const cv::Mat &descriptor, int signatureId=0)
 
 ~VisualWord ()
 

Private Attributes

cv::Mat _descriptor
 
int _id
 
std::map< int, int > _oldReferences
 
std::map< int, int > _references
 
bool _saved
 
int _totalReferences
 

Detailed Description

Definition at line 38 of file VisualWord.h.

Constructor & Destructor Documentation

rtabmap::VisualWord::VisualWord ( int  id,
const cv::Mat &  descriptor,
int  signatureId = 0 
)

Definition at line 35 of file VisualWord.cpp.

rtabmap::VisualWord::~VisualWord ( )

Definition at line 47 of file VisualWord.cpp.

Member Function Documentation

void rtabmap::VisualWord::addRef ( int  signatureId)

Definition at line 51 of file VisualWord.cpp.

const cv::Mat& rtabmap::VisualWord::getDescriptor ( ) const
inline

Definition at line 49 of file VisualWord.h.

const std::map<int, int>& rtabmap::VisualWord::getReferences ( ) const
inline

Definition at line 50 of file VisualWord.h.

int rtabmap::VisualWord::getTotalReferences ( ) const
inline

Definition at line 47 of file VisualWord.h.

int rtabmap::VisualWord::id ( ) const
inline

Definition at line 48 of file VisualWord.h.

bool rtabmap::VisualWord::isSaved ( ) const
inline

Definition at line 52 of file VisualWord.h.

int rtabmap::VisualWord::removeAllRef ( int  signatureId)

Definition at line 65 of file VisualWord.cpp.

void rtabmap::VisualWord::setSaved ( bool  saved)
inline

Definition at line 53 of file VisualWord.h.

Member Data Documentation

cv::Mat rtabmap::VisualWord::_descriptor
private

Definition at line 57 of file VisualWord.h.

int rtabmap::VisualWord::_id
private

Definition at line 56 of file VisualWord.h.

std::map<int, int> rtabmap::VisualWord::_oldReferences
private

Definition at line 62 of file VisualWord.h.

std::map<int, int> rtabmap::VisualWord::_references
private

Definition at line 61 of file VisualWord.h.

bool rtabmap::VisualWord::_saved
private

Definition at line 58 of file VisualWord.h.

int rtabmap::VisualWord::_totalReferences
private

Definition at line 60 of file VisualWord.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Wed Jun 5 2019 22:43:43