Inheritance diagram for osgUtil::Optimizer::FlattenBillboardVisitor:
Public Types | |
typedef std::vector< osg::NodePath > | NodePathList |
typedef std::map< osg::Billboard *, NodePathList > | BillboardNodePathMap |
Public Member Functions | |
FlattenBillboardVisitor (Optimizer *optimizer=0) | |
virtual void | reset () |
virtual void | apply (osg::Billboard &billboard) |
void | process () |
Public Attributes | |
BillboardNodePathMap | _billboards |
typedef std::map<osg::Billboard*, NodePathList > osgUtil::Optimizer::FlattenBillboardVisitor::BillboardNodePathMap |
typedef std::vector<osg::NodePath> osgUtil::Optimizer::FlattenBillboardVisitor::NodePathList |
osgUtil::Optimizer::FlattenBillboardVisitor::FlattenBillboardVisitor | ( | Optimizer * | optimizer = 0 |
) | [inline] |
virtual void osgUtil::Optimizer::FlattenBillboardVisitor::apply | ( | osg::Billboard & | billboard | ) | [virtual] |
Reimplemented from osg::NodeVisitor.
void osgUtil::Optimizer::FlattenBillboardVisitor::process | ( | ) |
virtual void osgUtil::Optimizer::FlattenBillboardVisitor::reset | ( | ) | [virtual] |
Method to call to reset visitor. Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal.
Reimplemented from osg::NodeVisitor.