#include <map.h>
Public Member Functions | |
Cell & | cell (const IntPoint &p) |
const Cell & | cell (const IntPoint &p) const |
Cell & | cell (const Point &p) |
const Cell & | cell (const Point &p) const |
Cell & | cell (double x, double y) |
const Cell & | cell (double x, double y) const |
Cell & | cell (int x, int y) |
const Cell & | cell (int x, int y) 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 (const IntPoint &p) const |
bool | isInside (const Point &p) const |
bool | isInside (double x, double y) const |
bool | isInside (int x, int y) const |
Map (const Point ¢er, double worldSizeX, double worldSizeY, double delta) | |
Map (const Point ¢er, double xmin, double ymin, double xmax, double ymax, double delta) | |
Map (int mapSizeX, int mapSizeY, 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 |
Map< double, DoubleArray2D, false > * GMapping::Map< Cell, Storage, isClass >::toDoubleMap |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
protected |
|
protected |