14 #define GTE_VALIDATE_COORDINATE_FRAME_ONCE 26 ViewVolume(
bool isPerspective,
bool isDepthRangeZeroToOne);
112 inline bool IsPerspective()
const;
113 inline bool IsDepthRangeZeroOne()
const;
120 void SetFrustum(
float dMin,
float dMax,
float uMin,
float uMax,
121 float rMin,
float rMax);
125 void SetFrustum(
float const* frustum);
131 void SetFrustum(
float upFovDegrees,
float aspectRatio,
float dMin,
135 void GetFrustum(
float& dMin,
float& dMax,
float& uMin,
float& uMax,
136 float& rMin,
float& rMax)
const;
139 inline float const* GetFrustum()
const;
144 bool GetFrustum(
float& upFovDegrees,
float& aspectRatio,
float& dMin,
148 inline float GetDMin()
const;
149 inline float GetDMax()
const;
150 inline float GetUMin()
const;
151 inline float GetUMax()
const;
152 inline float GetRMin()
const;
153 inline float GetRMax()
const;
214 virtual void OnFrameChange();
218 virtual void OnFrustumChange();
222 virtual void UpdatePVMatrix();
241 float mFrustum[VF_QUANTITY];
284 return mInverseViewMatrix;
289 return mIsPerspective;
294 return mIsDepthRangeZeroOne;
304 return mFrustum[VF_DMIN];
309 return mFrustum[VF_DMAX];
314 return mFrustum[VF_UMIN];
319 return mFrustum[VF_UMAX];
324 return mFrustum[VF_RMIN];
329 return mFrustum[VF_RMAX];
334 return mProjectionMatrix;
339 mProjectionMatrix = projMatrix;
345 return mProjectionViewMatrix;
Vector4< float > const & GetRVector() const
void SetProjectionMatrix(Matrix4x4< float > const &projMatrix)
Matrix4x4< float > mInverseViewMatrix
Matrix4x4< float > mProjectionMatrix
bool mIsDepthRangeZeroOne
const Matrix4x4< float > & GetInverseViewMatrix() const
Matrix4x4< float > const & GetProjectionViewMatrix() const
bool IsPerspective() const
Vector4< float > mUVector
Vector4< float > const & GetPosition() const
const Matrix4x4< float > & GetViewMatrix() const
Matrix4x4< float > const & GetProjectionMatrix() const
Matrix4x4< float > mProjectionViewMatrix
bool mValidateCoordinateFrame
Vector4< float > const & GetUVector() const
Matrix4x4< float > mViewMatrix
Vector4< float > const & GetDVector() const
float const * GetFrustum() const
bool IsDepthRangeZeroOne() const