Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

osg::NodeCallback Class Reference

Inheritance diagram for osg::NodeCallback:

Inheritance graph
[legend]
List of all members.

Public Methods

 NodeCallback ()
virtual ~NodeCallback ()
virtual void operator() (Node *node, NodeVisitor *nv)
 Callback method call by the NodeVisitor when visiting a node.

void traverse (Node *node, NodeVisitor *nv)
 Call any nested callbacks and then traverse the scene graph.

void setNestedCallback (NodeCallback *nc)
NodeCallback * getNestedCallback ()
void addNestedCallback (NodeCallback *nc)
void removeNestedCallback (NodeCallback *nc)

Public Attributes

ref_ptr< NodeCallback > _nestedCallback

Constructor & Destructor Documentation

osg::NodeCallback::NodeCallback   [inline]
 

virtual osg::NodeCallback::~NodeCallback   [inline, virtual]
 


Member Function Documentation

void osg::NodeCallback::addNestedCallback NodeCallback *    nc [inline]
 

NodeCallback* osg::NodeCallback::getNestedCallback   [inline]
 

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

Callback method call by the NodeVisitor when visiting a node.

Reimplemented in osg::MatrixTransform::AnimationPathCallback, osg::PositionAttitudeTransform::AnimationPathCallback, and osgUtil::TransformCallback.

void osg::NodeCallback::removeNestedCallback NodeCallback *    nc [inline]
 

void osg::NodeCallback::setNestedCallback NodeCallback *    nc [inline]
 

void osg::NodeCallback::traverse Node   node,
NodeVisitor   nv
 

Call any nested callbacks and then traverse the scene graph.


Member Data Documentation

ref_ptr<NodeCallback> osg::NodeCallback::_nestedCallback
 


The documentation for this class was generated from the following file:
Generated at Wed Sep 18 13:55:34 2002 for the Open Scene Graph by doxygen 1.2.16.