HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FrustumTest< T > Class Template Reference

#include <ImathForward.h>

Public Member Functions

 FrustumTest ()
 
 FrustumTest (const Frustum< T > &frustum, const Matrix44< T > &cameraMat)
 
void setFrustum (const Frustum< T > &frustum, const Matrix44< T > &cameraMat)
 
bool isVisible (const Sphere3< T > &sphere) const
 
bool isVisible (const Box< Vec3< T > > &box) const
 
bool isVisible (const Vec3< T > &vec) const
 
bool completelyContains (const Sphere3< T > &sphere) const
 
bool completelyContains (const Box< Vec3< T > > &box) const
 
IMATH_INTERNAL_NAMESPACE::Matrix44
< T
cameraMat () const
 
IMATH_INTERNAL_NAMESPACE::Frustum
< T
currentFrustum () const
 

Protected Attributes

Vec3< TplaneNormX [2]
 
Vec3< TplaneNormY [2]
 
Vec3< TplaneNormZ [2]
 
Vec3< TplaneOffsetVec [2]
 
Vec3< TplaneNormAbsX [2]
 
Vec3< TplaneNormAbsY [2]
 
Vec3< TplaneNormAbsZ [2]
 
Frustum< TcurrFrustum
 
Matrix44< TcameraMatrix
 

Detailed Description

template<class T>
class FrustumTest< T >

Definition at line 51 of file ImathForward.h.

Constructor & Destructor Documentation

template<class T >
FrustumTest< T >::FrustumTest ( )
inline

Definition at line 130 of file ImathFrustumTest.h.

template<class T >
FrustumTest< T >::FrustumTest ( const Frustum< T > &  frustum,
const Matrix44< T > &  cameraMat 
)
inline

Definition at line 137 of file ImathFrustumTest.h.

Member Function Documentation

template<class T >
IMATH_INTERNAL_NAMESPACE::Matrix44<T> FrustumTest< T >::cameraMat ( ) const
inline

Definition at line 164 of file ImathFrustumTest.h.

template<typename T >
bool FrustumTest< T >::completelyContains ( const Sphere3< T > &  sphere) const

Definition at line 274 of file ImathFrustumTest.h.

template<typename T >
bool FrustumTest< T >::completelyContains ( const Box< Vec3< T > > &  box) const

Definition at line 349 of file ImathFrustumTest.h.

template<class T >
IMATH_INTERNAL_NAMESPACE::Frustum<T> FrustumTest< T >::currentFrustum ( ) const
inline

Definition at line 165 of file ImathFrustumTest.h.

template<typename T >
bool FrustumTest< T >::isVisible ( const Sphere3< T > &  sphere) const

Definition at line 240 of file ImathFrustumTest.h.

template<typename T >
bool FrustumTest< T >::isVisible ( const Box< Vec3< T > > &  box) const

Definition at line 308 of file ImathFrustumTest.h.

template<typename T >
bool FrustumTest< T >::isVisible ( const Vec3< T > &  vec) const

Definition at line 389 of file ImathFrustumTest.h.

template<class T >
void FrustumTest< T >::setFrustum ( const Frustum< T > &  frustum,
const Matrix44< T > &  cameraMat 
)

Definition at line 192 of file ImathFrustumTest.h.

Member Data Documentation

template<class T >
Matrix44<T> FrustumTest< T >::cameraMatrix
protected

Definition at line 183 of file ImathFrustumTest.h.

template<class T >
Frustum<T> FrustumTest< T >::currFrustum
protected

Definition at line 182 of file ImathFrustumTest.h.

template<class T >
Vec3<T> FrustumTest< T >::planeNormAbsX[2]
protected

Definition at line 177 of file ImathFrustumTest.h.

template<class T >
Vec3<T> FrustumTest< T >::planeNormAbsY[2]
protected

Definition at line 178 of file ImathFrustumTest.h.

template<class T >
Vec3<T> FrustumTest< T >::planeNormAbsZ[2]
protected

Definition at line 179 of file ImathFrustumTest.h.

template<class T >
Vec3<T> FrustumTest< T >::planeNormX[2]
protected

Definition at line 170 of file ImathFrustumTest.h.

template<class T >
Vec3<T> FrustumTest< T >::planeNormY[2]
protected

Definition at line 171 of file ImathFrustumTest.h.

template<class T >
Vec3<T> FrustumTest< T >::planeNormZ[2]
protected

Definition at line 172 of file ImathFrustumTest.h.

template<class T >
Vec3<T> FrustumTest< T >::planeOffsetVec[2]
protected

Definition at line 174 of file ImathFrustumTest.h.


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