Public Member Functions | Public Attributes | List of all members
gte::Light Class Reference

#include <GteLight.h>

Inheritance diagram for gte::Light:
Inheritance graph
[legend]

Public Member Functions

 Light (bool isPerspective, bool isDepthRangeZeroOne)
 
- Public Member Functions inherited from gte::ViewVolume
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 ()
 

Public Attributes

std::shared_ptr< Lightinglighting
 

Additional Inherited Members

- Public Types inherited from gte::ViewVolume
enum  {
  VF_DMIN = 0, VF_DMAX = 1, VF_UMIN = 2, VF_UMAX = 3,
  VF_RMIN = 4, VF_RMAX = 5, VF_QUANTITY = 6
}
 
- Protected Member Functions inherited from gte::ViewVolume
virtual void OnFrameChange ()
 
virtual void OnFrustumChange ()
 
virtual void UpdatePVMatrix ()
 
- Protected Attributes inherited from gte::ViewVolume
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
 

Detailed Description

Definition at line 17 of file GteLight.h.

Constructor & Destructor Documentation

Light::Light ( bool  isPerspective,
bool  isDepthRangeZeroOne 
)

Definition at line 13 of file GteLight.cpp.

Member Data Documentation

std::shared_ptr<Lighting> gte::Light::lighting

Definition at line 25 of file GteLight.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06