openscenegraph
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
osgShadow::DebugShadowMap Class Reference
Inheritance diagram for osgShadow::DebugShadowMap:
osgShadow::ViewDependentShadowTechnique osgShadow::ShadowTechnique osg::Object osg::Referenced osgShadow::StandardShadowMap osgShadow::MinimalShadowMap osgShadow::MinimalCullBoundsShadowMap osgShadow::MinimalDrawBoundsShadowMap osgShadow::ProjectionShadowMap< MinimalShadowMap, LightSpacePerspectiveShadowMapAlgorithm > osgShadow::ProjectionShadowMap< MinimalCullBoundsShadowMap, LightSpacePerspectiveShadowMapAlgorithm > osgShadow::ProjectionShadowMap< MinimalDrawBoundsShadowMap, LightSpacePerspectiveShadowMapAlgorithm > osgShadow::LightSpacePerspectiveShadowMapVB osgShadow::LightSpacePerspectiveShadowMapCB osgShadow::LightSpacePerspectiveShadowMapDB

List of all members.

Classes

struct  ViewData

Public Types

typedef DebugShadowMap ThisClass
typedef
ViewDependentShadowTechnique 
BaseClass

Public Member Functions

 DebugShadowMap ()
 DebugShadowMap (const DebugShadowMap &dsm, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 META_Object (osgShadow, DebugShadowMap)
void setDebugDraw (bool draw)
bool getDebugDraw (void) const
std::string getDebugDump (void) const
void setDebugDump (const std::string &debugDumpFile)

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
std::string _debugDump
osg::ref_ptr< osg::Shader_depthColorFragmentShader

Detailed Description

Class used as a layer for debuging resources used by derived xxxShadowMap classes. As designed by its base ViewDepndentShadowTechnique, DebugShadowMap serves mainly as container of DebugShadowMap::ViewData objects. Most of the debuging support work is done by these objects. DebugShadowMap technique only initializes them in initViewDependentData method.

Debuging outputs present: Shadow maps (pseudo colored to improve readability) Shadow and related volumes (represented as convex polyhedra)


Member Typedef Documentation


Constructor & Destructor Documentation

Classic OSG constructor

Classic OSG cloning constructor

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

Classic protected OSG destructor


Member Function Documentation

bool osgShadow::DebugShadowMap::getDebugDraw ( void  ) const [inline]

Tell if debuging hud & rendering of debug volumes is active

std::string osgShadow::DebugShadowMap::getDebugDump ( void  ) const [inline]

Get the file name of debuging dump

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

void osgShadow::DebugShadowMap::setDebugDump ( const std::string &  debugDumpFile) [inline]

Set the file name of debuging dump


Member Data Documentation

std::string osgShadow::DebugShadowMap::_debugDump [protected]

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