#include <PositionedGrid2D.h>
Public Types | |
typedef std::vector< CellType > | Cells |
typedef std::pair< unsigned int, unsigned int > | Indices |
typedef OutOfRangeException | OutOfRange |
typedef std::pair< int, int > | SignedIndices |
typedef Eigen::Vector3f | Vec3 |
Public Member Functions | |
float | getCellSize () const |
void | getNeighbors (Cells &cells, const Vec3 &pos, unsigned int neighborhoodRadius) const |
const Plane3D & | getPlane3D () const |
float | getXMax () const |
float | getXMin () const |
float | getYMax () const |
float | getYMin () const |
Cells::const_reference | operator() (const Vec3 &pos) const |
Cells::reference | operator() (const Vec3 &pos) |
PositionedGrid2D () | |
PositionedGrid2D (const Plane3D &plane, const float &xMin, const float &xMax, const float &yMin, const float &yMax, const float &cellSize) | |
Protected Member Functions | |
void | getIndices (Indices &outIndices, const Vec3 &pos) const |
void | getSignedIndicesNoException (SignedIndices &outIndices, const Vec3 &pos) const |
Protected Attributes | |
float | mCellSize |
Plane3D | mPlane |
float | mXMax |
float | mXMin |
float | mYMax |
float | mYMin |
Definition at line 46 of file PositionedGrid2D.h.
typedef std::vector<CellType> PositionedGrid2D< CellType >::Cells |
Reimplemented from Grid2D< CellType >.
Definition at line 52 of file PositionedGrid2D.h.
typedef std::pair<unsigned int, unsigned int> PositionedGrid2D< CellType >::Indices |
Reimplemented from Grid2D< CellType >.
Definition at line 49 of file PositionedGrid2D.h.
typedef OutOfRangeException PositionedGrid2D< CellType >::OutOfRange |
Definition at line 48 of file PositionedGrid2D.h.
typedef std::pair<int, int> PositionedGrid2D< CellType >::SignedIndices |
Reimplemented from Grid2D< CellType >.
Definition at line 50 of file PositionedGrid2D.h.
typedef Eigen::Vector3f PositionedGrid2D< CellType >::Vec3 |
Definition at line 51 of file PositionedGrid2D.h.
PositionedGrid2D< CellType >::PositionedGrid2D | ( | ) | [inline] |
Definition at line 55 of file PositionedGrid2D.h.
PositionedGrid2D< CellType >::PositionedGrid2D | ( | const Plane3D & | plane, |
const float & | xMin, | ||
const float & | xMax, | ||
const float & | yMin, | ||
const float & | yMax, | ||
const float & | cellSize | ||
) | [inline] |
Definition at line 57 of file PositionedGrid2D.h.
float PositionedGrid2D< CellType >::getCellSize | ( | ) | const [inline] |
Definition at line 72 of file PositionedGrid2D.h.
void PositionedGrid2D< CellType >::getIndices | ( | Indices & | outIndices, |
const Vec3 & | pos | ||
) | const [inline, protected] |
Definition at line 95 of file PositionedGrid2D.h.
void PositionedGrid2D< CellType >::getNeighbors | ( | Cells & | cells, |
const Vec3 & | pos, | ||
unsigned int | neighborhoodRadius | ||
) | const [inline] |
Definition at line 86 of file PositionedGrid2D.h.
const Plane3D& PositionedGrid2D< CellType >::getPlane3D | ( | ) | const [inline] |
Definition at line 67 of file PositionedGrid2D.h.
void PositionedGrid2D< CellType >::getSignedIndicesNoException | ( | SignedIndices & | outIndices, |
const Vec3 & | pos | ||
) | const [inline, protected] |
Definition at line 105 of file PositionedGrid2D.h.
float PositionedGrid2D< CellType >::getXMax | ( | ) | const [inline] |
Definition at line 69 of file PositionedGrid2D.h.
float PositionedGrid2D< CellType >::getXMin | ( | ) | const [inline] |
Definition at line 68 of file PositionedGrid2D.h.
float PositionedGrid2D< CellType >::getYMax | ( | ) | const [inline] |
Definition at line 71 of file PositionedGrid2D.h.
float PositionedGrid2D< CellType >::getYMin | ( | ) | const [inline] |
Definition at line 70 of file PositionedGrid2D.h.
Cells::const_reference PositionedGrid2D< CellType >::operator() | ( | const Vec3 & | pos | ) | const [inline] |
Definition at line 74 of file PositionedGrid2D.h.
Cells::reference PositionedGrid2D< CellType >::operator() | ( | const Vec3 & | pos | ) | [inline] |
Definition at line 79 of file PositionedGrid2D.h.
float PositionedGrid2D< CellType >::mCellSize [protected] |
Definition at line 117 of file PositionedGrid2D.h.
Plane3D PositionedGrid2D< CellType >::mPlane [protected] |
Definition at line 112 of file PositionedGrid2D.h.
float PositionedGrid2D< CellType >::mXMax [protected] |
Definition at line 114 of file PositionedGrid2D.h.
float PositionedGrid2D< CellType >::mXMin [protected] |
Definition at line 113 of file PositionedGrid2D.h.
float PositionedGrid2D< CellType >::mYMax [protected] |
Definition at line 116 of file PositionedGrid2D.h.
float PositionedGrid2D< CellType >::mYMin [protected] |
Definition at line 115 of file PositionedGrid2D.h.