OpenSceneGraph 2.8.3

osgShadow::ShadowTechnique Class Reference

ShadowedScene provides a mechanism for decorating a scene that the needs to have shadows cast upon it. More...

Inheritance diagram for osgShadow::ShadowTechnique:

List of all members.

Classes

class  CameraCullCallback

Public Member Functions

 ShadowTechnique ()
 ShadowTechnique (const ShadowTechnique &es, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 META_Object (osgShadow, ShadowTechnique)
ShadowedScenegetShadowedScene ()
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 local cached 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.
virtual void traverse (osg::NodeVisitor &nv)
virtual void dirty ()
 Dirty so that cached data structures are updated.

Protected Member Functions

virtual ~ShadowTechnique ()

Protected Attributes

ShadowedScene_shadowedScene
bool _dirty

Friends

class ShadowedScene

Detailed Description

ShadowedScene provides a mechanism for decorating a scene that the needs to have shadows cast upon it.


Constructor & Destructor Documentation

osgShadow::ShadowTechnique::ShadowTechnique ( )
osgShadow::ShadowTechnique::ShadowTechnique ( const ShadowTechnique es,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY 
)
virtual osgShadow::ShadowTechnique::~ShadowTechnique ( ) [protected, virtual]

Member Function Documentation

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

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

Reimplemented in osgShadow::ParallelSplitShadowMap, osgShadow::ShadowMap, osgShadow::ShadowTexture, osgShadow::ShadowVolume, and osgShadow::ViewDependentShadowTechnique.

virtual void osgShadow::ShadowTechnique::cull ( osgUtil::CullVisitor cv) [virtual]
virtual void osgShadow::ShadowTechnique::dirty ( ) [inline, virtual]

Dirty so that cached data structures are updated.

Reimplemented in osgShadow::ViewDependentShadowTechnique.

ShadowedScene* osgShadow::ShadowTechnique::getShadowedScene ( ) [inline]
virtual void osgShadow::ShadowTechnique::init ( ) [virtual]
osgShadow::ShadowTechnique::META_Object ( osgShadow  ,
ShadowTechnique   
)
virtual void osgShadow::ShadowTechnique::traverse ( osg::NodeVisitor nv) [virtual]
virtual void osgShadow::ShadowTechnique::update ( osg::NodeVisitor nv) [virtual]

run the update traversal of the ShadowedScene and update any local cached data structures.

Reimplemented in osgShadow::ParallelSplitShadowMap, osgShadow::ShadowMap, osgShadow::ShadowTexture, osgShadow::ShadowVolume, and osgShadow::ViewDependentShadowTechnique.


Friends And Related Function Documentation

friend class ShadowedScene [friend]

Member Data Documentation


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

osg logo
Generated at Tue Mar 22 2011 13:20:28 for the OpenSceneGraph by doxygen 1.7.3.