OpenSceneGraph  3.0.1
Classes | Namespaces | Defines
ViewDependentShadowTechnique File Reference
#include <osgShadow/ShadowTechnique>
#include <map>
#include <osgShadow/Export>

Classes

class  osgShadow::ViewDependentShadowTechnique
 ViewDependentShadowTechnique is a base class for all View Dependent Shadow techniques. More...
struct  osgShadow::ViewDependentShadowTechnique::ViewData
 Base container class for view dependent shadow resources. More...

Namespaces

namespace  osgShadow
 

The osgShadow library is a NodeKit that extends the core scene graph to add support for a range of shadow techniques.


Defines

#define OSGSHADOW_VIEWDEPENDENTSHADOWTECHINIQUE   1
#define META_ViewDependentShadowTechniqueData(ShadowTechnique, TechniqueData)
 META_ViewDependentShadowTechniqueData macro defines initViewDependentData method used by derived shadow techniques to initialize their specific ViewData objects.

Define Documentation

#define META_ViewDependentShadowTechniqueData (   ShadowTechnique,
  TechniqueData 
)
Value:
virtual ViewDependentShadowTechnique::ViewData * initViewDependentData         \
( osgUtil::CullVisitor *cv, ViewDependentShadowTechnique::ViewData * vd )      \
{                                                                              \
    TechniqueData* td = dynamic_cast<TechniqueData*>( vd );                    \
    if ( !td ) td = new TechniqueData;                                         \
    td->init( this, cv );                                                      \
    return td;                                                                 \
}

META_ViewDependentShadowTechniqueData macro defines initViewDependentData method used by derived shadow techniques to initialize their specific ViewData objects.

initViewDependentData will be called from ViewDependentShadowTechnique base class to init derived class

#define OSGSHADOW_VIEWDEPENDENTSHADOWTECHINIQUE   1

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