Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# osgUtil::Optimizer::RemoveRedundantNodesVisitor Class Reference

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

Inheritance diagram for osgUtil::Optimizer::RemoveRedundantNodesVisitor:

[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)
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::Transform & | transform | ) | `[virtual]`

| Reimplemented from osg::NodeVisitor.

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

| Reimplemented from osg::NodeVisitor.

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

## Member Data Documentation

NodeList osgUtil::Optimizer::RemoveRedundantNodesVisitor::_redundantNodeList

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

- Optimizer