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

#include <GtePlanarReflectionEffect.h>

Public Member Functions

virtual void Draw (std::shared_ptr< GraphicsEngine > const &engine, VisibleSet const &visibleSet, PVWUpdater &pvwMatrices)
 
int GetNumPlanes () const
 
std::pair< Vector4< float >, Vector4< float > > GetPlane (int i) const
 
std::shared_ptr< VisualGetPlaneVisual (int i) const
 
float GetReflectance (int i) const
 
 PlanarReflectionEffect (std::vector< std::shared_ptr< Visual >> const &planes, std::vector< float > const &reflectances)
 
void SetReflectance (int i, float reflectance)
 

Protected Attributes

std::shared_ptr< RasterizerStatemCullReverse
 
std::shared_ptr< DepthStencilStatemDSPass0
 
std::shared_ptr< DepthStencilStatemDSPass1
 
std::shared_ptr< DepthStencilStatemDSPass2
 
std::shared_ptr< BlendStatemNoColorWrites
 
std::vector< Vector4< float > > mPlaneNormals
 
std::vector< Vector4< float > > mPlaneOrigins
 
std::vector< std::shared_ptr< Visual > > mPlanes
 
std::shared_ptr< BlendStatemReflectanceBlend
 
std::vector< float > mReflectances
 

Detailed Description

Definition at line 18 of file GtePlanarReflectionEffect.h.

Constructor & Destructor Documentation

PlanarReflectionEffect::PlanarReflectionEffect ( std::vector< std::shared_ptr< Visual >> const &  planes,
std::vector< float > const &  reflectances 
)

Definition at line 13 of file GtePlanarReflectionEffect.cpp.

Member Function Documentation

void PlanarReflectionEffect::Draw ( std::shared_ptr< GraphicsEngine > const &  engine,
VisibleSet const &  visibleSet,
PVWUpdater pvwMatrices 
)
virtual

Definition at line 141 of file GtePlanarReflectionEffect.cpp.

int gte::PlanarReflectionEffect::GetNumPlanes ( ) const
inline

Definition at line 46 of file GtePlanarReflectionEffect.h.

std::pair< Vector4< float >, Vector4< float > > PlanarReflectionEffect::GetPlane ( int  i) const

Definition at line 268 of file GtePlanarReflectionEffect.cpp.

std::shared_ptr< Visual > PlanarReflectionEffect::GetPlaneVisual ( int  i) const

Definition at line 280 of file GtePlanarReflectionEffect.cpp.

float PlanarReflectionEffect::GetReflectance ( int  i) const

Definition at line 300 of file GtePlanarReflectionEffect.cpp.

void PlanarReflectionEffect::SetReflectance ( int  i,
float  reflectance 
)

Definition at line 292 of file GtePlanarReflectionEffect.cpp.

Member Data Documentation

std::shared_ptr<RasterizerState> gte::PlanarReflectionEffect::mCullReverse
protected

Definition at line 41 of file GtePlanarReflectionEffect.h.

std::shared_ptr<DepthStencilState> gte::PlanarReflectionEffect::mDSPass0
protected

Definition at line 42 of file GtePlanarReflectionEffect.h.

std::shared_ptr<DepthStencilState> gte::PlanarReflectionEffect::mDSPass1
protected

Definition at line 42 of file GtePlanarReflectionEffect.h.

std::shared_ptr<DepthStencilState> gte::PlanarReflectionEffect::mDSPass2
protected

Definition at line 42 of file GtePlanarReflectionEffect.h.

std::shared_ptr<BlendState> gte::PlanarReflectionEffect::mNoColorWrites
protected

Definition at line 40 of file GtePlanarReflectionEffect.h.

std::vector<Vector4<float> > gte::PlanarReflectionEffect::mPlaneNormals
protected

Definition at line 39 of file GtePlanarReflectionEffect.h.

std::vector<Vector4<float> > gte::PlanarReflectionEffect::mPlaneOrigins
protected

Definition at line 39 of file GtePlanarReflectionEffect.h.

std::vector<std::shared_ptr<Visual> > gte::PlanarReflectionEffect::mPlanes
protected

Definition at line 37 of file GtePlanarReflectionEffect.h.

std::shared_ptr<BlendState> gte::PlanarReflectionEffect::mReflectanceBlend
protected

Definition at line 40 of file GtePlanarReflectionEffect.h.

std::vector<float> gte::PlanarReflectionEffect::mReflectances
protected

Definition at line 38 of file GtePlanarReflectionEffect.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