OpenSceneGraph
Classes | Typedefs | Functions
osgUtil Namespace Reference

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. More...

Classes

struct  AddRangeOperator
 
class  BaseOptimizerVisitor
 Helper base class for implementing Optimizer techniques. More...
 
struct  ConvertVec
 
struct  ConvertVec< InType, OutType, 2, 2 >
 
struct  ConvertVec< InType, OutType, 2, 3 >
 
struct  ConvertVec< InType, OutType, 2, 4 >
 
struct  ConvertVec< InType, OutType, 3, 2 >
 
struct  ConvertVec< InType, OutType, 3, 3 >
 
struct  ConvertVec< InType, OutType, 3, 4 >
 
struct  ConvertVec< InType, OutType, 4, 2 >
 
struct  ConvertVec< InType, OutType, 4, 3 >
 
struct  ConvertVec< InType, OutType, 4, 4 >
 
class  CubeMapGenerator
 This is the base class for cube map generators. More...
 
class  CullVisitor
 Basic NodeVisitor implementation for rendering a scene. More...
 
class  DelaunayConstraint
 DelaunayTriangulator: Utility class that triangulates an irregular network of sample points. More...
 
class  DelaunayTriangulator
 
struct  dereference_clear
 
struct  dereference_less
 
class  DisplayRequirementsVisitor
 A visitor for traversing a scene graph establishing which OpenGL visuals are required to support rendering of that scene graph. More...
 
class  DrawElementTypeSimplifier
 
class  DrawElementTypeSimplifierVisitor
 
class  EdgeCollector
 
class  GeometryCollector
 
class  GLObjectsOperation
 
class  GLObjectsVisitor
 Visitor for traversing scene graph and setting each osg::Drawable's _useDisplayList flag, with option to immediately compile osg::Drawable OpenGL Display lists and osg::StateAttribute's. More...
 
class  HalfWayMapGenerator
 This cube map generator produces an Half-way vector map, useful for hardware-based specular lighting effects. More...
 
class  HighlightMapGenerator
 This cube map generator produces a specular highlight map. More...
 
class  IncrementalCompileOperation
 
class  IndexMeshVisitor
 
class  IntersectionVisitor
 IntersectionVisitor is used to testing for intersections with the scene, traversing the scene using generic osgUtil::Intersector's to test against the scene. More...
 
class  Intersector
 Pure virtual base class for implementing custom intersection technique. More...
 
class  IntersectorGroup
 Concrete class for passing multiple intersectors through the scene graph. More...
 
struct  LessDepthSortFunctor
 
class  LineSegmentIntersector
 Concrete class for implementing line intersections with the scene graph. More...
 
struct  MultiplyRangeOperator
 
class  OperationArrayFunctor
 
class  Optimizer
 Traverses scene graph to improve efficiency. More...
 
class  PerlinNoise
 
class  PlaneIntersector
 Concrete class for implementing polytope intersections with the scene graph. More...
 
class  PolytopeIntersector
 Concrete class for implementing polytope intersections with the scene graph. More...
 
class  PositionalStateContainer
 PositionalStateContainer base class. More...
 
class  PrintVisitor
 
class  RayIntersector
 RayIntersector implements possibly-infinite line intersections with the scene graph. More...
 
class  ReflectionMapGenerator
 This is the most simple cube map generator. More...
 
class  RenderBin
 RenderBin base class. More...
 
class  RenderLeaf
 Container class for all data required for rendering of drawables. More...
 
class  RenderStage
 RenderStage base class. More...
 
class  ReversePrimitiveFunctor
 
class  SceneGraphBuilder
 A class for assisting the building a scene graph that is equivalent to OpenGL 1.0 style calls. More...
 
class  SceneView
 SceneView is deprecated, and is now just kept for backwards compatibility. More...
 
class  ShaderGenVisitor
 
class  SharedArrayOptimizer
 
class  Simplifier
 A simplifier for reducing the number of traingles in osg::Geometry. More...
 
class  SmoothingVisitor
 A smoothing visitor for calculating smoothed normals for osg::GeoSet's which contains surface primitives. More...
 
class  StateGraph
 StateGraph - contained in a renderBin, defines the scene to be drawn. More...
 
class  StateToCompile
 
class  Statistics
 Statistics base class. More...
 
class  StatsVisitor
 StatsVisitor for collecting statistics about scene graph. More...
 
class  TangentSpaceGenerator
 The TangentSpaceGenerator class generates three arrays containing tangent-space basis vectors. More...
 
class  Tessellator
 Originally a simple class for tessellating a single polygon boundary. More...
 
class  TransformAttributeFunctor
 Functor for transforming a drawable's vertex and normal attributes by specified matrix. More...
 
class  TransformCallback
 TransformCallback is now deprecated, use osg::AnimationPathCallback instead. More...
 
class  UpdateVisitor
 Basic UpdateVisitor implementation for animating a scene. More...
 
class  VertexAccessOrderVisitor
 
class  VertexCacheMissVisitor
 
class  VertexCacheVisitor
 

Typedefs

typedef OperationArrayFunctor< AddRangeOperatorAddRangeFunctor
 
typedef OperationArrayFunctor< MultiplyRangeOperatorMultiplyRangeFunctor
 

Functions

template<class T >
bool dereference_check_less (const T &lhs, const T &rhs)
 
void optimizeMesh (osg::Node *node)
 
osg::Imagecreate3DNoiseImage (int texSize)
 
osg::Texture3Dcreate3DNoiseTexture (int texSize)
 

Detailed Description

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.

Typedef Documentation

◆ AddRangeFunctor

◆ MultiplyRangeFunctor

Function Documentation

◆ create3DNoiseImage()

osg::Image* osgUtil::create3DNoiseImage ( int  texSize)
inline

◆ create3DNoiseTexture()

osg::Texture3D* osgUtil::create3DNoiseTexture ( int  texSize)
inline

◆ dereference_check_less()

template<class T >
bool osgUtil::dereference_check_less ( const T &  lhs,
const T &  rhs 
)

◆ optimizeMesh()

void osgUtil::optimizeMesh ( osg::Node node)
inline