class OSGUTIL_EXPORT FlattenStaticTransformsVisitor

Flatten Static Trasform nodes by applying their transform to the geometry on the leaves of the scene graph, then removing the now redundant transforms

Inheritance:


Public Methods

[more] FlattenStaticTransformsVisitor()
[more]virtual void apply(osg::Geode& geode)
[more]virtual void apply(osg::Billboard& geode)
[more]virtual void apply(osg::Transform& transform)
[more]bool removeTransforms(osg::Node* nodeWeCannotRemove)

Protected Fields

[more]TransformStack _transformStack
[more]DrawableSet _drawableSet
[more]BillboardSet _billboardSet
[more]TransformSet _transformSet

Protected Members

[more]typedef std::vector<osg::Transform*> TransformStack
[more]typedef std::set<osg::Drawable*> DrawableSet
[more]typedef std::set<osg::Billboard*> BillboardSet
[more]typedef std::set<osg::Transform*> TransformSet


Documentation

Flatten Static Trasform nodes by applying their transform to the geometry on the leaves of the scene graph, then removing the now redundant transforms
o FlattenStaticTransformsVisitor()

ovirtual void apply(osg::Geode& geode)

ovirtual void apply(osg::Billboard& geode)

ovirtual void apply(osg::Transform& transform)

obool removeTransforms(osg::Node* nodeWeCannotRemove)

otypedef std::vector<osg::Transform*> TransformStack

otypedef std::set<osg::Drawable*> DrawableSet

otypedef std::set<osg::Billboard*> BillboardSet

otypedef std::set<osg::Transform*> TransformSet

oTransformStack _transformStack

oDrawableSet _drawableSet

oBillboardSet _billboardSet

oTransformSet _transformSet


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.