OpenSceneGraph  3.4.0
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


Member Function Documentation

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

Reimplemented from osg::NodeVisitor.

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 Tue Dec 8 2015 00:16:50 for the OpenSceneGraph by doxygen 1.7.6.1.