openscenegraph
Classes | Public Types | Public Member Functions | Protected Member Functions | Friends | List of all members
osgShadow::MinimalDrawBoundsShadowMap Class Reference
Inheritance diagram for osgShadow::MinimalDrawBoundsShadowMap:
osgShadow::MinimalShadowMap osgShadow::StandardShadowMap osgShadow::DebugShadowMap osgShadow::ViewDependentShadowTechnique osgShadow::ShadowTechnique osg::Object osg::Referenced osgShadow::ProjectionShadowMap< MinimalDrawBoundsShadowMap, LightSpacePerspectiveShadowMapAlgorithm > osgShadow::LightSpacePerspectiveShadowMapDB

Classes

struct  CameraCullCallback
 
struct  ViewData
 

Public Types

typedef MinimalDrawBoundsShadowMap ThisClass
 
typedef MinimalShadowMap BaseClass
 
- Public Types inherited from osgShadow::MinimalShadowMap
enum  ShadowReceivingCoarseBoundAccuracy { EMPTY_BOX, BOUNDING_SPHERE, BOUNDING_BOX, DEFAULT_ACCURACY = BOUNDING_BOX }
 
typedef MinimalShadowMap ThisClass
 
typedef StandardShadowMap BaseClass
 
- Public Types inherited from osgShadow::StandardShadowMap
typedef StandardShadowMap ThisClass
 
typedef DebugShadowMap BaseClass
 
- Public Types inherited from osgShadow::DebugShadowMap
typedef DebugShadowMap ThisClass
 
typedef
ViewDependentShadowTechnique 
BaseClass
 

Public Member Functions

 MinimalDrawBoundsShadowMap ()
 
 MinimalDrawBoundsShadowMap (const MinimalDrawBoundsShadowMap &mdbsm, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 
 META_Object (osgShadow, MinimalDrawBoundsShadowMap)
 
- Public Member Functions inherited from osgShadow::MinimalShadowMap
 MinimalShadowMap ()
 
 MinimalShadowMap (const MinimalShadowMap &msm, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 
 META_Object (osgShadow, MinimalShadowMap)
 
void setModellingSpaceToWorldTransform (const osg::Matrix &modellingSpaceToWorld)
 
const osg::MatrixgetModellingSpaceToWorldTransform (void) const
 
float getMaxFarPlane () const
 
void setMaxFarPlane (float maxFarPlane)
 
float getMinLightMargin () const
 
void setMinLightMargin (float minLightMargin)
 
void setShadowReceivingCoarseBoundAccuracy (ShadowReceivingCoarseBoundAccuracy accuracy)
 
ShadowReceivingCoarseBoundAccuracy getShadowReceivingCoarseBoundAccuracy () const
 
- Public Member Functions inherited from osgShadow::StandardShadowMap
 StandardShadowMap ()
 
 StandardShadowMap (const StandardShadowMap &ssm, const osg::CopyOp &copyop=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::Vec2sgetTextureSize () const
 
void setLight (osg::Light *light)
 
osg::LightgetLight (void)
 
const osg::LightgetLight (void) const
 
osg::ShadergetShadowVertexShader ()
 
osg::ShadergetShadowFragmentShader ()
 
osg::ShadergetMainVertexShader ()
 
osg::ShadergetMainFragmentShader ()
 
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 &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)
 
- Public Member Functions inherited from osgShadow::ViewDependentShadowTechnique
 ViewDependentShadowTechnique (void)
 
 ViewDependentShadowTechnique (const ViewDependentShadowTechnique &vdst, const osg::CopyOp &copyop=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 &copyop=osg::CopyOp::SHALLOW_COPY)
 
 META_Object (osgShadow, ShadowTechnique)
 
ShadowedScenegetShadowedScene ()
 
- Public Member Functions inherited from osg::Object
 Object ()
 
 Object (bool threadSafeRefUnref)
 
 Object (const Object &, const CopyOp &copyop=CopyOp::SHALLOW_COPY)
 
virtual ObjectcloneType () const =0
 
virtual Objectclone (const CopyOp &) const =0
 
virtual bool isSameKindAs (const Object *) const
 
virtual const char * libraryName () const =0
 
virtual const char * className () const =0
 
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::UserDataContainergetUserDataContainer ()
 
const osg::UserDataContainergetUserDataContainer () const
 
osg::UserDataContainergetOrCreateUserDataContainer ()
 
virtual void setUserData (Referenced *obj)
 
virtual ReferencedgetUserData ()
 
virtual const ReferencedgetUserData () 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
 
- Public Member Functions inherited from osg::Referenced
 Referenced ()
 
 Referenced (bool threadSafeRefUnref)
 
 Referenced (const Referenced &)
 
Referencedoperator= (const Referenced &)
 
bool getThreadSafeRefUnref () const
 
OpenThreads::MutexgetRefMutex () const
 
int ref () const
 
int unref () const
 
int unref_nodelete () const
 
int referenceCount () const
 
ObserverSetgetObserverSet () const
 
ObserverSetgetOrCreateObserverSet () const
 
void addObserver (Observer *observer) const
 
void removeObserver (Observer *observer) const
 

Protected Member Functions

virtual ~MinimalDrawBoundsShadowMap (void)
 
 META_ViewDependentShadowTechniqueData (ThisClass, ThisClass::ViewData) struct CameraPostDrawCallback
 
- Protected Member Functions inherited from osgShadow::MinimalShadowMap
virtual ~MinimalShadowMap (void)
 
- Protected Member Functions inherited from osgShadow::StandardShadowMap
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::MutexgetGlobalReferencedMutex ()
 
static void setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting)
 
static bool getThreadSafeReferenceCounting ()
 
static void setDeleteHandler (DeleteHandler *handler)
 
static DeleteHandlergetDeleteHandler ()
 
- Protected Types inherited from osgShadow::ViewDependentShadowTechnique
typedef std::map< osg::ref_ptr
< osgUtil::CullVisitor >
, osg::ref_ptr< ViewData > > 
ViewDataMap
 
- Protected Attributes inherited from osgShadow::MinimalShadowMap
osg::Matrix _modellingSpaceToWorld
 
float _maxFarPlane
 
float _minLightMargin
 
ShadowReceivingCoarseBoundAccuracy _shadowReceivingCoarseBoundAccuracy
 

Member Typedef Documentation

Convenient typedef used in definition of ViewData struct and methods

Convenient typedef used in definition of ViewData struct and methods

Constructor & Destructor Documentation

osgShadow::MinimalDrawBoundsShadowMap::MinimalDrawBoundsShadowMap ( )

Classic OSG constructor

osgShadow::MinimalDrawBoundsShadowMap::MinimalDrawBoundsShadowMap ( const MinimalDrawBoundsShadowMap mdbsm,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY 
)

Classic OSG cloning constructor

virtual osgShadow::MinimalDrawBoundsShadowMap::~MinimalDrawBoundsShadowMap ( void  )
protectedvirtual

Classic protected OSG destructor

Member Function Documentation

osgShadow::MinimalDrawBoundsShadowMap::META_Object ( osgShadow  ,
MinimalDrawBoundsShadowMap   
)

Declaration of standard OSG object methods

osgShadow::MinimalDrawBoundsShadowMap::META_ViewDependentShadowTechniqueData ( ThisClass  ,
ThisClass::ViewData   
)
inlineprotected

Friends And Related Function Documentation

friend struct ViewData
friend

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