class OSGUTIL_EXPORT osgUtil::RenderGraph


Inheritance:


Public Fields

[more]osg::ref_ptr<const osg::StateSet> _stateset
[more]int _depth
[more]ChildList _children
[more]LeafList _leaves

Public Methods

[more] RenderGraph()
[more] RenderGraph(RenderGraph* parent, const osg::StateSet* stateset)
[more] ~RenderGraph()
[more]inline const bool empty() const
return true if all of drawables, lights and children are empty
[more]inline const bool leaves_empty() const
[more]void reset()
reset the internal contents of a RenderGraph, including deleting all children
[more]void clean()
recursively clean the RenderGraph of all its drawables, lights and depths.
[more]void prune()
recursively prune the RenderGraph of empty children
[more]inline RenderGraph* find_or_insert(const osg::StateSet* stateset)
[more]inline void addLeaf(RenderLeaf* leaf)
add a render leaf
[more]static inline void moveRenderGraph(osg::State& state, RenderGraph* sg_curr, RenderGraph* sg_new)
[more]inline static void moveToRootRenderGraph(osg::State& state, RenderGraph* sg_curr)

Public Members

[more]typedef std::vector< osg::ref_ptr<RenderLeaf> > LeafList RenderGraph* _parent


Documentation

otypedef std::vector< osg::ref_ptr<RenderLeaf> > LeafList RenderGraph* _parent

oosg::ref_ptr<const osg::StateSet> _stateset

oint _depth

oChildList _children

oLeafList _leaves

o RenderGraph()

o RenderGraph(RenderGraph* parent, const osg::StateSet* stateset)

o ~RenderGraph()

oinline const bool empty() const
return true if all of drawables, lights and children are empty

oinline const bool leaves_empty() const

ovoid reset()
reset the internal contents of a RenderGraph, including deleting all children

ovoid clean()
recursively clean the RenderGraph of all its drawables, lights and depths. Leaves children intact, and ready to be populated again.

ovoid prune()
recursively prune the RenderGraph of empty children

oinline RenderGraph* find_or_insert(const osg::StateSet* stateset)

oinline void addLeaf(RenderLeaf* leaf)
add a render leaf

ostatic inline void moveRenderGraph(osg::State& state, RenderGraph* sg_curr, RenderGraph* sg_new)

oinline static void moveToRootRenderGraph(osg::State& state, RenderGraph* sg_curr)


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.