![]() |
VR-Forces 4.1 Class Documentation
|

Public Types | |
| typedef std::list< T > | DtSpatialSubCellType |
| typedef DtSpatialSubCellType::iterator | DtSpatialSubCellIter |
| typedef DtSpatialSubCellType::const_iterator | DtSpatialSubCellConstIter |
| typedef int | DtSpatialSubCellIndex |
| typedef std::vector < DtSpatialSubCellType > ::iterator | DtSpatialSubIter |
| typedef std::vector < DtSpatialSubCellType > ::const_iterator | DtSpatialSubConstIter |
Public Member Functions | |
| DtSpatialSubdivision (const DtPoint &origin, unsigned int cellCountX, unsigned int cellCountY, unsigned int cellCountZ, double cellDx, double cellDy, double cellDz) | |
| DtSpatialSubdivision (DtExtent extent, unsigned int cellCountX, unsigned int cellCountY, unsigned int cellCountZ=1) | |
| DtSpatialSubdivision (DtExtent extent, double cellDx, double cellDy, double cellDz=-1.0) | |
| virtual | ~DtSpatialSubdivision () |
| virtual void | setExtent (DtExtent extent) |
| virtual void | setResolutions (unsigned int cellCountX, unsigned int cellCountY, unsigned int cellCountZ=1) |
| virtual void | resize (DtExtent extent, unsigned int cellCountX, unsigned int cellCountY, unsigned int cellCountZ) |
| virtual void | clear () |
| virtual void | clearCell (DtSpatialSubIter &cellIter) |
| virtual void | clearCell (DtSpatialSubIter &startIter, DtSpatialSubIter &endIter) |
| virtual bool | empty () const |
| virtual unsigned int | size () const |
| virtual void | offsetToIndices (const DtPoint &offset, DtSpatialSubCellIndex &xIndex, DtSpatialSubCellIndex &yIndex, DtSpatialSubCellIndex &zIndex) const |
| virtual bool | indexIsValid (DtSpatialSubCellIndex index) const |
| virtual bool | indicesAreValid (DtSpatialSubCellIndex xIndex, DtSpatialSubCellIndex yIndex, DtSpatialSubCellIndex zIndex) const |
| virtual int | sizeInBytes () const |
| virtual DtSpatialSubIter | begin () |
| virtual DtSpatialSubConstIter | begin () const |
| virtual DtSpatialSubIter | end () |
| virtual DtSpatialSubConstIter | end () const |
| virtual DtSpatialSubCellType & | at (DtSpatialSubCellIndex index) |
| virtual const DtSpatialSubCellType & | at (DtSpatialSubCellIndex index) const |
| virtual DtSpatialSubCellType & | at (DtSpatialSubCellIndex xIndex, DtSpatialSubCellIndex yIndex, DtSpatialSubCellIndex zIndex) |
| virtual const DtSpatialSubCellType & | at (DtSpatialSubCellIndex xIndex, DtSpatialSubCellIndex yIndex, DtSpatialSubCellIndex zIndex) const |
| virtual DtSpatialSubCellType & | operator[] (DtSpatialSubCellIndex index) |
| virtual const DtSpatialSubCellType & | operator[] (DtSpatialSubCellIndex index) const |
| virtual DtSpatialSubCellType & | front () |
| virtual const DtSpatialSubCellType & | front () const |
| virtual DtSpatialSubCellType & | back () |
| virtual const DtSpatialSubCellType & | back () const |
| virtual const DtPoint & | origin () const |
| virtual void | setOrigin (const DtPoint &newOrigin) |
| virtual unsigned int | cellCountX () const |
| virtual unsigned int | cellCountY () const |
| virtual unsigned int | cellCountZ () const |
| virtual double | cellDx () const |
| virtual double | cellDy () const |
| virtual double | cellDz () const |
| virtual bool | cell (double x, double y, double z, DtSpatialSubCellType *&cell) |
| virtual bool | cell (double x, double y, double z, const DtSpatialSubCellType *&cell) const |
| virtual bool | cell (const DtPoint &containing, DtSpatialSubCellType *&cell) |
| virtual bool | cell (const DtPoint &containing, const DtSpatialSubCellType *&cell) const |
Protected Member Functions | |
| bool | testInvariant () const |
| void | calculateMinMaxOffsets () |
| void | calculateInverseDeltas () |
| double | inverseCellDx () const |
| double | inverseCellDy () const |
| double | inverseCellDz () const |
Protected Attributes | |
| DtPoint | myOrigin |
| unsigned int | myCellCountX |
| unsigned int | myCellCountY |
| unsigned int | myCellCountZ |
| double | myCellDx |
| double | myCellDy |
| double | myCellDz |
| double | myInverseCellDx |
| double | myInverseCellDy |
| double | myInverseCellDz |
| double | myMaxOffsetX |
| double | myMaxOffsetY |
| double | myMaxOffsetZ |
| double | myMinOffsetX |
| double | myMinOffsetY |
| double | myMinOffsetZ |
| std::vector< DtSpatialSubCellType > | myCells |
Private Member Functions | |
| DtSpatialSubdivision (const DtSpatialSubdivision &orig) | |
| DtSpatialSubdivision & | operator= (const DtSpatialSubdivision &orig) |
| typedef std::list<T> DtSpatialSubdivision< T >::DtSpatialSubCellType |
| typedef DtSpatialSubCellType::iterator DtSpatialSubdivision< T >::DtSpatialSubCellIter |
| typedef DtSpatialSubCellType::const_iterator DtSpatialSubdivision< T >::DtSpatialSubCellConstIter |
| typedef int DtSpatialSubdivision< T >::DtSpatialSubCellIndex |
| typedef std::vector< DtSpatialSubCellType >::iterator DtSpatialSubdivision< T >::DtSpatialSubIter |
| typedef std::vector< DtSpatialSubCellType >::const_iterator DtSpatialSubdivision< T >::DtSpatialSubConstIter |
| DtSpatialSubdivision< T >::DtSpatialSubdivision | ( | const DtPoint & | origin, |
| unsigned int | cellCountX, | ||
| unsigned int | cellCountY, | ||
| unsigned int | cellCountZ, | ||
| double | cellDx, | ||
| double | cellDy, | ||
| double | cellDz | ||
| ) |
|
explicit |
|
explicit |
|
virtual |
|
private |
|
private |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |