VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::Frustum< T > Class Template Reference

Template for 32/64 bit bit frustums. More...

Inheritance diagram for makVrv::Frustum< T >:
Inheritance graph
[legend]

Public Member Functions

 Frustum ()
 ctor More...
 
virtual ~Frustum ()
 dtor More...
 
template<class RHS >
 Frustum (const Frustum< RHS > &rhs)
 Copy Constructor. More...
 
template<class RHS >
Frustumoperator= (const Frustum< RHS > &rhs)
 Assignment Operator. More...
 
virtual void setPlane (FrustumPlane plane, T d, const DtVector3< T > &vNormal)
 set a frustum plane More...
 
virtual const DtPlane< T > & plane (FrustumPlane plane) const
 get a frustum plane More...
 
virtual DtVector4< T > planeAsVector (FrustumPlane plane) const
 get the frustum plane as a vector More...
 
virtual bool isVisible (const DtAxisAlignedBoundingBox< T > &box) const
 is bounding box visible within this frustum? More...
 
virtual VisibilityFromCamera visibility (const DtAxisAlignedBoundingBox< T > &box, bool ignoreNearFar=false) const
 get visibility of bounding box within the frustum More...
 
virtual void setFromModelViewProjectionMatrix (const DtMatrix4< T > &mvp)
 set up a frustum, given a model view projection matrix More...
 
virtual bool operator== (const Frustum< T > &rhs) const
 equality More...
 
virtual bool operator!= (const Frustum< T > &rhs) const
 inequality More...
 

Protected Attributes

std::array< DtPlane< T >, 6 > myFrustumPlanes
 

Detailed Description

template<class T>
class makVrv::Frustum< T >

Template for 32/64 bit bit frustums.

Constructor & Destructor Documentation

template<class T>
makVrv::Frustum< T >::Frustum ( )

ctor

template<class T>
virtual makVrv::Frustum< T >::~Frustum ( )
virtual

dtor

template<class T>
template<class RHS >
makVrv::Frustum< T >::Frustum ( const Frustum< RHS > &  rhs)

Copy Constructor.

Member Function Documentation

template<class T>
template<class RHS >
Frustum& makVrv::Frustum< T >::operator= ( const Frustum< RHS > &  rhs)

Assignment Operator.

template<class T>
virtual void makVrv::Frustum< T >::setPlane ( FrustumPlane  plane,
d,
const DtVector3< T > &  vNormal 
)
virtual

set a frustum plane

template<class T>
virtual const DtPlane<T>& makVrv::Frustum< T >::plane ( FrustumPlane  plane) const
virtual

get a frustum plane

template<class T>
virtual DtVector4<T> makVrv::Frustum< T >::planeAsVector ( FrustumPlane  plane) const
virtual

get the frustum plane as a vector

template<class T>
virtual bool makVrv::Frustum< T >::isVisible ( const DtAxisAlignedBoundingBox< T > &  box) const
virtual

is bounding box visible within this frustum?

template<class T>
virtual VisibilityFromCamera makVrv::Frustum< T >::visibility ( const DtAxisAlignedBoundingBox< T > &  box,
bool  ignoreNearFar = false 
) const
virtual

get visibility of bounding box within the frustum

template<class T>
virtual void makVrv::Frustum< T >::setFromModelViewProjectionMatrix ( const DtMatrix4< T > &  mvp)
virtual

set up a frustum, given a model view projection matrix

template<class T>
virtual bool makVrv::Frustum< T >::operator== ( const Frustum< T > &  rhs) const
virtual

equality

template<class T>
virtual bool makVrv::Frustum< T >::operator!= ( const Frustum< T > &  rhs) const
virtual

inequality

Member Data Documentation

template<class T>
std::array< DtPlane<T>, 6 > makVrv::Frustum< T >::myFrustumPlanes
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)