Inheritance:
Public Fields
-
RenderGraph* _parent
-
osg::ref_ptr<const osg::StateSet> _stateset
-
int _depth
-
ChildList _children
-
LeafList _leaves
-
mutable float _averageDistance
-
mutable float _minimumDistance
-
osg::ref_ptr<osg::Referenced> _userData
Public Methods
-
RenderGraph()
-
RenderGraph(RenderGraph* parent, const osg::StateSet* stateset)
-
~RenderGraph()
-
RenderGraph* cloneType() const
-
void setUserData(osg::Referenced* obj)
-
osg::Referenced* getUserData()
-
const osg::Referenced* getUserData() const
-
inline bool empty() const
- return true if all of drawables, lights and children are empty
-
inline bool leaves_empty() const
-
inline float getAverageDistance() const
-
inline float getMinimumDistance() const
-
inline void sortFrontToBack()
-
void reset()
- reset the internal contents of a RenderGraph, including deleting all children
-
void clean()
- recursively clean the RenderGraph of all its drawables, lights and depths.
-
void prune()
- recursively prune the RenderGraph of empty children
-
inline RenderGraph* find_or_insert(const osg::StateSet* stateset)
-
inline void addLeaf(RenderLeaf* leaf)
- add a render leaf
-
static inline void moveRenderGraph(osg::State& state, RenderGraph* sg_curr, RenderGraph* sg_new)
-
inline static void moveToRootRenderGraph(osg::State& state, RenderGraph* sg_curr)
Public Members
-
typedef std::map< const osg::StateSet*, osg::ref_ptr<RenderGraph> > ChildList
-
typedef std::vector< osg::ref_ptr<RenderLeaf> > LeafList
Documentation
- typedef std::map< const osg::StateSet*, osg::ref_ptr<RenderGraph> > ChildList
- typedef std::vector< osg::ref_ptr<RenderLeaf> > LeafList
- RenderGraph* _parent
- osg::ref_ptr<const osg::StateSet> _stateset
- int _depth
- ChildList _children
- LeafList _leaves
- mutable float _averageDistance
- mutable float _minimumDistance
- osg::ref_ptr<osg::Referenced> _userData
- RenderGraph()
- RenderGraph(RenderGraph* parent, const osg::StateSet* stateset)
- ~RenderGraph()
- RenderGraph* cloneType() const
- void setUserData(osg::Referenced* obj)
- osg::Referenced* getUserData()
- const osg::Referenced* getUserData() const
- inline bool empty() const
- return true if all of drawables, lights and children are empty
- inline bool leaves_empty() const
- inline float getAverageDistance() const
- inline float getMinimumDistance() const
- inline void sortFrontToBack()
- void reset()
- reset the internal contents of a RenderGraph, including deleting all children
- void clean()
- recursively clean the RenderGraph of all its drawables, lights and depths.
Leaves children intact, and ready to be populated again.
- void prune()
- recursively prune the RenderGraph of empty children
- inline RenderGraph* find_or_insert(const osg::StateSet* stateset)
- inline void addLeaf(RenderLeaf* leaf)
- add a render leaf
- static inline void moveRenderGraph(osg::State& state, RenderGraph* sg_curr, RenderGraph* sg_new)
- inline 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++.