MRXT: The Multi-Robot eXploration Tool
Multi-Robot autonomous exploration and mapping simulator.
Public Member Functions | Private Attributes
vMapArray Class Reference

Implements a visual landmark 3d map using a simple array of features. More...

#include <vMapArray.h>

Inheritance diagram for vMapArray:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 vMapArray ()
 default constructor
 vMapArray (int n, const ConfigFile &config)
 constructor
 vMapArray (const vMapArray &)
 copy constructor
virtual ~vMapArray ()
 destructor
void addLandmark (const landmark &mark)
 Data functions.
void changeLandmark (int id, const landmark &mark)
 changes a landmark
void changeLastReturnedLandmark (const landmark &mark)
 changes a landmark in the kdtree
void clear ()
 clear the map
vMapArrayclone () const
 clone method
landmarkdataAssociation (const matrix &ZT, const matrix &Rt, const pos3d &globalpos, const pose &robotPos, const matrix &H, const matrix &Htrans, const float *desc)
 data association, return a NEW copy of the matched mark in the map, the returned mark must be DELETE
void drawMarks (IplImage &im, float xorigin, float yorigin, float resolution)
 draw the features in an opencv image
landmarkgetLandmarkByDesc (const float *desc)
 return return a NEW copy of the landmark with descriptor desc, the returned mark must be DELETE
landmarkgetLandmarkById (int number)
 return return a NEW copy of the landmark with id number, the returned mark must be DELETE
void initialize (int n, const ConfigFile &config)
 initializer
vMapArrayoperator= (const visualMap &)
 assignment operator
int returnLastReturnedId () const
 return the last returned id
void saveMap (const char *str)
 saves the map

Private Attributes

landmarklandmarks
int lastRetId
unsigned short nMarksReserved

Detailed Description

Implements a visual landmark 3d map using a simple array of features.

Definition at line 26 of file vMapArray.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs