#include <GteViewVolume.h>
Public Types | |
enum | { VF_DMIN = 0, VF_DMAX = 1, VF_UMIN = 2, VF_UMAX = 3, VF_RMIN = 4, VF_RMAX = 5, VF_QUANTITY = 6 } |
Public Member Functions | |
void | GetAxes (Vector4< float > &dVector, Vector4< float > &uVector, Vector4< float > &rVector) const |
float | GetDMax () const |
float | GetDMin () const |
Vector4< float > const & | GetDVector () const |
void | GetFrame (Vector4< float > &position, Vector4< float > &dVector, Vector4< float > &uVector, Vector4< float > &rVector) const |
void | GetFrustum (float &dMin, float &dMax, float &uMin, float &uMax, float &rMin, float &rMax) const |
float const * | GetFrustum () const |
bool | GetFrustum (float &upFovDegrees, float &aspectRatio, float &dMin, float &dMax) const |
const Matrix4x4< float > & | GetInverseViewMatrix () const |
Vector4< float > const & | GetPosition () const |
Matrix4x4< float > const & | GetProjectionMatrix () const |
Matrix4x4< float > const & | GetProjectionViewMatrix () const |
float | GetRMax () const |
float | GetRMin () const |
Vector4< float > const & | GetRVector () const |
float | GetUMax () const |
float | GetUMin () const |
Vector4< float > const & | GetUVector () const |
const Matrix4x4< float > & | GetViewMatrix () const |
bool | IsDepthRangeZeroOne () const |
bool | IsPerspective () const |
void | SetAxes (Vector4< float > const &dVector, Vector4< float > const &uVector, Vector4< float > const &rVector) |
void | SetFrame (Vector4< float > const &position, Vector4< float > const &dVector, Vector4< float > const &uVector, Vector4< float > const &rVector) |
void | SetFrustum (float dMin, float dMax, float uMin, float uMax, float rMin, float rMax) |
void | SetFrustum (float const *frustum) |
void | SetFrustum (float upFovDegrees, float aspectRatio, float dMin, float dMax) |
void | SetPosition (Vector4< float > const &position) |
void | SetProjectionMatrix (Matrix4x4< float > const &projMatrix) |
ViewVolume (bool isPerspective, bool isDepthRangeZeroToOne) | |
virtual | ~ViewVolume () |
Protected Member Functions | |
virtual void | OnFrameChange () |
virtual void | OnFrustumChange () |
virtual void | UpdatePVMatrix () |
Protected Attributes | |
Vector4< float > | mDVector |
float | mFrustum [VF_QUANTITY] |
Matrix4x4< float > | mInverseViewMatrix |
bool | mIsDepthRangeZeroOne |
bool | mIsPerspective |
Vector4< float > | mPosition |
Matrix4x4< float > | mProjectionMatrix |
Matrix4x4< float > | mProjectionViewMatrix |
Vector4< float > | mRVector |
Vector4< float > | mUVector |
bool | mValidateCoordinateFrame |
Matrix4x4< float > | mViewMatrix |
Definition at line 19 of file GteViewVolume.h.
anonymous enum |
Enumerator | |
---|---|
VF_DMIN | |
VF_DMAX | |
VF_UMIN | |
VF_UMAX | |
VF_RMIN | |
VF_RMAX | |
VF_QUANTITY |
Definition at line 101 of file GteViewVolume.h.
|
virtual |
Definition at line 13 of file GteViewVolume.cpp.
ViewVolume::ViewVolume | ( | bool | isPerspective, |
bool | isDepthRangeZeroToOne | ||
) |
Definition at line 17 of file GteViewVolume.cpp.
void ViewVolume::GetAxes | ( | Vector4< float > & | dVector, |
Vector4< float > & | uVector, | ||
Vector4< float > & | rVector | ||
) | const |
Definition at line 100 of file GteViewVolume.cpp.
|
inline |
Definition at line 307 of file GteViewVolume.h.
|
inline |
Definition at line 302 of file GteViewVolume.h.
|
inline |
Definition at line 262 of file GteViewVolume.h.
void ViewVolume::GetFrame | ( | Vector4< float > & | position, |
Vector4< float > & | dVector, | ||
Vector4< float > & | uVector, | ||
Vector4< float > & | rVector | ||
) | const |
Definition at line 108 of file GteViewVolume.cpp.
void ViewVolume::GetFrustum | ( | float & | dMin, |
float & | dMax, | ||
float & | uMin, | ||
float & | uMax, | ||
float & | rMin, | ||
float & | rMax | ||
) | const |
Definition at line 151 of file GteViewVolume.cpp.
|
inline |
Definition at line 297 of file GteViewVolume.h.
bool ViewVolume::GetFrustum | ( | float & | upFovDegrees, |
float & | aspectRatio, | ||
float & | dMin, | ||
float & | dMax | ||
) | const |
Definition at line 161 of file GteViewVolume.cpp.
|
inline |
Definition at line 282 of file GteViewVolume.h.
|
inline |
Definition at line 257 of file GteViewVolume.h.
|
inline |
Definition at line 332 of file GteViewVolume.h.
|
inline |
Definition at line 343 of file GteViewVolume.h.
|
inline |
Definition at line 327 of file GteViewVolume.h.
|
inline |
Definition at line 322 of file GteViewVolume.h.
|
inline |
Definition at line 272 of file GteViewVolume.h.
|
inline |
Definition at line 317 of file GteViewVolume.h.
|
inline |
Definition at line 312 of file GteViewVolume.h.
|
inline |
Definition at line 267 of file GteViewVolume.h.
|
inline |
Definition at line 277 of file GteViewVolume.h.
|
inline |
Definition at line 292 of file GteViewVolume.h.
|
inline |
Definition at line 287 of file GteViewVolume.h.
|
protectedvirtual |
Definition at line 176 of file GteViewVolume.cpp.
|
protectedvirtual |
Definition at line 252 of file GteViewVolume.cpp.
void ViewVolume::SetAxes | ( | Vector4< float > const & | dVector, |
Vector4< float > const & | uVector, | ||
Vector4< float > const & | rVector | ||
) |
Definition at line 48 of file GteViewVolume.cpp.
void ViewVolume::SetFrame | ( | Vector4< float > const & | position, |
Vector4< float > const & | dVector, | ||
Vector4< float > const & | uVector, | ||
Vector4< float > const & | rVector | ||
) |
Definition at line 93 of file GteViewVolume.cpp.
void ViewVolume::SetFrustum | ( | float | dMin, |
float | dMax, | ||
float | uMin, | ||
float | uMax, | ||
float | rMin, | ||
float | rMax | ||
) |
Definition at line 117 of file GteViewVolume.cpp.
void ViewVolume::SetFrustum | ( | float const * | frustum | ) |
Definition at line 128 of file GteViewVolume.cpp.
void ViewVolume::SetFrustum | ( | float | upFovDegrees, |
float | aspectRatio, | ||
float | dMin, | ||
float | dMax | ||
) |
Definition at line 139 of file GteViewVolume.cpp.
Definition at line 42 of file GteViewVolume.cpp.
Definition at line 337 of file GteViewVolume.h.
|
protectedvirtual |
Reimplemented in gte::Camera.
Definition at line 434 of file GteViewVolume.cpp.
|
protected |
Definition at line 225 of file GteViewVolume.h.
|
protected |
Definition at line 241 of file GteViewVolume.h.
|
protected |
Definition at line 231 of file GteViewVolume.h.
|
protected |
Definition at line 248 of file GteViewVolume.h.
|
protected |
Definition at line 245 of file GteViewVolume.h.
|
protected |
Definition at line 225 of file GteViewVolume.h.
|
protected |
Definition at line 234 of file GteViewVolume.h.
|
protected |
Definition at line 237 of file GteViewVolume.h.
|
protected |
Definition at line 225 of file GteViewVolume.h.
|
protected |
Definition at line 225 of file GteViewVolume.h.
|
protected |
Definition at line 253 of file GteViewVolume.h.
|
protected |
Definition at line 230 of file GteViewVolume.h.