#include <array2d.h>
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 |
Array2D & | operator= (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 |
GMapping::Array2D< Cell, debug >::Array2D | ( | int | xsize = 0 , |
int | ysize = 0 |
||
) |
GMapping::Array2D< Cell, debug >::Array2D | ( | const Array2D< Cell, debug > & | g | ) |
GMapping::Array2D< Cell, debug >::~Array2D | ( | ) |
const Cell & GMapping::Array2D< Cell, debug >::cell | ( | int | x, |
int | y | ||
) | const [inline] |
Reimplemented in GMapping::HierarchicalArray2D< Cell >, and GMapping::HierarchicalArray2D< PointAccumulator >.
Cell & GMapping::Array2D< Cell, debug >::cell | ( | int | x, |
int | y | ||
) | [inline] |
Reimplemented in GMapping::HierarchicalArray2D< Cell >, and GMapping::HierarchicalArray2D< PointAccumulator >.
const Cell& GMapping::Array2D< Cell, debug >::cell | ( | const IntPoint & | p | ) | const [inline] |
Reimplemented in GMapping::HierarchicalArray2D< Cell >, and GMapping::HierarchicalArray2D< PointAccumulator >.
Cell& GMapping::Array2D< Cell, debug >::cell | ( | const IntPoint & | p | ) | [inline] |
Reimplemented in GMapping::HierarchicalArray2D< Cell >, and GMapping::HierarchicalArray2D< PointAccumulator >.
Cell** GMapping::Array2D< Cell, debug >::cells | ( | ) | [inline] |
AccessibilityState GMapping::Array2D< Cell, debug >::cellState | ( | int | x, |
int | y | ||
) | const [inline] |
Reimplemented in GMapping::HierarchicalArray2D< Cell >, and GMapping::HierarchicalArray2D< PointAccumulator >.
AccessibilityState GMapping::Array2D< Cell, debug >::cellState | ( | const IntPoint & | p | ) | const [inline] |
Reimplemented in GMapping::HierarchicalArray2D< Cell >, and GMapping::HierarchicalArray2D< PointAccumulator >.
void GMapping::Array2D< Cell, debug >::clear | ( | ) |
int GMapping::Array2D< Cell, debug >::getPatchMagnitude | ( | ) | const [inline] |
Reimplemented in GMapping::HierarchicalArray2D< Cell >, and GMapping::HierarchicalArray2D< PointAccumulator >.
int GMapping::Array2D< Cell, debug >::getPatchSize | ( | ) | const [inline] |
Reimplemented in GMapping::HierarchicalArray2D< Cell >, and GMapping::HierarchicalArray2D< PointAccumulator >.
int GMapping::Array2D< Cell, debug >::getXSize | ( | ) | const [inline] |
int GMapping::Array2D< Cell, debug >::getYSize | ( | ) | const [inline] |
bool GMapping::Array2D< Cell, debug >::isInside | ( | int | x, |
int | y | ||
) | const [inline] |
bool GMapping::Array2D< Cell, debug >::isInside | ( | const IntPoint & | p | ) | const [inline] |
Array2D< Cell, debug > & GMapping::Array2D< Cell, debug >::operator= | ( | const Array2D< Cell, debug > & | g | ) |
void GMapping::Array2D< Cell, debug >::resize | ( | int | xmin, |
int | ymin, | ||
int | xmax, | ||
int | ymax | ||
) |
Reimplemented in GMapping::HierarchicalArray2D< Cell >, and GMapping::HierarchicalArray2D< PointAccumulator >.
Cell** GMapping::Array2D< Cell, debug >::m_cells |
int GMapping::Array2D< Cell, debug >::m_xsize [protected] |
int GMapping::Array2D< Cell, debug >::m_ysize [protected] |