osgShadow::ShadowVolume Class Reference

ShadowedTexture provides an implementation of shadow textures. More...

Inheritance diagram for osgShadow::ShadowVolume:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 ShadowVolume ()
 ShadowVolume (const ShadowVolume &es, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 META_Object (osgShadow, ShadowVolume)
void setDrawMode (osgShadow::ShadowVolumeGeometry::DrawMode drawMode)
osgShadow::ShadowVolumeGeometry::DrawMode getDrawMode () const
void setDynamicShadowVolumes (bool dynamicShadowVolumes)
bool getDynamicShadowVolumes () const
virtual void init ()
 initialize the ShadowedScene and local cached data structures.
virtual void update (osg::NodeVisitor &nv)
 run the update traversal of the ShadowedScene and update any loca chached data structures.
virtual void cull (osgUtil::CullVisitor &cv)
 run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique.
virtual void cleanSceneGraph ()
 Clean scene graph from any shadow technique specific nodes, state and drawables.

Protected Member Functions

virtual ~ShadowVolume ()

Protected Attributes

osgShadow::ShadowVolumeGeometry::DrawMode _drawMode
bool _dynamicShadowVolumes
osg::ref_ptr
< osgShadow::OccluderGeometry
_occluder
OpenThreads::Mutex _shadowVolumeMutex
osg::ref_ptr
< osgShadow::ShadowVolumeGeometry
_shadowVolume
osg::Vec4 _lightpos
osg::ref_ptr
< osg::Light
_ambientLight
osg::ref_ptr
< osg::Light
_diffuseLight
osg::ref_ptr
< osg::StateSet
_ss1
osg::ref_ptr
< osg::StateSet
_mainShadowStateSet
osg::ref_ptr
< osg::StateSet
_shadowVolumeStateSet
osg::ref_ptr
< osg::StateSet
_shadowedSceneStateSet


Detailed Description

ShadowedTexture provides an implementation of shadow textures.


Constructor & Destructor Documentation

osgShadow::ShadowVolume::ShadowVolume (  ) 

osgShadow::ShadowVolume::ShadowVolume ( const ShadowVolume es,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY 
)

virtual osgShadow::ShadowVolume::~ShadowVolume (  )  [protected, virtual]


Member Function Documentation

osgShadow::ShadowVolume::META_Object ( osgShadow  ,
ShadowVolume   
)

void osgShadow::ShadowVolume::setDrawMode ( osgShadow::ShadowVolumeGeometry::DrawMode  drawMode  ) 

osgShadow::ShadowVolumeGeometry::DrawMode osgShadow::ShadowVolume::getDrawMode (  )  const [inline]

void osgShadow::ShadowVolume::setDynamicShadowVolumes ( bool  dynamicShadowVolumes  ) 

bool osgShadow::ShadowVolume::getDynamicShadowVolumes (  )  const [inline]

virtual void osgShadow::ShadowVolume::init (  )  [virtual]

initialize the ShadowedScene and local cached data structures.

Reimplemented from osgShadow::ShadowTechnique.

virtual void osgShadow::ShadowVolume::update ( osg::NodeVisitor nv  )  [virtual]

run the update traversal of the ShadowedScene and update any loca chached data structures.

Reimplemented from osgShadow::ShadowTechnique.

virtual void osgShadow::ShadowVolume::cull ( osgUtil::CullVisitor cv  )  [virtual]

run the cull traversal of the ShadowedScene and set up the rendering for this ShadowTechnique.

Reimplemented from osgShadow::ShadowTechnique.

virtual void osgShadow::ShadowVolume::cleanSceneGraph (  )  [virtual]

Clean scene graph from any shadow technique specific nodes, state and drawables.

Reimplemented from osgShadow::ShadowTechnique.


Member Data Documentation

osgShadow::ShadowVolumeGeometry::DrawMode osgShadow::ShadowVolume::_drawMode [protected]

bool osgShadow::ShadowVolume::_dynamicShadowVolumes [protected]

osg::ref_ptr<osgShadow::OccluderGeometry> osgShadow::ShadowVolume::_occluder [protected]

OpenThreads::Mutex osgShadow::ShadowVolume::_shadowVolumeMutex [protected]

osg::ref_ptr<osgShadow::ShadowVolumeGeometry> osgShadow::ShadowVolume::_shadowVolume [protected]

osg::Vec4 osgShadow::ShadowVolume::_lightpos [protected]

osg::ref_ptr<osg::Light> osgShadow::ShadowVolume::_ambientLight [protected]

osg::ref_ptr<osg::Light> osgShadow::ShadowVolume::_diffuseLight [protected]

osg::ref_ptr<osg::StateSet> osgShadow::ShadowVolume::_ss1 [protected]

osg::ref_ptr<osg::StateSet> osgShadow::ShadowVolume::_mainShadowStateSet [protected]

osg::ref_ptr<osg::StateSet> osgShadow::ShadowVolume::_shadowVolumeStateSet [protected]

osg::ref_ptr<osg::StateSet> osgShadow::ShadowVolume::_shadowedSceneStateSet [protected]


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:45 2007 for the OpenSceneGraph by doxygen 1.5.3.