
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 | |
| bool | geometryContainsSharedArrays (osg::Geometry &geom) |
| bool | mergeGeometry (osg::Geometry &lhs, osg::Geometry &rhs) |
| bool | mergePrimitive (osg::DrawArrays &lhs, osg::DrawArrays &rhs) |
| bool | mergePrimitive (osg::DrawArrayLengths &lhs, osg::DrawArrayLengths &rhs) |
| bool | mergePrimitive (osg::DrawElementsUByte &lhs, osg::DrawElementsUByte &rhs) |
| bool | mergePrimitive (osg::DrawElementsUShort &lhs, osg::DrawElementsUShort &rhs) |
| bool | mergePrimitive (osg::DrawElementsUInt &lhs, osg::DrawElementsUInt &rhs) |
Protected Attributes | |
| unsigned int | _targetMaximumNumberOfVertices |
|
|
default to traversing all children.
|
|
|
Reimplemented from osg::NodeVisitor. |
|
|
Reimplemented from osg::NodeVisitor. |
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|