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
 
unsigned long getMemoryUsed () 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

◆ VisualWord()

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

Definition at line 35 of file VisualWord.cpp.

◆ ~VisualWord()

rtabmap::VisualWord::~VisualWord ( )

Definition at line 47 of file VisualWord.cpp.

Member Function Documentation

◆ addRef()

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

Definition at line 51 of file VisualWord.cpp.

◆ getDescriptor()

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

Definition at line 50 of file VisualWord.h.

◆ getMemoryUsed()

unsigned long rtabmap::VisualWord::getMemoryUsed ( ) const

Definition at line 72 of file VisualWord.cpp.

◆ getReferences()

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

Definition at line 51 of file VisualWord.h.

◆ getTotalReferences()

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

Definition at line 48 of file VisualWord.h.

◆ id()

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

Definition at line 49 of file VisualWord.h.

◆ isSaved()

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

Definition at line 53 of file VisualWord.h.

◆ removeAllRef()

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

Definition at line 65 of file VisualWord.cpp.

◆ setSaved()

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

Definition at line 54 of file VisualWord.h.

Member Data Documentation

◆ _descriptor

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

Definition at line 58 of file VisualWord.h.

◆ _id

int rtabmap::VisualWord::_id
private

Definition at line 57 of file VisualWord.h.

◆ _oldReferences

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

Definition at line 63 of file VisualWord.h.

◆ _references

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

Definition at line 62 of file VisualWord.h.

◆ _saved

bool rtabmap::VisualWord::_saved
private

Definition at line 59 of file VisualWord.h.

◆ _totalReferences

int rtabmap::VisualWord::_totalReferences
private

Definition at line 61 of file VisualWord.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:39:00