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

#include <array2d.h>

Public Member Functions

 Array2D (const Array2D< Cell, debug > &)
 
 Array2D (int xsize=0, int ysize=0)
 
Cell & cell (const IntPoint &p)
 
const Cell & cell (const IntPoint &p) const
 
Cell & cell (int x, int y)
 
const Cell & cell (int x, int y) const
 
Cell ** cells ()
 
AccessibilityState cellState (const IntPoint &p) const
 
AccessibilityState cellState (int x, int y) const
 
void clear ()
 
int getPatchMagnitude () const
 
int getPatchSize () const
 
int getXSize () const
 
int getYSize () const
 
bool isInside (const IntPoint &p) const
 
bool isInside (int x, int y) 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 12 of file array2d.h.

Constructor & Destructor Documentation

◆ Array2D() [1/2]

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

Definition at line 44 of file array2d.h.

◆ Array2D() [2/2]

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

Definition at line 90 of file array2d.h.

◆ ~Array2D()

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

Definition at line 107 of file array2d.h.

Member Function Documentation

◆ cell() [1/4]

template<class Cell , const bool debug = false>
Cell& GMapping::Array2D< Cell, debug >::cell ( const IntPoint p)
inline

Definition at line 29 of file array2d.h.

◆ cell() [2/4]

template<class Cell , const bool debug = false>
const Cell& GMapping::Array2D< Cell, debug >::cell ( const IntPoint p) const
inline

Definition at line 28 of file array2d.h.

◆ cell() [3/4]

template<class Cell , const bool debug>
Cell & GMapping::Array2D< Cell, debug >::cell ( int  x,
int  y 
)
inline

Definition at line 176 of file array2d.h.

◆ cell() [4/4]

template<class Cell , const bool debug>
const Cell & GMapping::Array2D< Cell, debug >::cell ( int  x,
int  y 
) const
inline

Definition at line 169 of file array2d.h.

◆ cells()

template<class Cell , const bool debug = false>
Cell** GMapping::Array2D< Cell, debug >::cells ( )
inline

Definition at line 36 of file array2d.h.

◆ cellState() [1/2]

template<class Cell , const bool debug = false>
AccessibilityState GMapping::Array2D< Cell, debug >::cellState ( const IntPoint p) const
inline

Definition at line 30 of file array2d.h.

◆ cellState() [2/2]

template<class Cell , const bool debug = false>
AccessibilityState GMapping::Array2D< Cell, debug >::cellState ( int  x,
int  y 
) const
inline

Definition at line 25 of file array2d.h.

◆ clear()

template<class Cell , const bool debug>
void GMapping::Array2D< Cell, debug >::clear

Definition at line 122 of file array2d.h.

◆ getPatchMagnitude()

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

Definition at line 33 of file array2d.h.

◆ getPatchSize()

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

Definition at line 32 of file array2d.h.

◆ getXSize()

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

Definition at line 34 of file array2d.h.

◆ getYSize()

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

Definition at line 35 of file array2d.h.

◆ isInside() [1/2]

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

Definition at line 27 of file array2d.h.

◆ isInside() [2/2]

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

Definition at line 164 of file array2d.h.

◆ operator=()

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

Definition at line 66 of file array2d.h.

◆ resize()

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

Definition at line 140 of file array2d.h.

Member Data Documentation

◆ m_cells

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

Definition at line 37 of file array2d.h.

◆ m_xsize

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

Definition at line 39 of file array2d.h.

◆ m_ysize

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

Definition at line 39 of file array2d.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