OpenCV  3.3.0-dev
Open Source Computer Vision
Public Member Functions | Protected Attributes | List of all members
ORB_SLAM2::KeyFrameDatabase Class Reference

#include "KeyFrameDatabase.h"

Public Member Functions

 KeyFrameDatabase (const ORBVocabulary &voc)
 
void add (KeyFrame *pKF)
 
void clear ()
 
std::vector< KeyFrame * > DetectLoopCandidates (KeyFrame *pKF, float minScore)
 
std::vector< KeyFrame * > DetectRelocalizationCandidates (Frame *F)
 
void erase (KeyFrame *pKF)
 

Protected Attributes

std::mutex mMutex
 
const ORBVocabularympVoc
 
std::vector< list< KeyFrame * > > mvInvertedFile
 

Constructor & Destructor Documentation

◆ KeyFrameDatabase()

ORB_SLAM2::KeyFrameDatabase::KeyFrameDatabase ( const ORBVocabulary voc)

Member Function Documentation

◆ add()

void ORB_SLAM2::KeyFrameDatabase::add ( KeyFrame pKF)

◆ clear()

void ORB_SLAM2::KeyFrameDatabase::clear ( )

◆ DetectLoopCandidates()

std::vector<KeyFrame *> ORB_SLAM2::KeyFrameDatabase::DetectLoopCandidates ( KeyFrame pKF,
float  minScore 
)

◆ DetectRelocalizationCandidates()

std::vector<KeyFrame*> ORB_SLAM2::KeyFrameDatabase::DetectRelocalizationCandidates ( Frame F)

◆ erase()

void ORB_SLAM2::KeyFrameDatabase::erase ( KeyFrame pKF)

Member Data Documentation

◆ mMutex

std::mutex ORB_SLAM2::KeyFrameDatabase::mMutex
protected

◆ mpVoc

const ORBVocabulary* ORB_SLAM2::KeyFrameDatabase::mpVoc
protected

◆ mvInvertedFile

std::vector<list<KeyFrame*> > ORB_SLAM2::KeyFrameDatabase::mvInvertedFile
protected

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