Flatten Static Trasform nodes by applying their transform to the geometry on the leaves of the scene graph, then removing the now redundent transforms
Inheritance:
Public Methods
-
FlattenStaticTransformsVisitor(bool ignoreDynamicTransforms=true)
-
virtual void apply(osg::Geode& geode)
-
virtual void apply(osg::Billboard& billboard)
-
virtual void apply(osg::LOD& lod)
-
virtual void apply(osg::Transform& transform)
-
void removeTransforms()
Protected Fields
-
bool _ignoreDynamicTransforms
-
MatrixStack _matrixStack
-
TransformStack _transformStack
-
TransformMap _transformMap
-
ObjectMap _objectMap
Protected Methods
-
typedef std::map<osg::Object*,ObjectStruct> ObjectMap void disableObject(osg::Object* object)
-
void disableObject(ObjectMap::iterator itr)
-
void disableTransform(osg::Transform* transform)
-
void doTransform(osg::Object* obj, osg::Matrix& matrix)
Protected Members
-
typedef std::vector<osg::Matrix> MatrixStackstruct TransformStruct
-
struct ObjectStruct
Documentation
Flatten Static Trasform nodes by applying their transform to the
geometry on the leaves of the scene graph, then removing the
now redundent transforms
- FlattenStaticTransformsVisitor(bool ignoreDynamicTransforms=true)
- virtual void apply(osg::Geode& geode)
- virtual void apply(osg::Billboard& billboard)
- virtual void apply(osg::LOD& lod)
- virtual void apply(osg::Transform& transform)
- void removeTransforms()
- typedef std::vector<osg::Matrix> MatrixStackstruct TransformStruct
- typedef std::set<osg::Object*> ObjectSet TransformStruct()
- void add(osg::Object* obj)
- bool _canBeApplied
- ObjectSet _objectSet
- struct ObjectStruct
- typedef std::set<osg::Transform*> TransformSet ObjectStruct()
- void add(TransformStack& transforms, osg::Matrix& matrix)
- bool _canBeApplied
- bool _matrixSet
- bool _moreThanOneMatrixRequired
- osg::Matrix _matrix
- TransformSet _transformSet
- typedef std::map<osg::Object*,ObjectStruct> ObjectMap void disableObject(osg::Object* object)
- void disableObject(ObjectMap::iterator itr)
- void disableTransform(osg::Transform* transform)
- void doTransform(osg::Object* obj, osg::Matrix& matrix)
- bool _ignoreDynamicTransforms
- MatrixStack _matrixStack
- TransformStack _transformStack
- TransformMap _transformMap
- ObjectMap _objectMap
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.