OpenSceneGraph  3.0.1
Public Types | Public Member Functions | Protected Attributes
osgUtil::GeometryCollector Class Reference
Inheritance diagram for osgUtil::GeometryCollector:
Inheritance graph
[legend]

List of all members.

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)
GeometryListgetGeometryList ()

Protected Attributes

GeometryList _geometryList

Member Typedef Documentation


Constructor & Destructor Documentation

osgUtil::GeometryCollector::GeometryCollector ( Optimizer optimizer,
Optimizer::OptimizationOptions  options 
) [inline]

Member Function Documentation

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.


Member Data Documentation


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

osg logo
Generated at Mon Oct 3 2011 12:39:50 for the OpenSceneGraph by doxygen 1.7.5.