Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Classes | Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
CStructureShadowsOSG Class Reference
Inheritance diagram for CStructureShadowsOSG:

Classes

class  EyeLinearTexGen
 

Public Member Functions

 CStructureShadowsOSG (bool bDepthShadow=false, bool bStructureOnStructureShadows=false)
 
void SetSunDirection (osg::Vec3 SunPosition)
 
void ComputeShadows ()
 
bool Initialise (osgUtil::SceneView *pSceneView, osg::Node *pStructures, osg::Node *pShadowed, const int iResolution, float fDarkness, int iTextureUnit, const FSphere &ShadowSphere)
 
void SetShadowDarkness (float fDarkness)
 
void SetShadowSphere (const FSphere &ShadowSphere, bool bForceRedraw)
 
void SetPolygonOffset (float fFactor, float fUnits)
 
void ExcludeFromShadower (osg::Node *pNode, bool bExclude)
 
bool IsExcludedFromShadower (osg::Node *pNode)
 

Protected Attributes

osg::ref_ptr< osg::CameraNode > m_pCameraNode
 
osg::ref_ptr< osg::Texture2D > m_pTexture
 
osg::ref_ptr< osg::Material > m_pMaterial
 
osg::ref_ptr< osgUtil::SceneView > m_pSceneView
 
osg::ref_ptr< osg::Node > m_pShadowed
 
osg::ref_ptr< osg::TexGenNode > m_pTerrainTexGenNode
 
osg::ref_ptr< osg::Group > m_pTop
 
osg::ref_ptr< osg::Uniform > m_pAmbientBias
 
osg::ref_ptr< osg::PolygonOffset > m_pPolygonOffset
 
float m_fShadowDarkness
 
bool m_bDepthShadow
 
bool m_bStructureOnStructureShadows
 
osg::Vec3 m_SunDirection
 
int m_iTargetResolution
 
int m_iCurrentResolution
 
bool m_bUsingLiveFrameBuffer
 
std::list< osg::Node * > m_ExcludeFromShadower
 
float m_fPolygonOffsetFactor
 
float m_fPolygonOffsetUnits
 
FSphere m_ShadowSphere
 

Static Protected Attributes

static osg::TexGenNode * m_pStructureTexGenNode
 

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