SaDVIO
Public Member Functions | List of all members
isae::GlobalMap Class Reference

Class for a Global Map. More...

#include <globalmap.h>

Inheritance diagram for isae::GlobalMap:
Inheritance graph
[legend]
Collaboration diagram for isae::GlobalMap:
Collaboration graph
[legend]

Public Member Functions

 GlobalMap ()=default
 
void addFrame (std::shared_ptr< Frame > &frame) override
 Add a frame to the global map. More...
 
- Public Member Functions inherited from isae::AMap
 AMap ()=default
 
virtual void addFrame (std::shared_ptr< isae::Frame > &frame)=0
 Add a frame to the map. More...
 
std::deque< std::shared_ptr< Frame > > & getFrames ()
 
std::shared_ptr< isae::FramegetLastFrame ()
 Get the last frame added to the map. More...
 
void getLastNFramesIn (size_t N, std::vector< std::shared_ptr< isae::Frame >> &dest)
 Provides the last N frames added to the map. More...
 
typed_vec_landmarksgetLandmarks ()
 
size_t getMapSize ()
 
void pushLandmarks (std::shared_ptr< isae::Frame > &frame)
 Add all the landmarks of a frame to the map. More...
 

Additional Inherited Members

- Protected Attributes inherited from isae::AMap
std::deque< std::shared_ptr< Frame > > _frames
 A deque of frames in the map, ordered by time. More...
 
typed_vec_landmarks _landmarks
 All types of landmark in the map stored as std vectors. More...
 

Detailed Description

Class for a Global Map.

This is a simple map with no particular strategy

Constructor & Destructor Documentation

◆ GlobalMap()

isae::GlobalMap::GlobalMap ( )
default

Member Function Documentation

◆ addFrame()

void isae::GlobalMap::addFrame ( std::shared_ptr< Frame > &  frame)
override

Add a frame to the global map.

This method adds a frame to the global map and also pushes its landmarks into the map. It is a simple implementation that does not enforce any sliding window or other constraints.


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