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

osgUtil::AppVisitor Class Reference

Basic AppVisitor implementation for animating a scene. More...

Inheritance diagram for osgUtil::AppVisitor:

Inheritance graph
[legend]
List of all members.

Public Methods

 AppVisitor ()
virtual ~AppVisitor ()
virtual void reset ()
 Method to call to reset visitor.

virtual void apply (osg::Node &node)
virtual void apply (osg::Geode &node)
virtual void apply (osg::Billboard &node)
virtual void apply (osg::LightSource &node)
virtual void apply (osg::Group &node)
virtual void apply (osg::Transform &node)
virtual void apply (osg::Projection &node)
virtual void apply (osg::Switch &node)
virtual void apply (osg::LOD &node)
virtual void apply (osg::Impostor &node)
virtual void apply (osg::OccluderNode &node)

Protected Methods

 AppVisitor (const AppVisitor &)
 prevent unwanted copy construction.

AppVisitor & operator= (const AppVisitor &)
 prevent unwanted copy operator.

void handle_callbacks_and_traverse (osg::Node &node)
void handle_geode_callbacks (osg::Geode &node)

Detailed Description

Basic AppVisitor implementation for animating a scene.

This visitor traverses the scene graph, call each nodes appCallback if it exists.


Constructor & Destructor Documentation

osgUtil::AppVisitor::AppVisitor  
 

virtual osgUtil::AppVisitor::~AppVisitor   [virtual]
 

osgUtil::AppVisitor::AppVisitor const AppVisitor &    [inline, protected]
 

prevent unwanted copy construction.


Member Function Documentation

virtual void osgUtil::AppVisitor::apply osg::OccluderNode   node [inline, virtual]
 

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::AppVisitor::apply osg::Impostor   node [inline, virtual]
 

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::AppVisitor::apply osg::LOD   node [inline, virtual]
 

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::AppVisitor::apply osg::Switch   node [inline, virtual]
 

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::AppVisitor::apply osg::Projection   node [inline, virtual]
 

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::AppVisitor::apply osg::Transform   node [inline, virtual]
 

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::AppVisitor::apply osg::Group   node [inline, virtual]
 

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::AppVisitor::apply osg::LightSource   node [inline, virtual]
 

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::AppVisitor::apply osg::Billboard   node [inline, virtual]
 

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::AppVisitor::apply osg::Geode   node [inline, virtual]
 

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::AppVisitor::apply osg::Node   node [inline, virtual]
 

Reimplemented from osg::NodeVisitor.

void osgUtil::AppVisitor::handle_callbacks_and_traverse osg::Node   node [inline, protected]
 

void osgUtil::AppVisitor::handle_geode_callbacks osg::Geode   node [inline, protected]
 

AppVisitor& osgUtil::AppVisitor::operator= const AppVisitor &    [inline, protected]
 

prevent unwanted copy operator.

virtual void osgUtil::AppVisitor::reset   [virtual]
 

Method to call to reset visitor.

Useful for your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal than call reset() prior to each traversal.

Reimplemented from osg::NodeVisitor.


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