GMapping::Map< Cell, Storage, isClass > Class Template Reference
#include <map.h>
List of all members.
Public Member Functions |
const Cell & | cell (const Point &p) const |
const Cell & | cell (double x, double y) const |
Cell & | cell (const Point &p) |
Cell & | cell (double x, double y) |
const Cell & | cell (const IntPoint &p) const |
const Cell & | cell (int x, int y) const |
Cell & | cell (const IntPoint &p) |
Cell & | cell (int x, int y) |
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 Point &p) const |
bool | isInside (double x, double y) const |
bool | isInside (const IntPoint &p) const |
bool | isInside (int x, int y) const |
| Map (const Point ¢er, double xmin, double ymin, double xmax, double ymax, double delta) |
| Map (const Point ¢er, double worldSizeX, double worldSizeY, double delta) |
| Map (int mapSizeX, int mapSizeY, double delta) |
Point | map2world (int x, int y) const |
Point | map2world (const IntPoint &p) const |
void | resize (double xmin, double ymin, double xmax, double ymax) |
const Storage & | storage () const |
Storage & | storage () |
DoubleArray2D * | toDoubleArray () const |
Map< double, DoubleArray2D,
false > * | toDoubleMap () const |
IntPoint | world2map (double x, double y) const |
IntPoint | world2map (const Point &p) 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) |
Detailed Description
template<class Cell, class Storage, const bool isClass = true>
class GMapping::Map< Cell, Storage, isClass >
Definition at line 16 of file map.h.
Constructor & Destructor Documentation
template<class Cell , class Storage , const bool isClass>
GMapping::Map< Cell, Storage, isClass >::Map |
( |
int |
mapSizeX, |
|
|
int |
mapSizeY, |
|
|
double |
delta | |
|
) |
| | [inline] |
template<class Cell , class Storage , const bool isClass>
GMapping::Map< Cell, Storage, isClass >::Map |
( |
const Point & |
center, |
|
|
double |
worldSizeX, |
|
|
double |
worldSizeY, |
|
|
double |
delta | |
|
) |
| | [inline] |
template<class Cell , class Storage , const bool isClass>
GMapping::Map< Cell, Storage, isClass >::Map |
( |
const Point & |
center, |
|
|
double |
xmin, |
|
|
double |
ymin, |
|
|
double |
xmax, |
|
|
double |
ymax, |
|
|
double |
delta | |
|
) |
| | [inline] |
Member Function Documentation
template<class Cell , class Storage , const bool isClass>
const Cell & GMapping::Map< Cell, Storage, isClass >::cell |
( |
const Point & |
p |
) |
const [inline] |
template<class Cell, class Storage, const bool isClass = true>
const Cell& GMapping::Map< Cell, Storage, isClass >::cell |
( |
double |
x, |
|
|
double |
y | |
|
) |
| | const [inline] |
Definition at line 61 of file map.h.
template<class Cell , class Storage , const bool isClass>
template<class Cell, class Storage, const bool isClass = true>
Cell& GMapping::Map< Cell, Storage, isClass >::cell |
( |
double |
x, |
|
|
double |
y | |
|
) |
| | [inline] |
Definition at line 56 of file map.h.
template<class Cell , class Storage , const bool isClass>
template<class Cell, class Storage, const bool isClass = true>
const Cell& GMapping::Map< Cell, Storage, isClass >::cell |
( |
int |
x, |
|
|
int |
y | |
|
) |
| | const [inline] |
Definition at line 51 of file map.h.
template<class Cell , class Storage , const bool isClass>
template<class Cell, class Storage, const bool isClass = true>
Cell& GMapping::Map< Cell, Storage, isClass >::cell |
( |
int |
x, |
|
|
int |
y | |
|
) |
| | [inline] |
Definition at line 46 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
Definition at line 33 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
double GMapping::Map< Cell, Storage, isClass >::getDelta |
( |
|
) |
const [inline] |
Definition at line 38 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
double GMapping::Map< Cell, Storage, isClass >::getMapResolution |
( |
|
) |
const [inline] |
Definition at line 39 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
int GMapping::Map< Cell, Storage, isClass >::getMapSizeX |
( |
|
) |
const [inline] |
Definition at line 36 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
int GMapping::Map< Cell, Storage, isClass >::getMapSizeY |
( |
|
) |
const [inline] |
Definition at line 37 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
double GMapping::Map< Cell, Storage, isClass >::getResolution |
( |
|
) |
const [inline] |
Definition at line 40 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
void GMapping::Map< Cell, Storage, isClass >::getSize |
( |
double & |
xmin, |
|
|
double & |
ymin, |
|
|
double & |
xmax, |
|
|
double & |
ymax | |
|
) |
| | const [inline] |
Definition at line 41 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
double GMapping::Map< Cell, Storage, isClass >::getWorldSizeX |
( |
|
) |
const [inline] |
Definition at line 34 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
double GMapping::Map< Cell, Storage, isClass >::getWorldSizeY |
( |
|
) |
const [inline] |
Definition at line 35 of file map.h.
template<class Cell , class Storage , const bool isClass>
void GMapping::Map< Cell, Storage, isClass >::grow |
( |
double |
xmin, |
|
|
double |
ymin, |
|
|
double |
xmax, |
|
|
double |
ymax | |
|
) |
| | [inline] |
template<class Cell, class Storage, const bool isClass = true>
Definition at line 75 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
bool GMapping::Map< Cell, Storage, isClass >::isInside |
( |
double |
x, |
|
|
double |
y | |
|
) |
| | const [inline] |
Definition at line 72 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
Definition at line 68 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
bool GMapping::Map< Cell, Storage, isClass >::isInside |
( |
int |
x, |
|
|
int |
y | |
|
) |
| | const [inline] |
Definition at line 65 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
Definition at line 30 of file map.h.
template<class Cell , class Storage , const bool isClass>
template<class Cell , class Storage , const bool isClass>
void GMapping::Map< Cell, Storage, isClass >::resize |
( |
double |
xmin, |
|
|
double |
ymin, |
|
|
double |
xmax, |
|
|
double |
ymax | |
|
) |
| | [inline] |
template<class Cell, class Storage, const bool isClass = true>
const Storage& GMapping::Map< Cell, Storage, isClass >::storage |
( |
|
) |
const [inline] |
Definition at line 82 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
Storage& GMapping::Map< Cell, Storage, isClass >::storage |
( |
|
) |
[inline] |
Definition at line 81 of file map.h.
template<class Cell , class Storage , const bool isClass>
template<class Cell , class Storage , const bool isClass>
template<class Cell, class Storage, const bool isClass = true>
Definition at line 28 of file map.h.
template<class Cell , class Storage , const bool isClass>
Member Data Documentation
template<class Cell, class Storage, const bool isClass = true>
Definition at line 87 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
Definition at line 88 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
Definition at line 90 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
Definition at line 90 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
Definition at line 91 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
Definition at line 91 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
Definition at line 89 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
Definition at line 92 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
Definition at line 88 of file map.h.
template<class Cell, class Storage, const bool isClass = true>
Definition at line 88 of file map.h.
The documentation for this class was generated from the following file: