OpenSceneGraph
Classes | Namespaces | Macros
Optimizer File Reference
#include <osg/NodeVisitor>
#include <osg/Matrix>
#include <osg/Geometry>
#include <osg/Transform>
#include <osg/Texture2D>
#include <osgUtil/Export>
#include <set>

Classes

class  osgUtil::BaseOptimizerVisitor
 Helper base class for implementing Optimizer techniques. More...
 
class  osgUtil::Optimizer
 Traverses scene graph to improve efficiency. More...
 
struct  osgUtil::Optimizer::IsOperationPermissibleForObjectCallback
 Callback for customizing what operations are permitted on objects in the scene graph. More...
 
class  osgUtil::Optimizer::FlattenStaticTransformsVisitor
 Flatten Static Transform nodes by applying their transform to the geometry on the leaves of the scene graph, then removing the now redundant transforms. More...
 
class  osgUtil::Optimizer::FlattenStaticTransformsDuplicatingSharedSubgraphsVisitor
 FlattenStaticTransformsDuplicatingSharedSubgraphsVisitor is similar to FlattenStaticTransformsVisitor in that it is designed to remove static transforms from the scene graph, pushing down the transforms to the geometry leaves of the scene graph, but with the difference that any subgraphs that are shared between different transforms are duplicated and flattened individually. More...
 
class  osgUtil::Optimizer::CombineStaticTransformsVisitor
 Combine Static Transform nodes that sit above one another. More...
 
class  osgUtil::Optimizer::RemoveEmptyNodesVisitor
 Remove rendundant nodes, such as groups with one single child. More...
 
class  osgUtil::Optimizer::RemoveRedundantNodesVisitor
 Remove redundant nodes, such as groups with one single child. More...
 
class  osgUtil::Optimizer::RemoveLoadedProxyNodesVisitor
 Remove loaded proxy nodes. More...
 
class  osgUtil::Optimizer::TessellateVisitor
 Tessellate all Geometries, to remove POLYGONS. More...
 
class  osgUtil::Optimizer::CombineLODsVisitor
 Optimize the LOD groups, by combining adjacent LOD's which have complementary ranges. More...
 
class  osgUtil::Optimizer::StateVisitor
 Optimize State in the scene graph by removing duplicate state, replacing it with shared instances, both for StateAttributes, and whole StateSets. More...
 
class  osgUtil::Optimizer::MergeGeodesVisitor
 Combine geodes. More...
 
class  osgUtil::Optimizer::MakeFastGeometryVisitor
 
class  osgUtil::Optimizer::MergeGeometryVisitor
 
class  osgUtil::Optimizer::SpatializeGroupsVisitor
 Spatialize scene into a balanced quad/oct tree. More...
 
class  osgUtil::Optimizer::CopySharedSubgraphsVisitor
 Copy any shared subgraphs, enabling flattening of static transforms. More...
 
class  osgUtil::Optimizer::TextureVisitor
 For all textures apply settings. More...
 
class  osgUtil::Optimizer::FlattenBillboardVisitor
 Flatten MatrixTransform/Billboard pairs. More...
 
class  osgUtil::Optimizer::TextureAtlasBuilder
 Texture Atlas Builder creates a set of textures/images which each contain multiple images. More...
 
class  osgUtil::Optimizer::TextureAtlasBuilder::Source
 
class  osgUtil::Optimizer::TextureAtlasBuilder::Atlas
 
class  osgUtil::Optimizer::TextureAtlasVisitor
 Optimize texture usage in the scene graph by combining textures into texture atlas Use of texture atlas cuts down on the number of separate states in the scene, reducing state changes and improving the chances of using larger batches of geometry. More...
 
class  osgUtil::Optimizer::StaticObjectDetectionVisitor
 Optimize the setting of StateSet and Geometry objects in scene so that they have a STATIC DataVariance when they don't have any callbacks associated with them. More...
 
class  osgUtil::Optimizer::BufferObjectVisitor
 For all geometry apply settings. More...
 

Namespaces

 osgUtil
 The osgUtil library provides general purpose utility classes such as update, cull and draw traverses, scene graph operators such a scene graph optimisation, tri stripping, and tessellation.
 

Macros

#define OSGUTIL_OPTIMIZER
 

Macro Definition Documentation

◆ OSGUTIL_OPTIMIZER

#define OSGUTIL_OPTIMIZER