openscenegraph
|
Classes | |
struct | ViewData |
Public Types | |
typedef DebugShadowMap | ThisClass |
typedef ViewDependentShadowTechnique | BaseClass |
Protected Member Functions | |
virtual | ~DebugShadowMap () |
![]() | |
~ViewDependentShadowTechnique (void) | |
virtual ViewDependentShadowTechnique::ViewData * | getViewDependentData (osgUtil::CullVisitor *cv) |
virtual void | setViewDependentData (osgUtil::CullVisitor *cv, ViewDependentShadowTechnique::ViewData *data) |
![]() | |
osg::Vec3 | computeOrthogonalVector (const osg::Vec3 &direction) const |
virtual | ~ShadowTechnique () |
![]() | |
virtual | ~Object () |
![]() | |
virtual | ~Referenced () |
void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
void | deleteUsingDeleteHandler () const |
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 |
![]() | |
ViewDataMap | _viewDataMap |
OpenThreads::Mutex | _viewDataMapMutex |
![]() | |
ShadowedScene * | _shadowedScene |
bool | _dirty |
![]() | |
std::string | _name |
DataVariance | _dataVariance |
osg::UserDataContainer * | _userDataContainer |
![]() | |
OpenThreads::AtomicPtr | _observerSet |
OpenThreads::Atomic | _refCount |
Additional Inherited Members | |
![]() | |
static OpenThreads::Mutex * | getGlobalReferencedMutex () |
static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
static bool | getThreadSafeReferenceCounting () |
static void | setDeleteHandler (DeleteHandler *handler) |
static DeleteHandler * | getDeleteHandler () |
![]() | |
typedef std::map< osg::ref_ptr < osgUtil::CullVisitor > , osg::ref_ptr< ViewData > > | ViewDataMap |
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)
Convenient typedef used in definition of ViewData struct and methods
Convenient typedef used in definition of ViewData struct and methods
osgShadow::DebugShadowMap::DebugShadowMap | ( | ) |
Classic OSG constructor
osgShadow::DebugShadowMap::DebugShadowMap | ( | const DebugShadowMap & | dsm, |
const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
) |
Classic OSG cloning constructor
|
protectedvirtual |
Classic protected OSG destructor
|
inline |
Tell if debuging hud & rendering of debug volumes is active
|
inline |
Get the file name of debuging dump
osgShadow::DebugShadowMap::META_Object | ( | osgShadow | , |
DebugShadowMap | |||
) |
Declaration of standard OSG object methods
|
inline |
Turn on/off debuging hud & rendering of debug volumes in main view
|
inline |
Set the file name of debuging dump
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |