Public Member Functions | Public Attributes | Protected Attributes
GMapping::Array2D< Cell, debug > Class Template Reference

#include <array2d.h>

List of all members.

Public Member Functions

 Array2D (int xsize=0, int ysize=0)
 Array2D (const Array2D< Cell, debug > &)
const Cell & cell (int x, int y) const
Cell & cell (int x, int y)
const Cell & cell (const IntPoint &p) const
Cell & cell (const IntPoint &p)
Cell ** cells ()
AccessibilityState cellState (int x, int y) const
AccessibilityState cellState (const IntPoint &p) const
void clear ()
int getPatchMagnitude () const
int getPatchSize () const
int getXSize () const
int getYSize () const
bool isInside (int x, int y) const
bool isInside (const IntPoint &p) const
Array2Doperator= (const Array2D &)
void resize (int xmin, int ymin, int xmax, int ymax)
 ~Array2D ()

Public Attributes

Cell ** m_cells

Protected Attributes

int m_xsize
int m_ysize

Detailed Description

template<class Cell, const bool debug = false>
class GMapping::Array2D< Cell, debug >

Definition at line 16 of file array2d.h.


Constructor & Destructor Documentation

template<class Cell , const bool debug>
GMapping::Array2D< Cell, debug >::Array2D ( int  xsize = 0,
int  ysize = 0 
)

Definition at line 48 of file array2d.h.

template<class Cell, const bool debug>
GMapping::Array2D< Cell, debug >::Array2D ( const Array2D< Cell, debug > &  g)

Definition at line 94 of file array2d.h.

template<class Cell , const bool debug>
GMapping::Array2D< Cell, debug >::~Array2D ( )

Definition at line 111 of file array2d.h.


Member Function Documentation

template<class Cell , const bool debug>
const Cell & GMapping::Array2D< Cell, debug >::cell ( int  x,
int  y 
) const [inline]
template<class Cell , const bool debug>
Cell & GMapping::Array2D< Cell, debug >::cell ( int  x,
int  y 
) [inline]
template<class Cell, const bool debug = false>
const Cell& GMapping::Array2D< Cell, debug >::cell ( const IntPoint p) const [inline]
template<class Cell, const bool debug = false>
Cell& GMapping::Array2D< Cell, debug >::cell ( const IntPoint p) [inline]
template<class Cell, const bool debug = false>
Cell** GMapping::Array2D< Cell, debug >::cells ( ) [inline]

Definition at line 40 of file array2d.h.

template<class Cell, const bool debug = false>
AccessibilityState GMapping::Array2D< Cell, debug >::cellState ( int  x,
int  y 
) const [inline]
template<class Cell, const bool debug = false>
AccessibilityState GMapping::Array2D< Cell, debug >::cellState ( const IntPoint p) const [inline]
template<class Cell , const bool debug>
void GMapping::Array2D< Cell, debug >::clear ( )

Definition at line 126 of file array2d.h.

template<class Cell, const bool debug = false>
int GMapping::Array2D< Cell, debug >::getPatchMagnitude ( ) const [inline]
template<class Cell, const bool debug = false>
int GMapping::Array2D< Cell, debug >::getPatchSize ( ) const [inline]
template<class Cell, const bool debug = false>
int GMapping::Array2D< Cell, debug >::getXSize ( ) const [inline]

Definition at line 38 of file array2d.h.

template<class Cell, const bool debug = false>
int GMapping::Array2D< Cell, debug >::getYSize ( ) const [inline]

Definition at line 39 of file array2d.h.

template<class Cell , const bool debug>
bool GMapping::Array2D< Cell, debug >::isInside ( int  x,
int  y 
) const [inline]

Definition at line 168 of file array2d.h.

template<class Cell, const bool debug = false>
bool GMapping::Array2D< Cell, debug >::isInside ( const IntPoint p) const [inline]

Definition at line 31 of file array2d.h.

template<class Cell , const bool debug>
Array2D< Cell, debug > & GMapping::Array2D< Cell, debug >::operator= ( const Array2D< Cell, debug > &  g)

Definition at line 70 of file array2d.h.

template<class Cell , const bool debug>
void GMapping::Array2D< Cell, debug >::resize ( int  xmin,
int  ymin,
int  xmax,
int  ymax 
)

Member Data Documentation

template<class Cell, const bool debug = false>
Cell** GMapping::Array2D< Cell, debug >::m_cells

Definition at line 41 of file array2d.h.

template<class Cell, const bool debug = false>
int GMapping::Array2D< Cell, debug >::m_xsize [protected]

Definition at line 43 of file array2d.h.

template<class Cell, const bool debug = false>
int GMapping::Array2D< Cell, debug >::m_ysize [protected]

Definition at line 43 of file array2d.h.


The documentation for this class was generated from the following file:


openslam_gmapping
Author(s): Giorgio Grisetti, Cyrill Stachniss, Wolfram Burgard
autogenerated on Thu Jun 6 2019 19:25:13