#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 | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void GMapping::Map< Cell, Storage, isClass >::grow | ( | double | xmin, |
double | ymin, | ||
double | xmax, | ||
double | ymax | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void GMapping::Map< Cell, Storage, isClass >::resize | ( | double | xmin, |
double | ymin, | ||
double | xmax, | ||
double | ymax | ||
) |
|
inline |
|
inline |
DoubleArray2D * GMapping::Map< Cell, Storage, isClass >::toDoubleArray | ( | ) | const |
Map< double, DoubleArray2D, false > * GMapping::Map< Cell, Storage, isClass >::toDoubleMap | ( | ) | const |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |