OpenSceneGraph  3.0.1
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
osgShadow::MinimalShadowMap Class Reference
Inheritance diagram for osgShadow::MinimalShadowMap:
Inheritance graph
[legend]

List of all members.

Classes

struct  ViewData

Public Types

enum  ShadowReceivingCoarseBoundAccuracy { EMPTY_BOX, BOUNDING_SPHERE, BOUNDING_BOX, DEFAULT_ACCURACY = BOUNDING_BOX }
typedef MinimalShadowMap ThisClass
 Convenient typedef used in definition of ViewData struct and methods.
typedef StandardShadowMap BaseClass
 Convenient typedef used in definition of ViewData struct and methods.

Public Member Functions

 MinimalShadowMap ()
 Classic OSG constructor.
 MinimalShadowMap (const MinimalShadowMap &msm, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 Classic OSG cloning constructor.
 META_Object (osgShadow, MinimalShadowMap)
 Declaration of standard OSG object methods.
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

Protected Member Functions

virtual ~MinimalShadowMap (void)
 Classic protected OSG destructor.

Protected Attributes

osg::Matrix _modellingSpaceToWorld
float _maxFarPlane
float _minLightMargin
ShadowReceivingCoarseBoundAccuracy _shadowReceivingCoarseBoundAccuracy

Member Typedef Documentation

Convenient typedef used in definition of ViewData struct and methods.

Reimplemented from osgShadow::StandardShadowMap.

Reimplemented in osgShadow::MinimalDrawBoundsShadowMap, and osgShadow::MinimalCullBoundsShadowMap.

Convenient typedef used in definition of ViewData struct and methods.

Reimplemented from osgShadow::StandardShadowMap.

Reimplemented in osgShadow::MinimalDrawBoundsShadowMap, and osgShadow::MinimalCullBoundsShadowMap.


Member Enumeration Documentation

Enumerator:
EMPTY_BOX 
BOUNDING_SPHERE 
BOUNDING_BOX 
DEFAULT_ACCURACY 

Constructor & Destructor Documentation

osgShadow::MinimalShadowMap::MinimalShadowMap ( )

Classic OSG constructor.

osgShadow::MinimalShadowMap::MinimalShadowMap ( const MinimalShadowMap msm,
const osg::CopyOp copyop = osg::CopyOp::SHALLOW_COPY 
)

Classic OSG cloning constructor.

virtual osgShadow::MinimalShadowMap::~MinimalShadowMap ( void  ) [protected, virtual]

Classic protected OSG destructor.


Member Function Documentation

float osgShadow::MinimalShadowMap::getMaxFarPlane ( ) const [inline]
float osgShadow::MinimalShadowMap::getMinLightMargin ( ) const [inline]
const osg::Matrix& osgShadow::MinimalShadowMap::getModellingSpaceToWorldTransform ( void  ) const [inline]
ShadowReceivingCoarseBoundAccuracy osgShadow::MinimalShadowMap::getShadowReceivingCoarseBoundAccuracy ( ) const [inline]
osgShadow::MinimalShadowMap::META_Object ( osgShadow  ,
MinimalShadowMap   
)

Declaration of standard OSG object methods.

void osgShadow::MinimalShadowMap::setMaxFarPlane ( float  maxFarPlane) [inline]
void osgShadow::MinimalShadowMap::setMinLightMargin ( float  minLightMargin) [inline]
void osgShadow::MinimalShadowMap::setModellingSpaceToWorldTransform ( const osg::Matrix modellingSpaceToWorld) [inline]
void osgShadow::MinimalShadowMap::setShadowReceivingCoarseBoundAccuracy ( ShadowReceivingCoarseBoundAccuracy  accuracy) [inline]

Member Data Documentation


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

osg logo
Generated at Mon Oct 3 2011 12:39:48 for the OpenSceneGraph by doxygen 1.7.5.