Public Types | |
TESSELATE_POLYGON = 0x001 | |
MERGE_GEODES = 0x002 | |
MAKE_LIT = 0x004 | |
DEFAULT_OPTIMIZATIONS = TESSELATE_POLYGON | MERGE_GEODES | |
ALL_OPTIMIZATIONS = TESSELATE_POLYGON | MERGE_GEODES | |
enum | OptimizationOptions { TESSELATE_POLYGON = 0x001, MERGE_GEODES = 0x002, MAKE_LIT = 0x004, DEFAULT_OPTIMIZATIONS = TESSELATE_POLYGON | MERGE_GEODES, ALL_OPTIMIZATIONS = TESSELATE_POLYGON | MERGE_GEODES } |
Public Member Functions | |
Optimizer () | |
virtual | ~Optimizer () |
void | optimize (osg::Node *node) |
virtual void | optimize (osg::Node *node, unsigned int options) |
Classes | |
class | MakeLitVisitor |
class | MergeGeodesVisitor |
class | TesselateVisitor |
osgFlightUtil::Optimizer::Optimizer | ( | ) | [inline] |
virtual osgFlightUtil::Optimizer::~Optimizer | ( | ) | [inline, virtual] |
virtual void osgFlightUtil::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.
void osgFlightUtil::Optimizer::optimize | ( | osg::Node * | node | ) |
Traverse the node and its subgraph with a series of optimization visitors, specified by the OptimizationOptions.