GSLAM  3.0.0
Public Member Functions | Protected Attributes | List of all members
Map Class Reference
Inheritance diagram for Map:
GObject HashMap

Public Member Functions

virtual std::string type () const
 
virtual bool insertMapPoint (const PointPtr &point)
 MapFrame & MapPoint interface.
 
virtual bool insertMapFrame (const FramePtr &frame)
 
virtual bool eraseMapPoint (const PointID &pointId)
 
virtual bool eraseMapFrame (const FrameID &frameId)
 
virtual void clear ()
 
virtual std::size_t frameNum () const
 
virtual std::size_t pointNum () const
 
virtual FramePtr getFrame (const FrameID &id) const
 
virtual PointPtr getPoint (const PointID &id) const
 
virtual bool getFrames (FrameArray &frames) const
 
virtual bool getPoints (PointArray &points) const
 
virtual FrameArray getFrames () const
 
virtual PointArray getPoints () const
 
virtual bool setLoopDetector (const LoopDetectorPtr &loopdetector)
 
virtual LoopDetectorPtr getLoopDetector () const
 
virtual bool obtainCandidates (const FramePtr &frame, LoopCandidates &candidates)
 
virtual LoopCandidates obtainCandidates (const FramePtr &frame)
 
virtual bool save (std::string path) const
 Save or load the map from/to the file.
 
virtual bool load (std::string path)
 
PointID getPid ()
 0 is reserved for INVALID
 
FrameID getFid ()
 
- Public Member Functions inherited from GObject
virtual void call (const std::string &command, void *arg=NULL)
 
virtual void draw ()
 
virtual bool toByteArray (std::vector< uchar > &array)
 
virtual bool fromByteArray (std::vector< uchar > &array)
 

Protected Attributes

PointID _ptId
 
FrameID _frId