VR-Forces 4.1 Class Documentation
List of all members | Classes | Public Member Functions | Static Public Member Functions | Protected Attributes
makVrv::DtOptimizer Class Reference

Optimizer class that allows for thread-safe optimization by not following proxy nodes. More...

Inheritance diagram for makVrv::DtOptimizer:
Inheritance graph
[legend]

Classes

class  CheckGeometryVisitor
class  CombineLODsVisitor
class  CombineStaticTransformsVisitor
class  CopySharedSubgraphsVisitor
class  FlattenBillboardVisitor
class  FlattenStaticTransformsDuplicatingSharedSubgraphsVisitor
class  FlattenStaticTransformsVisitor
class  MergeGeodesVisitor
class  MergeGeometryVisitor
class  RemoveEmptyNodesVisitor
class  RemoveLoadedProxyNodesVisitor
class  RemoveRedundantNodesVisitor
class  SpatializeGroupsVisitor
class  StateVisitor
class  StaticObjectDetectionVisitor
class  StatsVisitor
class  TessellateVisitor
class  TextureAtlasVisitor
class  TextureVisitor
class  TriStripVisitor

Public Member Functions

 DtOptimizer (bool processProxyNodes)
 Construct optimizer to optionally process proxy nodes.
virtual void optimize (osg::Node *node, unsigned int options)
 Override optimize to use this class's custom visitors.

Static Public Member Functions

static int optimizationLevel01 ()
 Fast optimization options.
static int optimizationLevel02 ()
 Slower optimization options.

Protected Attributes

bool myProcessProxyNodes

Detailed Description

Optimizer class that allows for thread-safe optimization by not following proxy nodes.

Constructor & Destructor Documentation

makVrv::DtOptimizer::DtOptimizer ( bool  processProxyNodes)

Construct optimizer to optionally process proxy nodes.

Member Function Documentation

virtual void makVrv::DtOptimizer::optimize ( osg::Node *  node,
unsigned int  options 
)
virtual

Override optimize to use this class's custom visitors.

static int makVrv::DtOptimizer::optimizationLevel01 ( )
static

Fast optimization options.

These are optimizations used when performing on the fly caching. These include: osgUtil::Optimizer::FLATTEN_STATIC_TRANSFORMS osgUtil::Optimizer::REMOVE_REDUNDANT_NODES osgUtil::Optimizer::COMBINE_ADJACENT_LODS osgUtil::Optimizer::SHARE_DUPLICATE_STATE osgUtil::Optimizer::MERGE_GEOMETRY osgUtil::Optimizer::CHECK_GEOMETRY osgUtil::Optimizer::STATIC_OBJECT_DETECTION

static int makVrv::DtOptimizer::optimizationLevel02 ( )
static

Slower optimization options.

These are optimizations used when performing encryption using the MedfTool. Some of these operations are slower and therefore not performed during on the fly encryption. These include: osgUtil::Optimizer::FLATTEN_STATIC_TRANSFORMS osgUtil::Optimizer::REMOVE_REDUNDANT_NODES osgUtil::Optimizer::COMBINE_ADJACENT_LODS osgUtil::Optimizer::SHARE_DUPLICATE_STATE osgUtil::Optimizer::MERGE_GEOMETRY osgUtil::Optimizer::CHECK_GEOMETRY osgUtil::Optimizer::STATIC_OBJECT_DETECTION osgUtil::Optimizer::TRISTRIP_GEOMETRY | osgUtil::Optimizer::OPTIMIZE_TEXTURE_SETTINGS | osgUtil::Optimizer::TEXTURE_ATLAS_BUILDER | osgUtil::Optimizer::STATIC_OBJECT_DETECTION | osgUtil::Optimizer::MERGE_GEODES | osgUtil::Optimizer::SPATIALIZE_GROUPS

Member Data Documentation

bool makVrv::DtOptimizer::myProcessProxyNodes
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)