ShadowDrawCallback Class Reference

#include <shadowcallback.h>

List of all members.

Public Member Functions

 ShadowDrawCallback (osg::Vec3 posOfLight, osg::CameraNode *cameraNode, osg::TexGenNode *texgenNode)
 creates the shadow draw callback for the shadowed scene note that the sky and the ground is not shadowed, use any playground for having shadows on the roof
virtual void operator() (osg::Node *node, osg::NodeVisitor *nv)

Protected Member Functions

virtual ~ShadowDrawCallback ()

Protected Attributes

osg::Vec3 posOfLight
osg::ref_ptr< osg::CameraNode > _cameraNode
osg::ref_ptr< osg::TexGenNode > _texgenNode


Constructor & Destructor Documentation

ShadowDrawCallback ( osg::Vec3  posOfLight,
osg::CameraNode *  cameraNode,
osg::TexGenNode *  texgenNode 
)

creates the shadow draw callback for the shadowed scene note that the sky and the ground is not shadowed, use any playground for having shadows on the roof

~ShadowDrawCallback (  )  [protected, virtual]


Member Function Documentation

void operator() ( osg::Node *  node,
osg::NodeVisitor *  nv 
) [virtual]


Member Data Documentation

osg::ref_ptr<osg::CameraNode> _cameraNode [protected]

osg::ref_ptr<osg::TexGenNode> _texgenNode [protected]

osg::Vec3 posOfLight [protected]


The documentation for this class was generated from the following files:
Generated on Fri Oct 30 16:29:02 2009 for Robot Simulator of the Robotics Group for Self-Organization of Control by  doxygen 1.4.7