Public Types | |
enum | OptimizationOptions { TESSELLATE_POLYGON = 0x001, MERGE_GEODES = 0x002, MAKE_LIT = 0x004, DEFAULT_OPTIMIZATIONS = TESSELLATE_POLYGON | MERGE_GEODES, ALL_OPTIMIZATIONS = TESSELLATE_POLYGON | MERGE_GEODES } |
Public Member Functions | |
Optimizer () | |
virtual | ~Optimizer () |
void | optimize (osg::Node *node) |
Traverse the node and its subgraph with a series of optimization visitors, specified by the OptimizationOptions. | |
virtual void | optimize (osg::Node *node, unsigned int options) |
Traverse the node and its subgraph with a series of optimization visitors, specified by the OptimizationOptions. | |
Classes | |
class | MakeLitVisitor |
class | MergeGeodesVisitor |
Combine geodes. More... | |
class | TessellateVisitor |
osgSim::Optimizer::Optimizer | ( | ) | [inline] |
virtual osgSim::Optimizer::~Optimizer | ( | ) | [inline, virtual] |
void osgSim::Optimizer::optimize | ( | osg::Node * | node | ) |
Traverse the node and its subgraph with a series of optimization visitors, specified by the OptimizationOptions.
virtual void osgSim::Optimizer::optimize | ( | osg::Node * | node, | |
unsigned int | options | |||
) | [virtual] |
Traverse the node and its subgraph with a series of optimization visitors, specified by the OptimizationOptions.