osgShadow::ShadowTechnique Class Reference

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

Inheritance diagram for osgShadow::ShadowTechnique:

Inheritance graph
[legend]

List of all members.

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 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.
virtual void traverse (osg::NodeVisitor &nv)
virtual void dirty ()
 Dirty so that cached data structurese are updated.

Protected Member Functions

virtual ~ShadowTechnique ()

Protected Attributes

ShadowedScene_shadowedScene
bool _dirty

Friends

class ShadowedScene

Classes

class  CameraCullCallback


Detailed Description

ShadowedScene provides a mechansim 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

osgShadow::ShadowTechnique::META_Object ( osgShadow  ,
ShadowTechnique   
)

ShadowedScene* osgShadow::ShadowTechnique::getShadowedScene (  )  [inline]

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

initialize the ShadowedScene and local cached data structures.

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

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

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

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

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

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

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

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::SoftShadowMap.

virtual void osgShadow::ShadowTechnique::traverse ( osg::NodeVisitor nv  )  [virtual]

virtual void osgShadow::ShadowTechnique::dirty (  )  [inline, virtual]

Dirty so that cached data structurese are updated.


Friends And Related Function Documentation

friend class ShadowedScene [friend]


Member Data Documentation

ShadowedScene* osgShadow::ShadowTechnique::_shadowedScene [protected]

bool osgShadow::ShadowTechnique::_dirty [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.