openscenegraph
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
osgShadow::ShadowTechnique Class Reference
Inheritance diagram for osgShadow::ShadowTechnique:
osg::Object osg::Referenced osgShadow::ParallelSplitShadowMap osgShadow::ShadowMap osgShadow::ShadowTexture osgShadow::ShadowVolume osgShadow::ViewDependentShadowTechnique osgShadow::SoftShadowMap osgShadow::DebugShadowMap osgShadow::StandardShadowMap osgShadow::MinimalShadowMap osgShadow::MinimalCullBoundsShadowMap osgShadow::MinimalDrawBoundsShadowMap osgShadow::ProjectionShadowMap< MinimalShadowMap, LightSpacePerspectiveShadowMapAlgorithm > osgShadow::ProjectionShadowMap< MinimalCullBoundsShadowMap, LightSpacePerspectiveShadowMapAlgorithm > osgShadow::ProjectionShadowMap< MinimalDrawBoundsShadowMap, LightSpacePerspectiveShadowMapAlgorithm > osgShadow::LightSpacePerspectiveShadowMapVB osgShadow::LightSpacePerspectiveShadowMapCB osgShadow::LightSpacePerspectiveShadowMapDB

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 ()
virtual void update (osg::NodeVisitor &nv)
virtual void cull (osgUtil::CullVisitor &cv)
virtual void cleanSceneGraph ()
virtual void traverse (osg::NodeVisitor &nv)
virtual void dirty ()

Protected Member Functions

osg::Vec3 computeOrthogonalVector (const osg::Vec3 &direction) const
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.

osg::Vec3 osgShadow::ShadowTechnique::computeOrthogonalVector ( const osg::Vec3 direction) const [protected]
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: