simgear::NodeAndDrawableVisitor Class Reference

A node visitor that descends into Drawables too. More...

#include <NodeAndDrawableVisitor.hxx>

Inherited by simgear::TextureUpdateVisitor.

List of all members.

Public Member Functions

virtual void apply (osg::Drawable &drawable)
 Visit a Drawable node.

Detailed Description

A node visitor that descends into Drawables too.

Definition at line 31 of file NodeAndDrawableVisitor.hxx.


Member Function Documentation

virtual void simgear::NodeAndDrawableVisitor::apply ( osg::Drawable &  drawable  )  [virtual]

Visit a Drawable node.

Note that you cannot write an apply() method with an argument that is a subclass of Drawable and expect it to be called, because this visitor can't add the double dispatch machinery of NodeVisitor to the existing OSG Drawable subclasses.


The documentation for this class was generated from the following files:

Generated on 23 Feb 2010 for SimGear by  doxygen 1.6.1