osgUtil::Optimizer::StaticObjectDetectionVisitor Class Reference

Optimize the setting of StateSet and Geometry objects in scene so that they have a STATIC DataVariance when they don't have any callbacks associated with them. More...

Inheritance diagram for osgUtil::Optimizer::StaticObjectDetectionVisitor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 StaticObjectDetectionVisitor (Optimizer *optimizer=0)
 default to traversing all children.
virtual void apply (osg::Node &node)
virtual void apply (osg::Geode &geode)

Protected Member Functions

void applyStateSet (osg::StateSet &stateset)
void applyDrawable (osg::Drawable &drawable)

Detailed Description

Optimize the setting of StateSet and Geometry objects in scene so that they have a STATIC DataVariance when they don't have any callbacks associated with them.


Constructor & Destructor Documentation

osgUtil::Optimizer::StaticObjectDetectionVisitor::StaticObjectDetectionVisitor ( Optimizer optimizer = 0  )  [inline]

default to traversing all children.


Member Function Documentation

virtual void osgUtil::Optimizer::StaticObjectDetectionVisitor::apply ( osg::Geode geode  )  [virtual]

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::Optimizer::StaticObjectDetectionVisitor::apply ( osg::Node node  )  [virtual]

Reimplemented from osg::NodeVisitor.

void osgUtil::Optimizer::StaticObjectDetectionVisitor::applyDrawable ( osg::Drawable drawable  )  [protected]
void osgUtil::Optimizer::StaticObjectDetectionVisitor::applyStateSet ( osg::StateSet stateset  )  [protected]

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

osg logo
Generated at Tue Jul 20 05:46:57 2010 for the OpenSceneGraph by doxygen 1.6.1.