Flatten Static Transform nodes by applying their transform to the geometry on the leaves of the scene graph, then removing the now redundant transforms.
More...
List of all members.
Detailed Description
Flatten Static Transform nodes by applying their transform to the geometry on the leaves of the scene graph, then removing the now redundant transforms.
Static transformed Subgraphs that have multiple parental paths above them are not flattened, if you require this then the subgraphs have to be duplicated - for this use the FlattenStaticTransformsDuplicatingSharedSubgraphsVisitor.
Member Typedef Documentation
Constructor & Destructor Documentation
osgUtil::Optimizer::FlattenStaticTransformsVisitor::FlattenStaticTransformsVisitor |
( |
Optimizer * |
optimizer = 0 |
) |
[inline] |
Member Function Documentation
virtual void osgUtil::Optimizer::FlattenStaticTransformsVisitor::apply |
( |
osg::Node & |
geode |
) |
[virtual] |
virtual void osgUtil::Optimizer::FlattenStaticTransformsVisitor::apply |
( |
osg::Geode & |
geode |
) |
[virtual] |
virtual void osgUtil::Optimizer::FlattenStaticTransformsVisitor::apply |
( |
osg::Transform & |
transform |
) |
[virtual] |
virtual void osgUtil::Optimizer::FlattenStaticTransformsVisitor::apply |
( |
osg::PagedLOD & |
node |
) |
[virtual] |
virtual void osgUtil::Optimizer::FlattenStaticTransformsVisitor::apply |
( |
osg::ProxyNode & |
node |
) |
[virtual] |
virtual void osgUtil::Optimizer::FlattenStaticTransformsVisitor::apply |
( |
osg::Billboard & |
geode |
) |
[virtual] |
bool osgUtil::Optimizer::FlattenStaticTransformsVisitor::removeTransforms |
( |
osg::Node * |
nodeWeCannotRemove |
) |
|
Member Data Documentation
The documentation for this class was generated from the following file: