|
OSG
3.4.0
|
#include <StateGraph.h>


Public Types | |
| typedef std::map< const osg::StateSet *, osg::ref_ptr < StateGraph > > | ChildList |
| typedef std::vector < osg::ref_ptr< RenderLeaf > > | LeafList |
Static Public Member Functions | |
| static void | moveStateGraph (osg::State &state, StateGraph *sg_curr, StateGraph *sg_new) |
| static void | moveToRootStateGraph (osg::State &state, StateGraph *sg_curr) |
| static int | numToPop (StateGraph *sg_curr) |
Static Public Member Functions inherited from osg::Referenced | |
| static OpenThreads::Mutex * | getGlobalReferencedMutex () |
| static void | setThreadSafeReferenceCounting (bool enableThreadSafeReferenceCounting) |
| static bool | getThreadSafeReferenceCounting () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| static DeleteHandler * | getDeleteHandler () |
Public Attributes | |
| StateGraph * | _parent |
| const osg::StateSet * | _stateset |
| int | _depth |
| ChildList | _children |
| LeafList | _leaves |
| float | _averageDistance |
| float | _minimumDistance |
| osg::ref_ptr< osg::Referenced > | _userData |
| bool | _dynamic |
Additional Inherited Members | |
Protected Member Functions inherited from osg::Referenced | |
| virtual | ~Referenced () |
| void | signalObserversAndDelete (bool signalDelete, bool doDelete) const |
| void | deleteUsingDeleteHandler () const |
Protected Attributes inherited from osg::Referenced | |
| OpenThreads::AtomicPtr | _observerSet |
| OpenThreads::Atomic | _refCount |
StateGraph - contained in a renderBin, defines the scene to be drawn.
Definition at line 41 of file StateGraph.h.
| typedef std::map< const osg::StateSet*, osg::ref_ptr<StateGraph> > osgUtil::StateGraph::ChildList |
Definition at line 46 of file StateGraph.h.
| typedef std::vector< osg::ref_ptr<RenderLeaf> > osgUtil::StateGraph::LeafList |
Definition at line 47 of file StateGraph.h.
|
inline |
Definition at line 68 of file StateGraph.h.
|
inline |
|
inline |
Definition at line 96 of file StateGraph.h.
|
inline |
add a render leaf.
Definition at line 189 of file StateGraph.h.

| void osgUtil::StateGraph::clean | ( | ) |
Recursively clean the StateGraph of all its drawables, lights and depths. Leaves children intact, and ready to be populated again.
|
inline |
Definition at line 98 of file StateGraph.h.
|
inline |
return true if all of drawables, lights and children are empty.
Definition at line 113 of file StateGraph.h.
|
inline |
Definition at line 175 of file StateGraph.h.
|
inline |
Definition at line 124 of file StateGraph.h.
|
inline |
Definition at line 141 of file StateGraph.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| void osgUtil::StateGraph::prune | ( | ) |
Recursively prune the StateGraph of empty children.
| void osgUtil::StateGraph::reset | ( | ) |
Reset the internal contents of a StateGraph, including deleting all children.
|
inline |
Definition at line 104 of file StateGraph.h.
|
inline |
Definition at line 100 of file StateGraph.h.
|
inline |
Definition at line 159 of file StateGraph.h.
|
mutable |
Definition at line 61 of file StateGraph.h.
| ChildList osgUtil::StateGraph::_children |
Definition at line 58 of file StateGraph.h.
| int osgUtil::StateGraph::_depth |
Definition at line 57 of file StateGraph.h.
| bool osgUtil::StateGraph::_dynamic |
Definition at line 66 of file StateGraph.h.
| LeafList osgUtil::StateGraph::_leaves |
Definition at line 59 of file StateGraph.h.
|
mutable |
Definition at line 62 of file StateGraph.h.
| StateGraph* osgUtil::StateGraph::_parent |
Definition at line 49 of file StateGraph.h.
| const osg::StateSet* osgUtil::StateGraph::_stateset |
Definition at line 54 of file StateGraph.h.
| osg::ref_ptr<osg::Referenced> osgUtil::StateGraph::_userData |
Definition at line 64 of file StateGraph.h.
1.8.8