OpenSceneGraph 2.8.3
|
ShadowedScene provides a mechanism for decorating a scene that the needs to have shadows cast upon it. More...
Classes | |
class | CameraCullCallback |
Public Member Functions | |
ShadowTechnique () | |
ShadowTechnique (const ShadowTechnique &es, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
META_Object (osgShadow, ShadowTechnique) | |
ShadowedScene * | getShadowedScene () |
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 |
ShadowedScene provides a mechanism for decorating a scene that the needs to have shadows cast upon it.
osgShadow::ShadowTechnique::ShadowTechnique | ( | ) |
osgShadow::ShadowTechnique::ShadowTechnique | ( | const ShadowTechnique & | es, |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
) |
virtual osgShadow::ShadowTechnique::~ShadowTechnique | ( | ) | [protected, virtual] |
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] |
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::ViewDependentShadowTechnique.
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] |
initialize the ShadowedScene and local cached data structures.
Reimplemented in osgShadow::ParallelSplitShadowMap, osgShadow::ShadowMap, osgShadow::ShadowTexture, osgShadow::ShadowVolume, and osgShadow::ViewDependentShadowTechnique.
osgShadow::ShadowTechnique::META_Object | ( | osgShadow | , |
ShadowTechnique | |||
) |
virtual void osgShadow::ShadowTechnique::traverse | ( | osg::NodeVisitor & | nv | ) | [virtual] |
Reimplemented in osgShadow::ViewDependentShadowTechnique.
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.
friend class ShadowedScene [friend] |
bool osgShadow::ShadowTechnique::_dirty [protected] |
ShadowedScene* osgShadow::ShadowTechnique::_shadowedScene [protected] |
![]() | Generated at Tue Mar 22 2011 13:20:28 for the OpenSceneGraph by doxygen 1.7.3. |