OpenSceneGraph  3.0.1
Public Types | Public Member Functions | Public Attributes
osgUtil::Optimizer::RemoveEmptyNodesVisitor Class Reference

Remove rendundant nodes, such as groups with one single child. More...

Inheritance diagram for osgUtil::Optimizer::RemoveEmptyNodesVisitor:
Inheritance graph
[legend]

List of all members.

Public Types

typedef std::set< osg::Node * > NodeList

Public Member Functions

 RemoveEmptyNodesVisitor (Optimizer *optimizer=0)
virtual void apply (osg::Geode &geode)
virtual void apply (osg::Group &group)
void removeEmptyNodes ()

Public Attributes

NodeList _redundantNodeList

Detailed Description

Remove rendundant nodes, such as groups with one single child.


Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

Reimplemented from osg::NodeVisitor.

Reimplemented from osg::NodeVisitor.


Member Data Documentation


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

osg logo
Generated at Tue Feb 28 2012 17:50:46 for the OpenSceneGraph by doxygen 1.7.6.1.