osgShadow::StandardShadowMap::StandardShadowMap::ViewData Struct Reference

Inheritance diagram for osgShadow::StandardShadowMap::StandardShadowMap::ViewData:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void init (ThisClass *st, osgUtil::CullVisitor *cv)
virtual void cull ()
 Method called by ViewDependentShadowTechnique to allow ViewData do the hard work computing shadows for its associated view.
virtual void aimShadowCastingCamera (const osg::BoundingSphere &bounds, const osg::Light *light, const osg::Vec4 &worldLightPos, const osg::Vec3 &worldLightDir, const osg::Vec3 &worldLightUp=osg::Vec3(0, 1, 0))
virtual void cullShadowReceivingScene ()
virtual void cullShadowCastingScene ()
virtual void addShadowReceivingTexGen ()
virtual const osg::LightselectLight (osg::Vec4 &viewLightPos, osg::Vec3 &viewLightDir)
virtual void aimShadowCastingCamera (const osg::Light *light, const osg::Vec4 &worldLightPos, const osg::Vec3 &worldLightDir, const osg::Vec3 &worldLightUp=osg::Vec3(0, 1, 0))

Public Attributes

osg::ref_ptr< osg::Light > * _lightPtr
unsigned int * _baseTextureUnitPtr
unsigned int * _shadowTextureUnitPtr
osg::ref_ptr< osg::TexGen_texgen
osg::ref_ptr< osg::StateSet_stateset


Member Function Documentation

virtual void osgShadow::StandardShadowMap::StandardShadowMap::ViewData::addShadowReceivingTexGen (  )  [virtual]

virtual void osgShadow::StandardShadowMap::StandardShadowMap::ViewData::aimShadowCastingCamera ( const osg::Light light,
const osg::Vec4 worldLightPos,
const osg::Vec3 worldLightDir,
const osg::Vec3 worldLightUp = osg::Vec3(0, 1, 0) 
) [virtual]

virtual void osgShadow::StandardShadowMap::StandardShadowMap::ViewData::aimShadowCastingCamera ( const osg::BoundingSphere bounds,
const osg::Light light,
const osg::Vec4 worldLightPos,
const osg::Vec3 worldLightDir,
const osg::Vec3 worldLightUp = osg::Vec3(0, 1, 0) 
) [virtual]

virtual void osgShadow::StandardShadowMap::StandardShadowMap::ViewData::cull (  )  [virtual]

Method called by ViewDependentShadowTechnique to allow ViewData do the hard work computing shadows for its associated view.

Reimplemented from osgShadow::DebugShadowMap::DebugShadowMap::ViewData.

virtual void osgShadow::StandardShadowMap::StandardShadowMap::ViewData::cullShadowCastingScene (  )  [virtual]

virtual void osgShadow::StandardShadowMap::StandardShadowMap::ViewData::cullShadowReceivingScene (  )  [virtual]

virtual void osgShadow::StandardShadowMap::StandardShadowMap::ViewData::init ( ThisClass st,
osgUtil::CullVisitor cv 
) [virtual]

virtual const osg::Light* osgShadow::StandardShadowMap::StandardShadowMap::ViewData::selectLight ( osg::Vec4 viewLightPos,
osg::Vec3 viewLightDir 
) [virtual]


Member Data Documentation

unsigned int* osgShadow::StandardShadowMap::StandardShadowMap::ViewData::_baseTextureUnitPtr

osg::ref_ptr< osg::Light >* osgShadow::StandardShadowMap::StandardShadowMap::ViewData::_lightPtr

unsigned int* osgShadow::StandardShadowMap::StandardShadowMap::ViewData::_shadowTextureUnitPtr

osg::ref_ptr<osg::StateSet> osgShadow::StandardShadowMap::StandardShadowMap::ViewData::_stateset

osg::ref_ptr<osg::TexGen> osgShadow::StandardShadowMap::StandardShadowMap::ViewData::_texgen


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

osg logo
Generated at Mon Feb 23 17:56:07 2009 for the OpenSceneGraph by doxygen 1.5.8.