OpenSceneGraph 2.8.4
Public Member Functions | Public Attributes
osgShadow::StandardShadowMap::ViewData Struct Reference
Inheritance diagram for osgShadow::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::ViewData::addShadowReceivingTexGen ( ) [virtual]
virtual void osgShadow::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::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::ViewData::cull ( ) [virtual]

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

Reimplemented from osgShadow::DebugShadowMap::ViewData.

virtual void osgShadow::StandardShadowMap::ViewData::cullShadowCastingScene ( ) [virtual]
virtual void osgShadow::StandardShadowMap::ViewData::cullShadowReceivingScene ( ) [virtual]
virtual void osgShadow::StandardShadowMap::ViewData::init ( ThisClass st,
osgUtil::CullVisitor cv 
) [virtual]
virtual const osg::Light* osgShadow::StandardShadowMap::ViewData::selectLight ( osg::Vec4 viewLightPos,
osg::Vec3 viewLightDir 
) [virtual]

Member Data Documentation


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

osg logo
Generated at Sun Jan 8 2012 13:16:51 for the OpenSceneGraph by doxygen 1.7.4.