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

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

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

List of all members.

Public Types

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

Public Member Functions

 RemoveRedundantNodesVisitor (Optimizer *optimizer=0)
virtual void apply (osg::Group &group)
virtual void apply (osg::Transform &transform)
bool isOperationPermissible (osg::Node &node)
void removeRedundantNodes ()

Public Attributes

NodeList _redundantNodeList

Detailed Description

Remove redundant 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.