osgSim::Optimizer Class Reference

Flight optimizer. More...

List of all members.

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


Detailed Description

Flight optimizer.

Member Enumeration Documentation

enum osgSim::Optimizer::OptimizationOptions

Enumerator:
TESSELLATE_POLYGON 
MERGE_GEODES 
MAKE_LIT 
DEFAULT_OPTIMIZATIONS 
ALL_OPTIMIZATIONS 


Constructor & Destructor Documentation

osgSim::Optimizer::Optimizer (  )  [inline]

virtual osgSim::Optimizer::~Optimizer (  )  [inline, virtual]


Member Function Documentation

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.


The documentation for this class was generated from the following file:
Generated at Sun Oct 14 02:12:46 2007 for the OpenSceneGraph by doxygen 1.5.3.