OpenSceneGraph
3.0.1
|
Public Types | |
typedef std::set< osg::Geometry * > | GeometryList |
Public Member Functions | |
GeometryCollector (Optimizer *optimizer, Optimizer::OptimizationOptions options) | |
void | reset () |
Method to call to reset visitor. | |
void | apply (osg::Geode &geode) |
GeometryList & | getGeometryList () |
Protected Attributes | |
GeometryList | _geometryList |
typedef std::set<osg::Geometry*> osgUtil::GeometryCollector::GeometryList |
osgUtil::GeometryCollector::GeometryCollector | ( | Optimizer * | optimizer, |
Optimizer::OptimizationOptions | options | ||
) | [inline] |
void osgUtil::GeometryCollector::apply | ( | osg::Geode & | geode | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
GeometryList& osgUtil::GeometryCollector::getGeometryList | ( | ) | [inline] |
void osgUtil::GeometryCollector::reset | ( | ) | [virtual] |
Method to call to reset visitor.
Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal.
Reimplemented from osg::NodeVisitor.
![]() | Generated at Sun May 6 2012 20:34:38 for the OpenSceneGraph by doxygen 1.8.0. |