Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
GMapping::Map< Cell, Storage, isClass > Class Template Reference

#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 &center, double worldSizeX, double worldSizeY, double delta)
 
 Map (const Point &center, 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
 
DoubleArray2DtoDoubleArray () 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)
 

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

◆ Map() [1/3]

template<class Cell , class Storage , const bool isClass>
GMapping::Map< Cell, Storage, isClass >::Map ( int  mapSizeX,
int  mapSizeY,
double  delta 
)

Definition at line 101 of file map.h.

◆ Map() [2/3]

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

Definition at line 112 of file map.h.

◆ Map() [3/3]

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 
)

Definition at line 125 of file map.h.

Member Function Documentation

◆ cell() [1/8]

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.

◆ cell() [2/8]

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.

◆ cell() [3/8]

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.

◆ cell() [4/8]

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.

◆ cell() [5/8]

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.

◆ cell() [6/8]

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.

◆ cell() [7/8]

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.

◆ cell() [8/8]

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.

◆ getCenter()

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.

◆ getDelta()

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.

◆ getMapResolution()

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.

◆ getMapSizeX()

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.

◆ getMapSizeY()

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.

◆ getResolution()

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.

◆ getSize()

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.

◆ getWorldSizeX()

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.

◆ getWorldSizeY()

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.

◆ grow()

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

Definition at line 156 of file map.h.

◆ isInside() [1/4]

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.

◆ isInside() [2/4]

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.

◆ isInside() [3/4]

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.

◆ isInside() [4/4]

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.

◆ map2world() [1/2]

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.

◆ map2world() [2/2]

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.

◆ resize()

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

Definition at line 138 of file map.h.

◆ storage() [1/2]

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.

◆ storage() [2/2]

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.

◆ toDoubleArray()

template<class Cell , class Storage , const bool isClass>
DoubleArray2D * GMapping::Map< Cell, Storage, isClass >::toDoubleArray

Definition at line 236 of file map.h.

◆ toDoubleMap()

template<class Cell , class Storage , const bool isClass>
Map< double, DoubleArray2D, false > * GMapping::Map< Cell, Storage, isClass >::toDoubleMap

Definition at line 248 of file map.h.

◆ world2map() [1/2]

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.

◆ world2map() [2/2]

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.

Member Data Documentation

◆ m_center

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.

◆ m_delta

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.

◆ m_mapSizeX

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.

◆ m_mapSizeY

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.

◆ m_sizeX2

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.

◆ m_sizeY2

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.

◆ m_storage

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.

◆ m_unknown

template<class Cell , class Storage , const bool isClass>
const Cell GMapping::Map< Cell, Storage, isClass >::m_unknown = Cell(-1)
staticprotected

Definition at line 92 of file map.h.

◆ m_worldSizeX

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.

◆ m_worldSizeY

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:


openslam_gmapping
Author(s): Cyrill Stachniss, Udo Frese, Giorgio Grisetti, Wolfram Burgard
autogenerated on Thu Oct 19 2023 02:25:51