#include <harray2d.h>
Public Types | |
typedef std::set< point< int > , pointcomparator< int > > | PointSet |
Public Member Functions | |
void | allocActiveArea () |
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 |
AccessibilityState | cellState (const IntPoint &p) const |
AccessibilityState | cellState (int x, int y) const |
const PointSet & | getActiveArea () const |
int | getPatchMagnitude () const |
int | getPatchSize () const |
HierarchicalArray2D (const HierarchicalArray2D &hg) | |
HierarchicalArray2D (int xsize, int ysize, int patchMagnitude=5) | |
bool | isAllocated (const IntPoint &p) const |
bool | isAllocated (int x, int y) const |
HierarchicalArray2D & | operator= (const HierarchicalArray2D &hg) |
IntPoint | patchIndexes (const IntPoint &p) const |
IntPoint | patchIndexes (int x, int y) const |
void | resize (int ixmin, int iymin, int ixmax, int iymax) |
void | setActiveArea (const PointSet &, bool patchCoords=false) |
virtual | ~HierarchicalArray2D () |
Protected Member Functions | |
virtual Array2D< Cell > * | createPatch (const IntPoint &p) const |
Protected Attributes | |
PointSet | m_activeArea |
int | m_patchMagnitude |
int | m_patchSize |
Definition at line 10 of file harray2d.h.
typedef std::set< point<int>, pointcomparator<int> > GMapping::HierarchicalArray2D< Cell >::PointSet |
Definition at line 9 of file harray2d.h.
GMapping::HierarchicalArray2D< Cell >::HierarchicalArray2D | ( | int | xsize, | |
int | ysize, | |||
int | patchMagnitude = 5 | |||
) | [inline] |
Definition at line 44 of file harray2d.h.
GMapping::HierarchicalArray2D< Cell >::HierarchicalArray2D | ( | const HierarchicalArray2D< Cell > & | hg | ) | [inline] |
Definition at line 51 of file harray2d.h.
virtual GMapping::HierarchicalArray2D< Cell >::~HierarchicalArray2D | ( | ) | [inline, virtual] |
Definition at line 13 of file harray2d.h.
void GMapping::HierarchicalArray2D< Cell >::allocActiveArea | ( | ) | [inline] |
Definition at line 149 of file harray2d.h.
Cell& GMapping::HierarchicalArray2D< Cell >::cell | ( | const IntPoint & | p | ) | [inline] |
Reimplemented from GMapping::Array2D< autoptr< Array2D< Cell > > >.
Definition at line 25 of file harray2d.h.
const Cell& GMapping::HierarchicalArray2D< Cell >::cell | ( | const IntPoint & | p | ) | const [inline] |
Reimplemented from GMapping::Array2D< autoptr< Array2D< Cell > > >.
Definition at line 24 of file harray2d.h.
Cell & GMapping::HierarchicalArray2D< Cell >::cell | ( | int | x, | |
int | y | |||
) | [inline] |
Reimplemented from GMapping::Array2D< autoptr< Array2D< Cell > > >.
Definition at line 177 of file harray2d.h.
const Cell & GMapping::HierarchicalArray2D< Cell >::cell | ( | int | x, | |
int | y | |||
) | const [inline] |
Reimplemented from GMapping::Array2D< autoptr< Array2D< Cell > > >.
Definition at line 190 of file harray2d.h.
AccessibilityState GMapping::HierarchicalArray2D< Cell >::cellState | ( | const IntPoint & | p | ) | const [inline] |
Reimplemented from GMapping::Array2D< autoptr< Array2D< Cell > > >.
Definition at line 27 of file harray2d.h.
AccessibilityState GMapping::HierarchicalArray2D< Cell >::cellState | ( | int | x, | |
int | y | |||
) | const [inline] |
Reimplemented from GMapping::Array2D< autoptr< Array2D< Cell > > >.
Definition at line 137 of file harray2d.h.
Array2D< Cell > * GMapping::HierarchicalArray2D< Cell >::createPatch | ( | const IntPoint & | p | ) | const [inline, protected, virtual] |
Definition at line 131 of file harray2d.h.
const PointSet& GMapping::HierarchicalArray2D< Cell >::getActiveArea | ( | ) | const [inline] |
Definition at line 31 of file harray2d.h.
int GMapping::HierarchicalArray2D< Cell >::getPatchMagnitude | ( | ) | const [inline] |
Reimplemented from GMapping::Array2D< autoptr< Array2D< Cell > > >.
Definition at line 16 of file harray2d.h.
int GMapping::HierarchicalArray2D< Cell >::getPatchSize | ( | ) | const [inline] |
Reimplemented from GMapping::Array2D< autoptr< Array2D< Cell > > >.
Definition at line 15 of file harray2d.h.
bool GMapping::HierarchicalArray2D< Cell >::isAllocated | ( | const IntPoint & | p | ) | const [inline] |
Definition at line 26 of file harray2d.h.
bool GMapping::HierarchicalArray2D< Cell >::isAllocated | ( | int | x, | |
int | y | |||
) | const [inline] |
Definition at line 163 of file harray2d.h.
HierarchicalArray2D< Cell > & GMapping::HierarchicalArray2D< Cell >::operator= | ( | const HierarchicalArray2D< Cell > & | hg | ) | [inline] |
Definition at line 94 of file harray2d.h.
IntPoint GMapping::HierarchicalArray2D< Cell >::patchIndexes | ( | const IntPoint & | p | ) | const [inline] |
Definition at line 28 of file harray2d.h.
IntPoint GMapping::HierarchicalArray2D< Cell >::patchIndexes | ( | int | x, | |
int | y | |||
) | const [inline] |
Definition at line 170 of file harray2d.h.
void GMapping::HierarchicalArray2D< Cell >::resize | ( | int | ixmin, | |
int | iymin, | |||
int | ixmax, | |||
int | iymax | |||
) | [inline] |
Reimplemented from GMapping::Array2D< autoptr< Array2D< Cell > > >.
Definition at line 67 of file harray2d.h.
void GMapping::HierarchicalArray2D< Cell >::setActiveArea | ( | const PointSet & | , | |
bool | patchCoords = false | |||
) | [inline] |
PointSet GMapping::HierarchicalArray2D< Cell >::m_activeArea [protected] |
Definition at line 35 of file harray2d.h.
int GMapping::HierarchicalArray2D< Cell >::m_patchMagnitude [protected] |
Definition at line 36 of file harray2d.h.
int GMapping::HierarchicalArray2D< Cell >::m_patchSize [protected] |
Definition at line 37 of file harray2d.h.