![]() |
VR-Forces 4.10 Class Documentation
|
Template for 32/64 bit Axis Aligned bounding boxesnot virtual because its stored as is on the GPU. More...

Public Member Functions | |
| DtAxisAlignedBoundingBox () | |
| ctor More... | |
| DtAxisAlignedBoundingBox (const DtVector3< T > &vMin, const DtVector3< T > &vMax) | |
| ctor taking in min and max More... | |
| template<class RHS > | |
| DtAxisAlignedBoundingBox (const DtAxisAlignedBoundingBox< RHS > &rhs) | |
| Copy Constructor. More... | |
| template<class RHS > | |
| DtAxisAlignedBoundingBox & | operator= (const DtAxisAlignedBoundingBox< RHS > &rhs) |
| Assignment Operator. More... | |
| ~DtAxisAlignedBoundingBox () | |
| dtor More... | |
| const DtVector3< T > & | min (void) const |
| get the min More... | |
| const DtVector3< T > & | max (void) const |
| get the max More... | |
| DtVector3< T > | center (void) const |
| get the center More... | |
| T | boundingSphereRadius (void) const |
| get the bounding sphere radius More... | |
| DtVector3< T > | halfSize (void) const |
| half size More... | |
| DtVector3< T > | size (void) const |
| full size More... | |
| Extent | extent (void) const |
| get the extents More... | |
| void | setMinMax (const DtVector3< T > &vMin, const DtVector3< T > &vMax) |
| set the min max values More... | |
| void | setNull (void) |
| set it to a null (unitiliazed value) More... | |
| void | setInfinite (void) |
| set it to having infinite extents More... | |
| void | merge (const DtAxisAlignedBoundingBox< T > &rhs) |
| merge with rhs More... | |
| void | transformAffine (const DtMatrix4< T > &m) |
| transform the AABB with the given affine transform 'm' More... | |
| bool | isInfinite (void) const |
| is infinite extents? More... | |
| bool | isFinite (void) const |
| is finite extents? More... | |
| bool | isNull (void) const |
| is null? More... | |
| void | GetCorners (DtVector3< T > corners[8]) const |
| get the 8 corners More... | |
Protected Attributes | |
| DtVector3< T > | myVectorMin |
| DtVector3< T > | myVectorMax |
| Extent | myExtent |
Template for 32/64 bit Axis Aligned bounding boxes
not virtual because its stored as is on the GPU.
| makVrv::DtAxisAlignedBoundingBox< T >::DtAxisAlignedBoundingBox | ( | ) |
ctor
| makVrv::DtAxisAlignedBoundingBox< T >::DtAxisAlignedBoundingBox | ( | const DtVector3< T > & | vMin, |
| const DtVector3< T > & | vMax | ||
| ) |
ctor taking in min and max
| makVrv::DtAxisAlignedBoundingBox< T >::DtAxisAlignedBoundingBox | ( | const DtAxisAlignedBoundingBox< RHS > & | rhs | ) |
Copy Constructor.
| makVrv::DtAxisAlignedBoundingBox< T >::~DtAxisAlignedBoundingBox | ( | ) |
dtor
| DtAxisAlignedBoundingBox& makVrv::DtAxisAlignedBoundingBox< T >::operator= | ( | const DtAxisAlignedBoundingBox< RHS > & | rhs | ) |
Assignment Operator.
| const DtVector3<T>& makVrv::DtAxisAlignedBoundingBox< T >::min | ( | void | ) | const |
get the min
| const DtVector3<T>& makVrv::DtAxisAlignedBoundingBox< T >::max | ( | void | ) | const |
get the max
| DtVector3<T> makVrv::DtAxisAlignedBoundingBox< T >::center | ( | void | ) | const |
get the center
| T makVrv::DtAxisAlignedBoundingBox< T >::boundingSphereRadius | ( | void | ) | const |
get the bounding sphere radius
| DtVector3<T> makVrv::DtAxisAlignedBoundingBox< T >::halfSize | ( | void | ) | const |
half size
| DtVector3<T> makVrv::DtAxisAlignedBoundingBox< T >::size | ( | void | ) | const |
full size
| Extent makVrv::DtAxisAlignedBoundingBox< T >::extent | ( | void | ) | const |
get the extents
| void makVrv::DtAxisAlignedBoundingBox< T >::setMinMax | ( | const DtVector3< T > & | vMin, |
| const DtVector3< T > & | vMax | ||
| ) |
set the min max values
| void makVrv::DtAxisAlignedBoundingBox< T >::setNull | ( | void | ) |
set it to a null (unitiliazed value)
| void makVrv::DtAxisAlignedBoundingBox< T >::setInfinite | ( | void | ) |
set it to having infinite extents
| void makVrv::DtAxisAlignedBoundingBox< T >::merge | ( | const DtAxisAlignedBoundingBox< T > & | rhs | ) |
merge with rhs
| void makVrv::DtAxisAlignedBoundingBox< T >::transformAffine | ( | const DtMatrix4< T > & | m | ) |
transform the AABB with the given affine transform 'm'
| bool makVrv::DtAxisAlignedBoundingBox< T >::isInfinite | ( | void | ) | const |
is infinite extents?
| bool makVrv::DtAxisAlignedBoundingBox< T >::isFinite | ( | void | ) | const |
is finite extents?
| bool makVrv::DtAxisAlignedBoundingBox< T >::isNull | ( | void | ) | const |
is null?
| void makVrv::DtAxisAlignedBoundingBox< T >::GetCorners | ( | DtVector3< T > | corners[8] | ) | const |
get the 8 corners
|
protected |
|
protected |
|
protected |