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