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 &center, double xmin, double ymin, double xmax, double ymax, double delta)
 Map (const Point &center, 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 ()
DoubleArray2DtoDoubleArray () 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]

Definition at line 101 of file map.h.

template<class Cell , class Storage , const bool isClass>
GMapping::Map< Cell, Storage, isClass >::Map ( const Point center,
double  worldSizeX,
double  worldSizeY,
double  delta 
) [inline]

Definition at line 112 of file map.h.

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]

Definition at line 125 of file map.h.


Member Function Documentation

template<class Cell , class Storage , const bool isClass>
const Cell & GMapping::Map< Cell, Storage, isClass >::cell ( const Point p  )  const [inline]

Definition at line 224 of file map.h.

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>
Cell & GMapping::Map< Cell, Storage, isClass >::cell ( const Point p  )  [inline]

Definition at line 203 of file map.h.

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>
const Cell & GMapping::Map< Cell, Storage, isClass >::cell ( const IntPoint p  )  const [inline]

Definition at line 215 of file map.h.

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>
Cell & GMapping::Map< Cell, Storage, isClass >::cell ( const IntPoint p  )  [inline]

Definition at line 191 of file map.h.

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>
Point GMapping::Map< Cell, Storage, isClass >::getCenter (  )  const [inline]

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]

Definition at line 156 of file map.h.

template<class Cell, class Storage, const bool isClass = true>
bool GMapping::Map< Cell, Storage, isClass >::isInside ( const Point p  )  const [inline]

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>
bool GMapping::Map< Cell, Storage, isClass >::isInside ( const IntPoint p  )  const [inline]

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>
Point GMapping::Map< Cell, Storage, isClass >::map2world ( int  x,
int  y 
) const [inline]

Definition at line 30 of file map.h.

template<class Cell , class Storage , const bool isClass>
Point GMapping::Map< Cell, Storage, isClass >::map2world ( const IntPoint p  )  const [inline]

Definition at line 184 of file map.h.

template<class Cell , class Storage , const bool isClass>
void GMapping::Map< Cell, Storage, isClass >::resize ( double  xmin,
double  ymin,
double  xmax,
double  ymax 
) [inline]

Definition at line 138 of file map.h.

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>
DoubleArray2D * GMapping::Map< Cell, Storage, isClass >::toDoubleArray (  )  const [inline]

Definition at line 236 of file map.h.

template<class Cell , class Storage , const bool isClass>
Map< double, DoubleArray2D, false > * GMapping::Map< Cell, Storage, isClass >::toDoubleMap (  )  const [inline]

Definition at line 248 of file map.h.

template<class Cell, class Storage, const bool isClass = true>
IntPoint GMapping::Map< Cell, Storage, isClass >::world2map ( double  x,
double  y 
) const [inline]

Definition at line 28 of file map.h.

template<class Cell , class Storage , const bool isClass>
IntPoint GMapping::Map< Cell, Storage, isClass >::world2map ( const Point p  )  const [inline]

Definition at line 179 of file map.h.


Member Data Documentation

template<class Cell, class Storage, const bool isClass = true>
Point GMapping::Map< Cell, Storage, isClass >::m_center [protected]

Definition at line 87 of file map.h.

template<class Cell, class Storage, const bool isClass = true>
double GMapping::Map< Cell, Storage, isClass >::m_delta [protected]

Definition at line 88 of file map.h.

template<class Cell, class Storage, const bool isClass = true>
int GMapping::Map< Cell, Storage, isClass >::m_mapSizeX [protected]

Definition at line 90 of file map.h.

template<class Cell, class Storage, const bool isClass = true>
int GMapping::Map< Cell, Storage, isClass >::m_mapSizeY [protected]

Definition at line 90 of file map.h.

template<class Cell, class Storage, const bool isClass = true>
int GMapping::Map< Cell, Storage, isClass >::m_sizeX2 [protected]

Definition at line 91 of file map.h.

template<class Cell, class Storage, const bool isClass = true>
int GMapping::Map< Cell, Storage, isClass >::m_sizeY2 [protected]

Definition at line 91 of file map.h.

template<class Cell, class Storage, const bool isClass = true>
Storage GMapping::Map< Cell, Storage, isClass >::m_storage [protected]

Definition at line 89 of file map.h.

template<class Cell, class Storage, const bool isClass = true>
const Cell GMapping::Map< Cell, Storage, isClass >::m_unknown = Cell(-1) [inline, static, protected]

Definition at line 92 of file map.h.

template<class Cell, class Storage, const bool isClass = true>
double GMapping::Map< Cell, Storage, isClass >::m_worldSizeX [protected]

Definition at line 88 of file map.h.

template<class Cell, class Storage, const bool isClass = true>
double GMapping::Map< Cell, Storage, isClass >::m_worldSizeY [protected]

Definition at line 88 of file map.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


gmapping
Author(s): Giorgio Grisetti, Cyrill Stachniss, Wolfram Burgard; ROS wrapper by Brian Gerkey
autogenerated on Fri Jan 11 09:32:13 2013