osgUtil::Optimizer::FlattenBillboardVisitor Class Reference

Flatten MatrixTransform/Billboard pairs. More...

Inheritance diagram for osgUtil::Optimizer::FlattenBillboardVisitor:

Inheritance graph
[legend]

List of all members.

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 ()
 Method to call to reset visitor.
virtual void apply (osg::Billboard &billboard)
void process ()

Public Attributes

BillboardNodePathMap _billboards


Detailed Description

Flatten MatrixTransform/Billboard pairs.


Member Typedef Documentation

typedef std::vector<osg::NodePath> osgUtil::Optimizer::FlattenBillboardVisitor::NodePathList

typedef std::map<osg::Billboard*, NodePathList > osgUtil::Optimizer::FlattenBillboardVisitor::BillboardNodePathMap


Constructor & Destructor Documentation

osgUtil::Optimizer::FlattenBillboardVisitor::FlattenBillboardVisitor ( Optimizer optimizer = 0  )  [inline]


Member Function Documentation

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.

virtual void osgUtil::Optimizer::FlattenBillboardVisitor::apply ( osg::Billboard billboard  )  [virtual]

Reimplemented from osg::NodeVisitor.

void osgUtil::Optimizer::FlattenBillboardVisitor::process (  ) 


Member Data Documentation

BillboardNodePathMap osgUtil::Optimizer::FlattenBillboardVisitor::_billboards


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:50 2007 for the OpenSceneGraph by doxygen 1.5.3.