A node visitor that descends into Drawables too. More...
#include <NodeAndDrawableVisitor.hxx>
Inherited by simgear::TextureUpdateVisitor.
Public Member Functions | |
| virtual void | apply (osg::Drawable &drawable) |
| Visit a Drawable node. | |
A node visitor that descends into Drawables too.
Definition at line 31 of file NodeAndDrawableVisitor.hxx.
| 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.
1.6.1