![]() |
VR-Vantage 2.7 API Documentation
|
Template for 32/64 bit bit frustums. More...

Public Member Functions | |
| Frustum () | |
| ctor | |
| virtual | ~Frustum () |
| dtor | |
| template<class RHS > | |
| Frustum (const Frustum< RHS > &rhs) | |
| Copy Constructor. | |
| template<class RHS > | |
| Frustum & | operator= (const Frustum< RHS > &rhs) |
| Assignment Operator. | |
| virtual void | setPlane (FrustumPlane plane, T d, const DtVector3< T > &vNormal) |
| set a frustum plane | |
| virtual const DtPlane< T > & | plane (FrustumPlane plane) const |
| get a frustum plane | |
| virtual DtVector4< T > | planeAsVector (FrustumPlane plane) const |
| get the frustum plane as a vector | |
| virtual bool | isVisible (const DtAxisAlignedBoundingBox< T > &box) const |
| is bounding box visible within this frustum? | |
| virtual VisibilityFromCamera | visibility (const DtAxisAlignedBoundingBox< T > &box, bool ignoreNearFar=false) const |
| get visibility of bounding box within the frustum | |
| virtual void | setFromModelViewProjectionMatrix (const DtMatrix4< T > &mvp) |
| set up a frustum, given a model view projection matrix | |
| virtual bool | operator== (const Frustum< T > &rhs) const |
| equality | |
| virtual bool | operator!= (const Frustum< T > &rhs) const |
| inequality | |
Protected Attributes | |
| std::vector< DtPlane< T > > | myFrustumPlanes |
Template for 32/64 bit bit frustums.
| makVrv::Frustum< T >::Frustum | ( | ) |
ctor
|
virtual |
dtor
Copy Constructor.
References makVrv::Frustum< T >::myFrustumPlanes.
| Frustum< T > & makVrv::Frustum< T >::operator= | ( | const Frustum< RHS > & | rhs | ) |
Assignment Operator.
References makVrv::Frustum< T >::myFrustumPlanes.
|
virtual |
set a frustum plane
References makVrv::DtVector3< T >::normalize().
|
virtual |
get a frustum plane
Referenced by makVrv::operator<<(), and makVrv::DtCamera< T >::updateFrustumPlanes().
|
virtual |
get the frustum plane as a vector
|
virtual |
is bounding box visible within this frustum?
References makVrv::DtAxisAlignedBoundingBox< T >::center(), makVrv::DtAxisAlignedBoundingBox< T >::halfSize(), makVrv::DtAxisAlignedBoundingBox< T >::isInfinite(), makVrv::DtAxisAlignedBoundingBox< T >::isNull(), and makVrv::NEGATIVE_SIDE.
|
virtual |
get visibility of bounding box within the frustum
References makVrv::BOTH_SIDE, makVrv::DtAxisAlignedBoundingBox< T >::center(), makVrv::FRUSTUM_PLANE_FAR, makVrv::FRUSTUM_PLANE_NEAR, makVrv::DtAxisAlignedBoundingBox< T >::halfSize(), makVrv::DtAxisAlignedBoundingBox< T >::isInfinite(), makVrv::DtAxisAlignedBoundingBox< T >::isNull(), makVrv::NEGATIVE_SIDE, makVrv::VISIBILITY_FULL, makVrv::VISIBILITY_NONE, and makVrv::VISIBILITY_PARTIAL.
|
virtual |
set up a frustum, given a model view projection matrix
References makVrv::FRUSTUM_PLANE_BOTTOM, makVrv::FRUSTUM_PLANE_FAR, makVrv::FRUSTUM_PLANE_LEFT, makVrv::FRUSTUM_PLANE_NEAR, makVrv::FRUSTUM_PLANE_RIGHT, and makVrv::FRUSTUM_PLANE_TOP.
Referenced by makVrv::DtCamera< T >::updateFrustumPlanes().
|
virtual |
equality
References exprtk::details::numeric::equal(), and makVrv::Frustum< T >::myFrustumPlanes.
|
virtual |
inequality
|
protected |