Insert impostor nodes into scene graph.
Public Classes
-
enum OptimizationOptions
-
class OSGUTIL_EXPORT FlattenStaticTransformsVisitor: public osg::NodeVisitor
- Flatten Static Trasform nodes by applying their transform to the geometry on the leaves of the scene graph, then removing the now redundant transforms
-
class OSGUTIL_EXPORT CombineStaticTransformsVisitor: public osg::NodeVisitor
- Combine Static Trasform nodes that sit above on another
-
class OSGUTIL_EXPORT RemoveEmptyNodesVisitor: public osg::NodeVisitor
- Remove rendundant nodes, such as groups with one single child
-
class OSGUTIL_EXPORT RemoveRedundantNodesVisitor: public osg::NodeVisitor
- Remove rendundant nodes, such as groups with one single child
-
class OSGUTIL_EXPORT TesselateVisitor: public osg::NodeVisitor
- Tesselate all geodes, to remove POLYGONS complementary ranges
-
class OSGUTIL_EXPORT CombineLODsVisitor: public osg::NodeVisitor
- Optimize the LOD groups, by combining adjacent LOD's which have complementary ranges
-
class OSGUTIL_EXPORT StateVisitor: public osg::NodeVisitor
- Optimize State in the scene graph by removing duplicate state, replacing it with shared instances, both for StateAttributes, and whole StateSets
-
class OSGUTIL_EXPORT CheckGeometryVisitor: public osg::NodeVisitor
-
class OSGUTIL_EXPORT MergeGeometryVisitor: public osg::NodeVisitor
-
class OSGUTIL_EXPORT SpatializeGroupsVisitor: public osg::NodeVisitor
- Spatialize scene into a balanced quad/oct tree
-
class OSGUTIL_EXPORT CopySharedSubgraphsVisitor: public osg::NodeVisitor
- Copy any shared subgraphs, enabling flattening of static transforms
-
class OSGUTIL_EXPORT TextureVisitor: public osg::NodeVisitor
- For all textures apply settings
Public Methods
-
Optimizer()
-
virtual ~Optimizer()
-
void reset()
- reset internal data to initial state - the getPrimissableOptionsMap is cleared
-
void optimize(osg::Node* node)
- traverse the node and its subgraph with a series of optimization visitors, specificied by the OptizationOptions
-
virtual void optimize(osg::Node* node, unsigned int options)
- traverse the node and its subgraph with a series of optimization visitors, specificied by the OptizationOptions
-
inline void setPermissableOptimizationsForObject(const osg::Object* object, unsigned int options)
-
inline unsigned int getPermissableOptimizationsForObject(const osg::Object* object) const
-
inline bool isOperationPermissableForObject(const osg::Object* object, unsigned int option) const
-
PermissableOptimizationsMap& getPrimissableOptionsMap()
-
const PermissableOptimizationsMap& getPrimissableOptionsMap() const
Public
-
typedef std::map<const osg::Object*,unsigned int> PermissableOptimizationsMap
Protected Fields
-
PermissableOptimizationsMap _permissableOptimizationsMap
Documentation
Insert impostor nodes into scene graph.
For example of usage see src/Demos/osgimpostor.
- Optimizer()
- virtual ~Optimizer()
- enum OptimizationOptions
- FLATTEN_STATIC_TRANSFORMS
- REMOVE_REDUNDANT_NODES
- COMBINE_ADJACENT_LODS
- SHARE_DUPLICATE_STATE
- MERGE_GEOMETRY
- CHECK_GEOMETRY
- SPATIALIZE_GROUPS
- COPY_SHARED_NODES
- TRISTRIP_GEOMETRY
- TESSELATE_GEOMETRY
- OPTIMIZE_TEXTURE_SETTINGS
- DEFAULT_OPTIMIZATIONS
- ALL_OPTIMIZATIONS
- void reset()
- reset internal data to initial state - the getPrimissableOptionsMap is cleared
- void optimize(osg::Node* node)
- traverse the node and its subgraph with a series of optimization
visitors, specificied by the OptizationOptions
- virtual void optimize(osg::Node* node, unsigned int options)
- traverse the node and its subgraph with a series of optimization
visitors, specificied by the OptizationOptions
- inline void setPermissableOptimizationsForObject(const osg::Object* object, unsigned int options)
- inline unsigned int getPermissableOptimizationsForObject(const osg::Object* object) const
- inline bool isOperationPermissableForObject(const osg::Object* object, unsigned int option) const
- typedef std::map<const osg::Object*,unsigned int> PermissableOptimizationsMap
- PermissableOptimizationsMap& getPrimissableOptionsMap()
- const PermissableOptimizationsMap& getPrimissableOptionsMap() const
- PermissableOptimizationsMap _permissableOptimizationsMap
- This class has no child classes.
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.