class OSGUTIL_EXPORT osgUtil::Optimizer::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(Optimizer* optimizer=0)
[more]virtual void apply(osg::Node& geode)
[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)
[more]inline bool isOperationPermissableForObject(const osg::Object* object) const

Protected Fields

[more]Optimizer* _optimizer
[more]TransformStack _transformStack
[more]NodeSet _excludedNodeSet
[more]DrawableSet _drawableSet
[more]BillboardSet _billboardSet
[more]TransformSet _transformSet

Protected

[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::Node* > NodeSet
[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(Optimizer* optimizer=0)

ovirtual void apply(osg::Node& geode)

ovirtual void apply(osg::Geode& geode)

ovirtual void apply(osg::Billboard& geode)

ovirtual void apply(osg::Transform& transform)

obool removeTransforms(osg::Node* nodeWeCannotRemove)

oinline bool isOperationPermissableForObject(const osg::Object* object) const

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

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

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

otypedef std::set<osg::Node* > NodeSet

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

oOptimizer* _optimizer

oTransformStack _transformStack

oNodeSet _excludedNodeSet

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++.