Public Member Functions | Protected Member Functions

osgUtil::Optimizer::StaticObjectDetectionVisitor Class Reference

Inheritance diagram for osgUtil::Optimizer::StaticObjectDetectionVisitor:
osgUtil::BaseOptimizerVisitor osg::NodeVisitor osg::Referenced

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::Node node ) [virtual]

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::Optimizer::StaticObjectDetectionVisitor::apply ( osg::Geode geode ) [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: