#include <map.h>
Public Member Functions | |
| Cell & | cell (int x, int y) |
| Cell & | cell (const IntPoint &p) |
| const Cell & | cell (int x, int y) const |
| const Cell & | cell (const IntPoint &p) const |
| Cell & | cell (double x, double y) |
| Cell & | cell (const Point &p) |
| const Cell & | cell (double x, double y) const |
| const Cell & | cell (const Point &p) const |
| Point | getCenter () const |
| double | getDelta () const |
| double | getMapResolution () const |
| int | getMapSizeX () const |
| int | getMapSizeY () const |
| double | getResolution () const |
| void | getSize (double &xmin, double &ymin, double &xmax, double &ymax) const |
| double | getWorldSizeX () const |
| double | getWorldSizeY () const |
| void | grow (double xmin, double ymin, double xmax, double ymax) |
| bool | isInside (int x, int y) const |
| bool | isInside (const IntPoint &p) const |
| bool | isInside (double x, double y) const |
| bool | isInside (const Point &p) const |
| Map (int mapSizeX, int mapSizeY, double delta) | |
| Map (const Point ¢er, double worldSizeX, double worldSizeY, double delta) | |
| Map (const Point ¢er, double xmin, double ymin, double xmax, double ymax, double delta) | |
| Point | map2world (const IntPoint &p) const |
| Point | map2world (int x, int y) const |
| void | resize (double xmin, double ymin, double xmax, double ymax) |
| Storage & | storage () |
| const Storage & | storage () const |
| DoubleArray2D * | toDoubleArray () const |
| Map< double, DoubleArray2D, false > * | toDoubleMap () const |
| IntPoint | world2map (const Point &p) const |
| IntPoint | world2map (double x, double y) const |
Protected Attributes | |
| Point | m_center |
| double | m_delta |
| int | m_mapSizeX |
| int | m_mapSizeY |
| int | m_sizeX2 |
| int | m_sizeY2 |
| Storage | m_storage |
| double | m_worldSizeX |
| double | m_worldSizeY |
Static Protected Attributes | |
| static const Cell | m_unknown = Cell(-1) |
| GMapping::Map< Cell, Storage, isClass >::Map | ( | int | mapSizeX, |
| int | mapSizeY, | ||
| double | delta | ||
| ) |
| GMapping::Map< Cell, Storage, isClass >::Map | ( | const Point & | center, |
| double | worldSizeX, | ||
| double | worldSizeY, | ||
| double | delta | ||
| ) |
| GMapping::Map< Cell, Storage, isClass >::Map | ( | const Point & | center, |
| double | xmin, | ||
| double | ymin, | ||
| double | xmax, | ||
| double | ymax, | ||
| double | delta | ||
| ) |
| Cell& GMapping::Map< Cell, Storage, isClass >::cell | ( | int | x, |
| int | y | ||
| ) | [inline] |
| Cell & GMapping::Map< Cell, Storage, isClass >::cell | ( | const IntPoint & | p | ) | [inline] |
| const Cell& GMapping::Map< Cell, Storage, isClass >::cell | ( | int | x, |
| int | y | ||
| ) | const [inline] |
| const Cell & GMapping::Map< Cell, Storage, isClass >::cell | ( | const IntPoint & | p | ) | const [inline] |
| Cell& GMapping::Map< Cell, Storage, isClass >::cell | ( | double | x, |
| double | y | ||
| ) | [inline] |
| Cell & GMapping::Map< Cell, Storage, isClass >::cell | ( | const Point & | p | ) | [inline] |
| const Cell& GMapping::Map< Cell, Storage, isClass >::cell | ( | double | x, |
| double | y | ||
| ) | const [inline] |
| const Cell & GMapping::Map< Cell, Storage, isClass >::cell | ( | const Point & | p | ) | const [inline] |
| Point GMapping::Map< Cell, Storage, isClass >::getCenter | ( | ) | const [inline] |
| double GMapping::Map< Cell, Storage, isClass >::getDelta | ( | ) | const [inline] |
| double GMapping::Map< Cell, Storage, isClass >::getMapResolution | ( | ) | const [inline] |
| int GMapping::Map< Cell, Storage, isClass >::getMapSizeX | ( | ) | const [inline] |
| int GMapping::Map< Cell, Storage, isClass >::getMapSizeY | ( | ) | const [inline] |
| double GMapping::Map< Cell, Storage, isClass >::getResolution | ( | ) | const [inline] |
| void GMapping::Map< Cell, Storage, isClass >::getSize | ( | double & | xmin, |
| double & | ymin, | ||
| double & | xmax, | ||
| double & | ymax | ||
| ) | const [inline] |
| double GMapping::Map< Cell, Storage, isClass >::getWorldSizeX | ( | ) | const [inline] |
| double GMapping::Map< Cell, Storage, isClass >::getWorldSizeY | ( | ) | const [inline] |
| void GMapping::Map< Cell, Storage, isClass >::grow | ( | double | xmin, |
| double | ymin, | ||
| double | xmax, | ||
| double | ymax | ||
| ) |
| bool GMapping::Map< Cell, Storage, isClass >::isInside | ( | int | x, |
| int | y | ||
| ) | const [inline] |
| bool GMapping::Map< Cell, Storage, isClass >::isInside | ( | const IntPoint & | p | ) | const [inline] |
| bool GMapping::Map< Cell, Storage, isClass >::isInside | ( | double | x, |
| double | y | ||
| ) | const [inline] |
| bool GMapping::Map< Cell, Storage, isClass >::isInside | ( | const Point & | p | ) | const [inline] |
| Point GMapping::Map< Cell, Storage, isClass >::map2world | ( | const IntPoint & | p | ) | const [inline] |
| Point GMapping::Map< Cell, Storage, isClass >::map2world | ( | int | x, |
| int | y | ||
| ) | const [inline] |
| void GMapping::Map< Cell, Storage, isClass >::resize | ( | double | xmin, |
| double | ymin, | ||
| double | xmax, | ||
| double | ymax | ||
| ) |
| Storage& GMapping::Map< Cell, Storage, isClass >::storage | ( | ) | [inline] |
| const Storage& GMapping::Map< Cell, Storage, isClass >::storage | ( | ) | const [inline] |
| DoubleArray2D * GMapping::Map< Cell, Storage, isClass >::toDoubleArray | ( | ) | const |
| Map< double, DoubleArray2D, false > * GMapping::Map< Cell, Storage, isClass >::toDoubleMap | ( | ) | const |
| IntPoint GMapping::Map< Cell, Storage, isClass >::world2map | ( | const Point & | p | ) | const [inline] |
| IntPoint GMapping::Map< Cell, Storage, isClass >::world2map | ( | double | x, |
| double | y | ||
| ) | const [inline] |
Point GMapping::Map< Cell, Storage, isClass >::m_center [protected] |
double GMapping::Map< Cell, Storage, isClass >::m_delta [protected] |
int GMapping::Map< Cell, Storage, isClass >::m_mapSizeX [protected] |
int GMapping::Map< Cell, Storage, isClass >::m_mapSizeY [protected] |
int GMapping::Map< Cell, Storage, isClass >::m_sizeX2 [protected] |
int GMapping::Map< Cell, Storage, isClass >::m_sizeY2 [protected] |
Storage GMapping::Map< Cell, Storage, isClass >::m_storage [protected] |
const Cell GMapping::Map< Cell, Storage, isClass >::m_unknown = Cell(-1) [static, protected] |
double GMapping::Map< Cell, Storage, isClass >::m_worldSizeX [protected] |
double GMapping::Map< Cell, Storage, isClass >::m_worldSizeY [protected] |