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

#include "Map.h"

Public Member Functions

 Map ()
 
void AddKeyFrame (KeyFrame *pKF)
 
void AddMapPoint (MapPoint *pMP)
 
void clear ()
 
void EraseKeyFrame (KeyFrame *pKF)
 
void EraseMapPoint (MapPoint *pMP)
 
std::vector< KeyFrame * > GetAllKeyFrames ()
 
std::vector< MapPoint * > GetAllMapPoints ()
 
int GetLastBigChangeIdx ()
 
long unsigned int GetMaxKFid ()
 
std::vector< MapPoint * > GetReferenceMapPoints ()
 
void InformNewBigChange ()
 
long unsigned KeyFramesInMap ()
 
long unsigned int MapPointsInMap ()
 
void SetReferenceMapPoints (const std::vector< MapPoint *> &vpMPs)
 

Public Attributes

std::mutex mMutexMapUpdate
 
std::mutex mMutexPointCreation
 
vector< KeyFrame * > mvpKeyFrameOrigins
 

Protected Attributes

std::mutex mMutexMap
 
int mnBigChangeIdx
 
long unsigned int mnMaxKFid
 
std::set< KeyFrame * > mspKeyFrames
 
std::set< MapPoint * > mspMapPoints
 
std::vector< MapPoint * > mvpReferenceMapPoints
 

Constructor & Destructor Documentation

◆ Map()

ORB_SLAM2::Map::Map ( )

Member Function Documentation

◆ AddKeyFrame()

void ORB_SLAM2::Map::AddKeyFrame ( KeyFrame pKF)

◆ AddMapPoint()

void ORB_SLAM2::Map::AddMapPoint ( MapPoint pMP)

◆ clear()

void ORB_SLAM2::Map::clear ( )

◆ EraseKeyFrame()

void ORB_SLAM2::Map::EraseKeyFrame ( KeyFrame pKF)

◆ EraseMapPoint()

void ORB_SLAM2::Map::EraseMapPoint ( MapPoint pMP)

◆ GetAllKeyFrames()

std::vector<KeyFrame*> ORB_SLAM2::Map::GetAllKeyFrames ( )

◆ GetAllMapPoints()

std::vector<MapPoint*> ORB_SLAM2::Map::GetAllMapPoints ( )

◆ GetLastBigChangeIdx()

int ORB_SLAM2::Map::GetLastBigChangeIdx ( )

◆ GetMaxKFid()

long unsigned int ORB_SLAM2::Map::GetMaxKFid ( )

◆ GetReferenceMapPoints()

std::vector<MapPoint*> ORB_SLAM2::Map::GetReferenceMapPoints ( )

◆ InformNewBigChange()

void ORB_SLAM2::Map::InformNewBigChange ( )

◆ KeyFramesInMap()

long unsigned ORB_SLAM2::Map::KeyFramesInMap ( )

◆ MapPointsInMap()

long unsigned int ORB_SLAM2::Map::MapPointsInMap ( )

◆ SetReferenceMapPoints()

void ORB_SLAM2::Map::SetReferenceMapPoints ( const std::vector< MapPoint *> &  vpMPs)

Member Data Documentation

◆ mMutexMap

std::mutex ORB_SLAM2::Map::mMutexMap
protected

◆ mMutexMapUpdate

std::mutex ORB_SLAM2::Map::mMutexMapUpdate

◆ mMutexPointCreation

std::mutex ORB_SLAM2::Map::mMutexPointCreation

◆ mnBigChangeIdx

int ORB_SLAM2::Map::mnBigChangeIdx
protected

◆ mnMaxKFid

long unsigned int ORB_SLAM2::Map::mnMaxKFid
protected

◆ mspKeyFrames

std::set<KeyFrame*> ORB_SLAM2::Map::mspKeyFrames
protected

◆ mspMapPoints

std::set<MapPoint*> ORB_SLAM2::Map::mspMapPoints
protected

◆ mvpKeyFrameOrigins

vector<KeyFrame*> ORB_SLAM2::Map::mvpKeyFrameOrigins

◆ mvpReferenceMapPoints

std::vector<MapPoint*> ORB_SLAM2::Map::mvpReferenceMapPoints
protected

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