14#ifndef OSGSHADOW_SHADOWEDSCENE
15#define OSGSHADOW_SHADOWEDSCENE 1
The osgShadow library is a NodeKit that extends the core scene graph to add support for a range of sh...
Definition ConvexPolyhedron:33
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition CopyOp:41
@ SHALLOW_COPY
Definition CopyOp:47
General group node which maintains a list of children.
Definition Group:29
Visitor for type safe operations on osg::Nodes.
Definition NodeVisitor:82
Smart pointer for handling referenced counted objects.
Definition ref_ptr:32
T * get() const
Definition ref_ptr:117
Encapsulates the current applied OpenGL modes, attributes and vertex arrays settings,...
Definition State:80
virtual void releaseGLObjects(osg::State *=0) const
If State is non-zero, this function releases any associated OpenGL objects for the specified graphics...
ShadowSettings * getShadowSettings()
Definition ShadowedScene:43
void cleanSceneGraph()
Clean scene graph from any shadow technique specific nodes, state and drawables.
virtual void resizeGLObjectBuffers(unsigned int maxSize)
Resize any per context GLObject buffers to specified size.
const ShadowTechnique * getShadowTechnique() const
Definition ShadowedScene:50
unsigned int getReceivesShadowTraversalMask() const
deprecated, moved to ShadowSettings.
Definition ShadowedScene:71
osg::ref_ptr< ShadowTechnique > _shadowTechnique
Definition ShadowedScene:83
ShadowedScene(ShadowTechnique *st=0)
ShadowedScene(const ShadowedScene &es, const osg::CopyOp ©op=osg::CopyOp::SHALLOW_COPY)
void dirty()
Dirty any cache data structures held in the attached ShadowTechnqiue.
unsigned int getCastsShadowTraversalMask() const
deprecated, moved to ShadowSettings.
Definition ShadowedScene:76
void setShadowSettings(const osg::ref_ptr< T > &ss)
Definition ShadowedScene:41
void setShadowTechnique(ShadowTechnique *technique)
virtual void traverse(osg::NodeVisitor &nv)
Traverse downwards : calls children's accept method with NodeVisitor.
osg::ref_ptr< ShadowSettings > _shadowSettings
Definition ShadowedScene:82
void setReceivesShadowTraversalMask(unsigned int mask)
deprecated, moved to ShadowSettings.
Definition ShadowedScene:69
META_Node(osgShadow, ShadowedScene)
void setShadowTechnique(const osg::ref_ptr< T > &ss)
Definition ShadowedScene:47
void setShadowSettings(ShadowSettings *ss)
const ShadowSettings * getShadowSettings() const
Definition ShadowedScene:44
ShadowTechnique * getShadowTechnique()
Definition ShadowedScene:49
void setCastsShadowTraversalMask(unsigned int mask)
deprecated, moved to ShadowSettings.
Definition ShadowedScene:74
ShadowSettings provides the parameters that the ShadowTechnique should use as a guide for setting up ...
Definition ShadowSettings:25
ShadowTechnique is the base class for different shadow implementations.
Definition ShadowTechnique:32
#define OSGSHADOW_EXPORT
Definition Export:39