CEDRIC  Revision_backup-2009-02
Public Types | Public Member Functions | Protected Member Functions | List of all members
CreatePlanarShadowVisitor Class Reference

#include <CreatePlanarShadowVisitor.h>

Inheritance diagram for CreatePlanarShadowVisitor:

Public Types

enum  ProjectionPlane { XY_PLANE, XZ_PLANE, YZ_PLANE }
 

Public Member Functions

 CreatePlanarShadowVisitor (int projectionPlane=XZ_PLANE, double distance=-1.0, osg::Vec4 shadowColor=osg::Vec4(0, 0, 0, 1))
 
virtual void apply (osg::Geode &geode)
 
virtual void apply (osg::Billboard &billboard)
 
virtual void apply (osg::Transform &transform)
 
osg::Node * getShadow ()
 

Protected Member Functions

osg::Geode * buildShadowFromGeometry (osg::Geometry *geom)
 

Member Enumeration Documentation

Enumerator
XY_PLANE 
XZ_PLANE 
YZ_PLANE 

Constructor & Destructor Documentation

CreatePlanarShadowVisitor::CreatePlanarShadowVisitor ( int  projectionPlane = XZ_PLANE,
double  distance = -1.0,
osg::Vec4  shadowColor = osg::Vec4(0,0,0,1) 
)

References XY_PLANE, XZ_PLANE, and YZ_PLANE.

Member Function Documentation

virtual void CreatePlanarShadowVisitor::apply ( osg::Geode &  geode)
virtual
virtual void CreatePlanarShadowVisitor::apply ( osg::Billboard &  billboard)
virtual
virtual void CreatePlanarShadowVisitor::apply ( osg::Transform &  transform)
virtual
Geode * CreatePlanarShadowVisitor::buildShadowFromGeometry ( osg::Geometry *  geom)
protected
osg::Node* CreatePlanarShadowVisitor::getShadow ( )
inline