#include <Beobot/Map.H>
Public Member Functions | |
Map () | |
Constructor: generate a blank map. | |
Map (std::string fileName) | |
Constructor: retrieve the map from a file. | |
virtual | ~Map () |
Destructor. | |
virtual bool | read (std::string fileName)=0 |
read a map from a file | |
virtual bool | write (std::string fileName)=0 |
write a map to a file | |
virtual Image< PixRGB< byte > > | getMapImage (uint w, uint h)=0 |
returns an image representation of the map |
Abstract base (2D) map class; see TopologicalMap for the standard implementation.
Definition at line 46 of file Map.H.
Map::Map | ( | std::string | fileName | ) |
returns an image representation of the map
Implemented in TopologicalMap.
virtual bool Map::read | ( | std::string | fileName | ) | [pure virtual] |
read a map from a file
Implemented in GridMap, and TopologicalMap.
virtual bool Map::write | ( | std::string | fileName | ) | [pure virtual] |
write a map to a file
Implemented in GridMap, and TopologicalMap.