#include <OSGChildrenList.h>
Types | |
| typedef NewActionTypes::PriorityTypeTraits | PriorityTypeTraits |
| *typedef NewActionTypes::PriorityType | PriorityType |
Public Member Functions | |
Constructors | |
| * | ChildrenList (void) |
Destructor | |
| * | ~ChildrenList (void) |
Parent | |
| *void | reset (void) |
| NodePtr | getParentNode (void) const |
| void | setParentNode (const NodePtr &pParentNode) |
Child | |
| *NodePtr | getChild (UInt32 childIndex) const |
Active | |
| *bool | getActive (UInt32 childIndex) const |
| void | setActive (UInt32 childIndex, bool active) |
Priority | |
| *PriorityType | getPriority (UInt32 childIndex) const |
| void | setPriority (UInt32 childIndex, PriorityType prio) |
Misc | |
| *UInt32 | getSize (void) const |
Private Types | |
Types | |
| typedef std::vector< ChildrenListEntry > | InternalChildrenList |
| typedef InternalChildrenList::iterator | InternalChildrenListIt |
| typedef InternalChildrenList::const_iterator | InternalChildrenListConstIt |
Private Attributes | |
| NodePtr | _pParentNode |
| InternalChildrenList | _childrenList |
Classes | |
| class | ChildrenListEntry |
Definition at line 53 of file OSGChildrenList.h.
|
|
Definition at line 62 of file OSGChildrenList.h. |
|
|
Definition at line 144 of file OSGChildrenList.h. |
|
|
Definition at line 145 of file OSGChildrenList.h. |
|
|
Definition at line 146 of file OSGChildrenList.h. |
|
|
Definition at line 94 of file OSGChildrenList.inl. 00095 : _pParentNode(NullFC), 00096 _childrenList( ) 00097 { 00098 }
|
|
|
Definition at line 104 of file OSGChildrenList.inl.
|
|
|
Definition at line 112 of file OSGChildrenList.inl. References _childrenList, and _pParentNode. Referenced by osg::NewActionBase::setChildrenListEnabled(). 00113 { 00114 _childrenList.assign(_pParentNode->getNChildren(), ChildrenListEntry()); 00115 }
|
|
|
Definition at line 118 of file OSGChildrenList.inl. References _pParentNode. Referenced by osg::ActorBase::getNode(). 00119 { 00120 return _pParentNode; 00121 }
|
|
|
Definition at line 124 of file OSGChildrenList.inl. References _pParentNode. Referenced by osg::PriorityAction::traverseEnter(), osg::DepthFirstStateAction::traverseEnter(), osg::DepthFirstAction::traverseEnter(), osg::DepthFirstStateAction::traverseEnterLeave(), and osg::DepthFirstAction::traverseEnterLeave(). 00125 { 00126 _pParentNode = pParentNode; 00127 }
|
|
|
Definition at line 133 of file OSGChildrenList.inl. References _pParentNode. Referenced by osg::PriorityAction::enqueueChildren(), osg::ActorBase::getChild(), osg::DepthFirstStateAction::pushChildren(), and osg::DepthFirstAction::pushChildren(). 00134 { 00135 return _pParentNode->getChild(childIndex); 00136 }
|
|
|
Definition at line 142 of file OSGChildrenList.inl. References _childrenList. Referenced by osg::PriorityAction::enqueueChildren(), osg::ActorBase::getChildActive(), osg::DepthFirstStateAction::pushChildren(), and osg::DepthFirstAction::pushChildren(). 00143 { 00144 return _childrenList[childIndex].getActive(); 00145 }
|
|
||||||||||||
|
Definition at line 148 of file OSGChildrenList.inl. References _childrenList. Referenced by osg::ActorBase::setChildActive(). 00149 { 00150 _childrenList[childIndex].setActive(active); 00151 }
|
|
|
Definition at line 157 of file OSGChildrenList.inl. References _childrenList. Referenced by osg::PriorityAction::enqueueChildren(), and osg::ActorBase::getChildPriority(). 00158 { 00159 return _childrenList[childIndex].getPriority(); 00160 }
|
|
||||||||||||
|
Definition at line 163 of file OSGChildrenList.inl. References _childrenList. Referenced by osg::ActorBase::setChildPriority(). 00164 { 00165 _childrenList[childIndex].setPriority(prio); 00166 }
|
|
|
Definition at line 172 of file OSGChildrenList.inl. References _pParentNode. Referenced by osg::PriorityAction::enqueueChildren(), osg::ActorBase::getNumChildren(), osg::DepthFirstStateAction::pushChildren(), and osg::DepthFirstAction::pushChildren(). 00173 { 00174 //return _childrenList.size(); 00175 return _pParentNode->getNChildren(); 00176 }
|
|
|
Definition at line 61 of file OSGChildrenList.h. |
|
|
Definition at line 151 of file OSGChildrenList.h. Referenced by getChild(), getParentNode(), getSize(), reset(), and setParentNode(). |
|
|
Definition at line 152 of file OSGChildrenList.h. Referenced by getActive(), getPriority(), reset(), setActive(), and setPriority(). |
1.4.3