class OSGUTIL_EXPORT osgUtil::OptimizeStateVisitor

Insert impostor nodes into scene graph.

Inheritance:


Public Methods

[more] OptimizeStateVisitor()
default to traversing all children
[more]virtual void reset()
empty visitor, make it ready for next traversal
[more]void addStateSet(osg::StateSet* stateset)
[more]virtual void apply(osg::Node& node)
[more]virtual void apply(osg::Geode& geode)
[more]void optimize()

Protected Members

[more]typedef std::set<osg::StateSet*> StateSetList StateSetList _statesets


Documentation

Insert impostor nodes into scene graph. For example of usage see src/Demos/osgimpostor.
o OptimizeStateVisitor()
default to traversing all children

ovirtual void reset()
empty visitor, make it ready for next traversal

ovoid addStateSet(osg::StateSet* stateset)

ovirtual void apply(osg::Node& node)

ovirtual void apply(osg::Geode& geode)

ovoid optimize()

otypedef std::set<osg::StateSet*> StateSetList StateSetList _statesets


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.