
Classes | |
| struct | ViewData |
Public Types | |
| typedef DebugShadowMap | ThisClass |
| typedef ViewDependentShadowTechnique | BaseClass |
Public Member Functions | |
| DebugShadowMap () | |
| DebugShadowMap (const DebugShadowMap &dsm, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| META_Object (ViewDependentShadow, DebugShadowMap) | |
| void | setDebugDraw (bool draw) |
| bool | getDebugDraw (void) |
Protected Member Functions | |
| virtual | ~DebugShadowMap () |
Protected Attributes | |
| osg::Vec2s | _hudSize |
| osg::Vec2s | _hudOrigin |
| osg::Vec2s | _viewportSize |
| osg::Vec2s | _viewportOrigin |
| osg::Vec2s | _orthoSize |
| osg::Vec2s | _orthoOrigin |
| bool | _doDebugDraw |
| osg::ref_ptr< osg::Shader > | _depthColorFragmentShader |
Debuging outputs present: Shadow maps (pseudo colored to improve readability) Shadow and related volumes (represented as convex polyhedra)
Convenient typedef used in definition of ViewData struct and methods
Reimplemented in osgShadow::LightSpacePerspectiveShadowMapDB, osgShadow::LightSpacePerspectiveShadowMapCB, osgShadow::LightSpacePerspectiveShadowMapVB, osgShadow::MinimalCullBoundsShadowMap, osgShadow::MinimalDrawBoundsShadowMap, osgShadow::MinimalShadowMap, osgShadow::StandardShadowMap, osgShadow::ProjectionShadowMap< MinimalDrawBoundsShadowMap, LightSpacePerspectiveShadowMapAlgorithm >, osgShadow::ProjectionShadowMap< MinimalCullBoundsShadowMap, LightSpacePerspectiveShadowMapAlgorithm >, and osgShadow::ProjectionShadowMap< MinimalShadowMap, LightSpacePerspectiveShadowMapAlgorithm >.
Convenient typedef used in definition of ViewData struct and methods
Reimplemented in osgShadow::MinimalCullBoundsShadowMap, osgShadow::MinimalDrawBoundsShadowMap, osgShadow::MinimalShadowMap, osgShadow::StandardShadowMap, osgShadow::ProjectionShadowMap< MinimalDrawBoundsShadowMap, LightSpacePerspectiveShadowMapAlgorithm >, osgShadow::ProjectionShadowMap< MinimalCullBoundsShadowMap, LightSpacePerspectiveShadowMapAlgorithm >, and osgShadow::ProjectionShadowMap< MinimalShadowMap, LightSpacePerspectiveShadowMapAlgorithm >.
| osgShadow::DebugShadowMap::DebugShadowMap | ( | ) |
Classic OSG constructor
| osgShadow::DebugShadowMap::DebugShadowMap | ( | const DebugShadowMap & | dsm, | |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY | |||
| ) |
Classic OSG cloning constructor
| virtual osgShadow::DebugShadowMap::~DebugShadowMap | ( | ) | [protected, virtual] |
Classic protected OSG destructor
| bool osgShadow::DebugShadowMap::getDebugDraw | ( | void | ) | [inline] |
Tell if debuging hud & rendering of debug volumes is active
| osgShadow::DebugShadowMap::META_Object | ( | ViewDependentShadow | , | |
| DebugShadowMap | ||||
| ) |
Declaration of standard OSG object methods
| void osgShadow::DebugShadowMap::setDebugDraw | ( | bool | draw | ) | [inline] |
Turn on/off debuging hud & rendering of debug volumes in main view
bool osgShadow::DebugShadowMap::_doDebugDraw [protected] |
osg::Vec2s osgShadow::DebugShadowMap::_hudOrigin [protected] |
osg::Vec2s osgShadow::DebugShadowMap::_hudSize [protected] |
osg::Vec2s osgShadow::DebugShadowMap::_orthoOrigin [protected] |
osg::Vec2s osgShadow::DebugShadowMap::_orthoSize [protected] |
osg::Vec2s osgShadow::DebugShadowMap::_viewportOrigin [protected] |
osg::Vec2s osgShadow::DebugShadowMap::_viewportSize [protected] |
1.5.9