osgShadow::ShadowedScene Class Reference

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

Inheritance diagram for osgShadow::ShadowedScene:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 ShadowedScene (ShadowTechnique *st=0)
 ShadowedScene (const ShadowedScene &es, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 META_Node (osgShadow, ShadowedScene)
virtual void traverse (osg::NodeVisitor &nv)
 Traverse downwards : calls children's accept method with NodeVisitor.
void setReceivesShadowTraversalMask (unsigned int mask)
unsigned int getReceivesShadowTraversalMask () const
void setCastsShadowTraversalMask (unsigned int mask)
unsigned int getCastsShadowTraversalMask () const
void setShadowTechnique (ShadowTechnique *technique)
ShadowTechniquegetShadowTechnique ()
const ShadowTechniquegetShadowTechnique () const
void cleanSceneGraph ()
 Clean scene graph from any shadow technique specific nodes, state and drawables.
void dirty ()
 Dirty any cache data structures held in the attached ShadowTechnqiue.

Protected Member Functions

virtual ~ShadowedScene ()

Protected Attributes

unsigned int _receivesShadowTraversalMask
unsigned int _castsShadowTraversalMask
osg::ref_ptr
< ShadowTechnique
_shadowTechnique


Detailed Description

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


Constructor & Destructor Documentation

osgShadow::ShadowedScene::ShadowedScene ( ShadowTechnique st = 0  ) 

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

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


Member Function Documentation

osgShadow::ShadowedScene::META_Node ( osgShadow  ,
ShadowedScene   
)

virtual void osgShadow::ShadowedScene::traverse ( osg::NodeVisitor  )  [virtual]

Traverse downwards : calls children's accept method with NodeVisitor.

Reimplemented from osg::Group.

void osgShadow::ShadowedScene::setReceivesShadowTraversalMask ( unsigned int  mask  )  [inline]

unsigned int osgShadow::ShadowedScene::getReceivesShadowTraversalMask (  )  const [inline]

void osgShadow::ShadowedScene::setCastsShadowTraversalMask ( unsigned int  mask  )  [inline]

unsigned int osgShadow::ShadowedScene::getCastsShadowTraversalMask (  )  const [inline]

void osgShadow::ShadowedScene::setShadowTechnique ( ShadowTechnique technique  ) 

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

const ShadowTechnique* osgShadow::ShadowedScene::getShadowTechnique (  )  const [inline]

void osgShadow::ShadowedScene::cleanSceneGraph (  ) 

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

void osgShadow::ShadowedScene::dirty (  ) 

Dirty any cache data structures held in the attached ShadowTechnqiue.


Member Data Documentation

unsigned int osgShadow::ShadowedScene::_receivesShadowTraversalMask [protected]

unsigned int osgShadow::ShadowedScene::_castsShadowTraversalMask [protected]

osg::ref_ptr<ShadowTechnique> osgShadow::ShadowedScene::_shadowTechnique [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.