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

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


Constructor & Destructor Documentation

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


Member Function Documentation

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

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::Optimizer::RemoveRedundantNodesVisitor::apply ( osg::Transform transform  )  [virtual]

Reimplemented from osg::NodeVisitor.

bool osgUtil::Optimizer::RemoveRedundantNodesVisitor::isOperationPermissible ( osg::Node node  ) 

void osgUtil::Optimizer::RemoveRedundantNodesVisitor::removeRedundantNodes (  ) 


Member Data Documentation

NodeList osgUtil::Optimizer::RemoveRedundantNodesVisitor::_redundantNodeList


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