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

typedef std::set<osg::Node*> osgUtil::Optimizer::RemoveEmptyNodesVisitor::NodeList


Constructor & Destructor Documentation

osgUtil::Optimizer::RemoveEmptyNodesVisitor::RemoveEmptyNodesVisitor ( Optimizer optimizer = 0  )  [inline]


Member Function Documentation

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

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::Optimizer::RemoveEmptyNodesVisitor::apply ( osg::Group group  )  [virtual]

Reimplemented from osg::NodeVisitor.

void osgUtil::Optimizer::RemoveEmptyNodesVisitor::removeEmptyNodes (  ) 


Member Data Documentation

NodeList osgUtil::Optimizer::RemoveEmptyNodesVisitor::_redundantNodeList


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:50 2007 for the OpenSceneGraph by doxygen 1.5.3.