|
OSG
3.4.0
|
#include <StandardShadowMap.h>


Classes | |
| struct | ViewData |
Public Types | |
| typedef StandardShadowMap | ThisClass |
| typedef DebugShadowMap | BaseClass |
Public Types inherited from osgShadow::DebugShadowMap | |
| typedef DebugShadowMap | ThisClass |
| typedef ViewDependentShadowTechnique | BaseClass |
Public Types inherited from osg::Object | |
| enum | DataVariance { DYNAMIC, STATIC, UNSPECIFIED } |
Public Member Functions | |
| StandardShadowMap () | |
| StandardShadowMap (const StandardShadowMap &ssm, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| META_Object (osgShadow, StandardShadowMap) | |
| void | setBaseTextureUnit (unsigned int unit) |
| unsigned int | getBaseTextureUnit (void) const |
| void | setShadowTextureUnit (unsigned int unit) |
| unsigned int | getShadowTextureUnit (void) const |
| void | setBaseTextureCoordIndex (unsigned int index) |
| unsigned int | getBaseTextureCoordIndex (void) const |
| void | setShadowTextureCoordIndex (unsigned int index) |
| unsigned int | getShadowTextureCoordIndex (void) const |
| void | setTextureSize (const osg::Vec2s &textureSize) |
| const osg::Vec2s & | getTextureSize () const |
| void | setLight (osg::Light *light) |
| osg::Light * | getLight (void) |
| const osg::Light * | getLight (void) const |
| osg::Shader * | getShadowVertexShader () |
| osg::Shader * | getShadowFragmentShader () |
| osg::Shader * | getMainVertexShader () |
| osg::Shader * | getMainFragmentShader () |
| void | setShadowVertexShader (osg::Shader *shader) |
| void | setShadowFragmentShader (osg::Shader *shader) |
| void | setMainVertexShader (osg::Shader *shader) |
| void | setMainFragmentShader (osg::Shader *shader) |
Public Member Functions inherited from osgShadow::DebugShadowMap | |
| DebugShadowMap () | |
| DebugShadowMap (const DebugShadowMap &dsm, const osg::CopyOp ©op=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) |
Public Member Functions inherited from osgShadow::ViewDependentShadowTechnique | |
| ViewDependentShadowTechnique (void) | |
| ViewDependentShadowTechnique (const ViewDependentShadowTechnique &vdst, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| META_Object (osgShadow, ViewDependentShadowTechnique) | |
| virtual void | dirty () |
| virtual void | init () |
| virtual void | update (osg::NodeVisitor &nv) |
| virtual void | cull (osgUtil::CullVisitor &cv) |
| virtual void | cleanSceneGraph () |
| virtual void | traverse (osg::NodeVisitor &nv) |
Public Member Functions inherited from osgShadow::ShadowTechnique | |
| ShadowTechnique () | |
| ShadowTechnique (const ShadowTechnique &es, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY) | |
| META_Object (osgShadow, ShadowTechnique) | |
| ShadowedScene * | getShadowedScene () |
| const ShadowedScene * | getShadowedScene () const |
Public Member Functions inherited from osg::Object | |
| Object () | |
| Object (bool threadSafeRefUnref) | |
| Object (const Object &, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| virtual Object * | cloneType () const =0 |
| virtual Object * | clone (const CopyOp &) const =0 |
| virtual bool | isSameKindAs (const Object *) const |
| virtual const char * | libraryName () const =0 |
| virtual const char * | className () const =0 |
| std::string | getCompoundClassName () const |
| virtual Node * | asNode () |
| virtual const Node * | asNode () const |
| virtual NodeVisitor * | asNodeVisitor () |
| virtual const NodeVisitor * | asNodeVisitor () const |
| virtual StateAttribute * | asStateAttribute () |
| virtual const StateAttribute * | asStateAttribute () const |
| virtual Uniform * | asUniform () |
| virtual const Uniform * | asUniform () const |
| virtual void | setThreadSafeRefUnref (bool threadSafe) |
| virtual void | setName (const std::string &name) |
| void | setName (const char *name) |
| const std::string & | getName () const |
| void | setDataVariance (DataVariance dv) |
| DataVariance | getDataVariance () const |
| virtual void | computeDataVariance () |
| void | setUserDataContainer (osg::UserDataContainer *udc) |
| osg::UserDataContainer * | getUserDataContainer () |
| const osg::UserDataContainer * | getUserDataContainer () const |
| osg::UserDataContainer * | getOrCreateUserDataContainer () |
| virtual void | setUserData (Referenced *obj) |
| virtual Referenced * | getUserData () |
| virtual const Referenced * | getUserData () const |
| template<typename T > | |
| bool | getUserValue (const std::string &name, T &value) const |
| template<typename T > | |
| void | setUserValue (const std::string &name, const T &value) |
| virtual void | resizeGLObjectBuffers (unsigned int) |
| virtual void | releaseGLObjects (osg::State *=0) const |
| template<typename T > | |
| BoolValueObject UCharValueObject UShortValueObject UIntValueObject DoubleValueObject Vec3fValueObject Vec2dValueObject Vec4dValueObject PlaneValueObject MatrixdValueObject BoundingBoxdValueObject BoundingSpheredValueObject bool | getUserValue (const std::string &name, T &value) const |
Public Member Functions inherited from osg::Referenced | |
| Referenced () | |
| Referenced (bool threadSafeRefUnref) | |
| Referenced (const Referenced &) | |
| Referenced & | operator= (const Referenced &) |
| bool | getThreadSafeRefUnref () const |
| OpenThreads::Mutex * | getRefMutex () const |
| int | ref () const |
| int | unref () const |
| int | unref_nodelete () const |
| int | referenceCount () const |
| ObserverSet * | getObserverSet () const |
| ObserverSet * | getOrCreateObserverSet () const |
| void | addObserver (Observer *observer) const |
| void | removeObserver (Observer *observer) const |
Protected Member Functions | |
| virtual | ~StandardShadowMap (void) |
| virtual void | updateTextureCoordIndices (unsigned int baseTexCoordIndex, unsigned int shadowTexCoordIndex) |
| virtual void | searchAndReplaceShaderSource (osg::Shader *, std::string fromString, std::string toString) |
Protected Member Functions inherited from osgShadow::DebugShadowMap | |
| virtual | ~DebugShadowMap () |
Protected Member Functions inherited from osgShadow::ViewDependentShadowTechnique | |
| ~ViewDependentShadowTechnique (void) | |
| virtual ViewDependentShadowTechnique::ViewData * | getViewDependentData (osgUtil::CullVisitor *cv) |
| virtual void | setViewDependentData (osgUtil::CullVisitor *cv, ViewDependentShadowTechnique::ViewData *data) |
Protected Member Functions inherited from osgShadow::ShadowTechnique | |
| osg::Vec3 | computeOrthogonalVector (const osg::Vec3 &direction) const |
| virtual | ~ShadowTechnique () |
Protected Member Functions inherited from osg::Object | |
| virtual | ~Object () |
Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
Friends | |
| struct | ViewData |
Additional Inherited Members | |
Static Public Member Functions inherited from osg::Referenced | |
| static OpenThreads::Mutex * | getGlobalReferencedMutex () |
| static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
| static bool | getThreadSafeReferenceCounting () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| static DeleteHandler * | getDeleteHandler () |
Protected Types inherited from osgShadow::ViewDependentShadowTechnique | |
| typedef std::map< osg::ref_ptr < osgUtil::CullVisitor > , osg::ref_ptr< ViewData > > | ViewDataMap |
Definition at line 24 of file StandardShadowMap.h.
Convenient typedef used in definition of ViewData struct and methods
Definition at line 30 of file StandardShadowMap.h.
Convenient typedef used in definition of ViewData struct and methods
Definition at line 28 of file StandardShadowMap.h.
| osgShadow::StandardShadowMap::StandardShadowMap | ( | ) |
Classic OSG constructor
| osgShadow::StandardShadowMap::StandardShadowMap | ( | const StandardShadowMap & | ssm, |
| const osg::CopyOp & | copyop = osg::CopyOp::SHALLOW_COPY |
||
| ) |
Classic OSG cloning constructor
|
protectedvirtual |
Classic protected OSG destructor
|
inline |
Definition at line 75 of file StandardShadowMap.h.
|
inline |
Definition at line 45 of file StandardShadowMap.h.
|
inline |
Definition at line 97 of file StandardShadowMap.h.
|
inline |
Definition at line 100 of file StandardShadowMap.h.
|
inline |
Definition at line 112 of file StandardShadowMap.h.
|
inline |
Definition at line 109 of file StandardShadowMap.h.
|
inline |
Definition at line 106 of file StandardShadowMap.h.
|
inline |
Definition at line 85 of file StandardShadowMap.h.
|
inline |
Definition at line 51 of file StandardShadowMap.h.
|
inline |
Definition at line 103 of file StandardShadowMap.h.
|
inline |
Definition at line 91 of file StandardShadowMap.h.
| osgShadow::StandardShadowMap::META_Object | ( | osgShadow | , |
| StandardShadowMap | |||
| ) |
Declaration of standard OSG object methods
|
protectedvirtual |
|
inline |
Definition at line 71 of file StandardShadowMap.h.
|
inline |
Definition at line 42 of file StandardShadowMap.h.
|
inline |
Definition at line 94 of file StandardShadowMap.h.
|
inline |
Definition at line 124 of file StandardShadowMap.h.
|
inline |
Definition at line 121 of file StandardShadowMap.h.
|
inline |
Definition at line 118 of file StandardShadowMap.h.
|
inline |
Definition at line 81 of file StandardShadowMap.h.
|
inline |
Definition at line 48 of file StandardShadowMap.h.
|
inline |
Definition at line 115 of file StandardShadowMap.h.
|
inline |
Definition at line 88 of file StandardShadowMap.h.
|
protectedvirtual |
|
friend |
Definition at line 193 of file StandardShadowMap.h.
|
protected |
Definition at line 148 of file StandardShadowMap.h.
|
protected |
Definition at line 146 of file StandardShadowMap.h.
|
protected |
Definition at line 142 of file StandardShadowMap.h.
|
protected |
Definition at line 138 of file StandardShadowMap.h.
|
protected |
Definition at line 137 of file StandardShadowMap.h.
|
protected |
Definition at line 143 of file StandardShadowMap.h.
|
protected |
Definition at line 144 of file StandardShadowMap.h.
|
protected |
Definition at line 140 of file StandardShadowMap.h.
|
protected |
Definition at line 149 of file StandardShadowMap.h.
|
protected |
Definition at line 147 of file StandardShadowMap.h.
|
protected |
Definition at line 139 of file StandardShadowMap.h.
|
protected |
Definition at line 145 of file StandardShadowMap.h.
1.8.8