class OSGUTIL_EXPORT osgUtil::Optimizer

Insert impostor nodes into scene graph.

Public Methods

[more] Optimizer()
[more]virtual void optimize(osg::Node* node, unsigned int options = ALL_OPTIMIZATIONS)
traverse the node and its subgraph with a series of optimization visitors, specificied by the OptizationOptions

Public Members

[more]enum OptimizationOptions
class OSGUTIL_EXPORT FlattenStaticTransformsVisitor: public osg::NodeVisitor
Flatten Static Trasform nodes by applying their transform to the geometry on the leaves of the scene graph, then removing the now redundent transforms
class OSGUTIL_EXPORT RemoveRedundentNodesVisitor: public osg::NodeVisitor
Remove rendundent nodes, such as groups with one single child
class OSGUTIL_EXPORT CombineLODsVisitor: public osg::NodeVisitor
Optimize the LOD groups, by combining adjacent LOD's which have complementary ranges
class OSGUTIL_EXPORT StateVisitor: public osg::NodeVisitor
Optimize State in the scene graph by removing duplicate state, replacing it with shared instances, both for StateAttributes, and whole StateSets


Documentation

Insert impostor nodes into scene graph. For example of usage see src/Demos/osgimpostor.
o Optimizer()

oenum OptimizationOptions

o FLATTEN_STATIC_TRANSFORMS

o REMOVE_REDUNDENT_NODES

o COMBINE_ADJACENT_LODS

o SHARE_DUPLICATE_STATE

o ALL_OPTIMIZATIONS

ovirtual void optimize(osg::Node* node, unsigned int options = ALL_OPTIMIZATIONS)
traverse the node and its subgraph with a series of optimization visitors, specificied by the OptizationOptions


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.