OpenSceneGraph  3.0.1
Public Member Functions | Static Public Member Functions | Protected Attributes
osgUtil::Optimizer::MergeGeometryVisitor Class Reference
Inheritance diagram for osgUtil::Optimizer::MergeGeometryVisitor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 MergeGeometryVisitor (Optimizer *optimizer=0)
 default to traversing all children.
void setTargetMaximumNumberOfVertices (unsigned int num)
unsigned int getTargetMaximumNumberOfVertices () const
virtual void apply (osg::Geode &geode)
virtual void apply (osg::Billboard &)
bool mergeGeode (osg::Geode &geode)

Static Public Member Functions

static bool geometryContainsSharedArrays (osg::Geometry &geom)
static bool mergeGeometry (osg::Geometry &lhs, osg::Geometry &rhs)
static bool mergePrimitive (osg::DrawArrays &lhs, osg::DrawArrays &rhs)
static bool mergePrimitive (osg::DrawArrayLengths &lhs, osg::DrawArrayLengths &rhs)
static bool mergePrimitive (osg::DrawElementsUByte &lhs, osg::DrawElementsUByte &rhs)
static bool mergePrimitive (osg::DrawElementsUShort &lhs, osg::DrawElementsUShort &rhs)
static bool mergePrimitive (osg::DrawElementsUInt &lhs, osg::DrawElementsUInt &rhs)

Protected Attributes

unsigned int _targetMaximumNumberOfVertices

Constructor & Destructor Documentation

default to traversing all children.


Member Function Documentation

virtual void osgUtil::Optimizer::MergeGeometryVisitor::apply ( osg::Geode geode) [inline, virtual]

Reimplemented from osg::NodeVisitor.

virtual void osgUtil::Optimizer::MergeGeometryVisitor::apply ( osg::Billboard ) [inline, virtual]

Reimplemented from osg::NodeVisitor.


Member Data Documentation


The documentation for this class was generated from the following file:

osg logo
Generated at Sat Apr 28 2012 08:44:40 for the OpenSceneGraph by doxygen 1.8.0.