Public Member Functions | |
FlattenStaticTransformsVisitor (Optimizer *optimizer=0) | |
virtual void | apply (osg::Node &geode) |
virtual void | apply (osg::Geode &geode) |
virtual void | apply (osg::Billboard &geode) |
virtual void | apply (osg::ProxyNode &node) |
virtual void | apply (osg::PagedLOD &node) |
virtual void | apply (osg::Transform &transform) |
bool | removeTransforms (osg::Node *nodeWeCannotRemove) |
Protected Types | |
typedef std::vector < osg::Transform * > | TransformStack |
typedef std::set < osg::Drawable * > | DrawableSet |
typedef std::set < osg::Billboard * > | BillboardSet |
typedef std::set < osg::Node * > | NodeSet |
typedef std::set < osg::Transform * > | TransformSet |
Protected Attributes | |
TransformStack | _transformStack |
NodeSet | _excludedNodeSet |
DrawableSet | _drawableSet |
BillboardSet | _billboardSet |
TransformSet | _transformSet |
typedef std::vector<osg::Transform*> osgUtil::Optimizer::FlattenStaticTransformsVisitor::TransformStack [protected] |
typedef std::set<osg::Drawable*> osgUtil::Optimizer::FlattenStaticTransformsVisitor::DrawableSet [protected] |
typedef std::set<osg::Billboard*> osgUtil::Optimizer::FlattenStaticTransformsVisitor::BillboardSet [protected] |
typedef std::set<osg::Node* > osgUtil::Optimizer::FlattenStaticTransformsVisitor::NodeSet [protected] |
typedef std::set<osg::Transform*> osgUtil::Optimizer::FlattenStaticTransformsVisitor::TransformSet [protected] |
osgUtil::Optimizer::FlattenStaticTransformsVisitor::FlattenStaticTransformsVisitor | ( | Optimizer * | optimizer = 0 |
) | [inline] |
virtual void osgUtil::Optimizer::FlattenStaticTransformsVisitor::apply | ( | osg::Node & | geode | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osgUtil::Optimizer::FlattenStaticTransformsVisitor::apply | ( | osg::Geode & | geode | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osgUtil::Optimizer::FlattenStaticTransformsVisitor::apply | ( | osg::Billboard & | geode | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osgUtil::Optimizer::FlattenStaticTransformsVisitor::apply | ( | osg::ProxyNode & | node | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osgUtil::Optimizer::FlattenStaticTransformsVisitor::apply | ( | osg::PagedLOD & | node | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
virtual void osgUtil::Optimizer::FlattenStaticTransformsVisitor::apply | ( | osg::Transform & | transform | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
bool osgUtil::Optimizer::FlattenStaticTransformsVisitor::removeTransforms | ( | osg::Node * | nodeWeCannotRemove | ) |