#include <OSGExtraChildrenList.h>
Types | |
| typedef NewActionTypes::PriorityTypeTraits | PriorityTypeTraits |
| *typedef NewActionTypes::PriorityType | PriorityType |
Public Member Functions | |
Constructors | |
| * | ExtraChildrenList (void) |
Destructor | |
| * | ~ExtraChildrenList (void) |
Add | |
| *UInt32 | addChild (const NodePtr &pChild) |
| UInt32 | addChild (const NodePtr &pChild, PriorityType prio) |
Access | |
| *NodePtr | getChild (UInt32 childIndex) const |
| PriorityType | getPriority (UInt32 childIndex) const |
| void | setPriority (UInt32 childIndex, PriorityType prio) |
| bool | getActive (UInt32 childIndex) const |
| void | setActive (UInt32 childIndex, bool active) |
Misc | |
| *UInt32 | getSize (void) const |
| void | clear (void) |
Private Types | |
Types | |
| typedef std::vector< ChildrenListEntry > | InternalChildrenList |
| typedef InternalChildrenList::iterator | InternalChildrenListIt |
| typedef InternalChildrenList::const_iterator | InternalChildrenListConstIt |
Private Attributes | |
| InternalChildrenList | _childrenList |
Classes | |
| class | ChildrenListEntry |
Definition at line 53 of file OSGExtraChildrenList.h.
|
|
Definition at line 61 of file OSGExtraChildrenList.h. |
|
|
Definition at line 137 of file OSGExtraChildrenList.h. |
|
|
Definition at line 138 of file OSGExtraChildrenList.h. |
|
|
Definition at line 139 of file OSGExtraChildrenList.h. |
|
|
Definition at line 116 of file OSGExtraChildrenList.inl. 00117 : _childrenList() 00118 { 00119 }
|
|
|
Definition at line 125 of file OSGExtraChildrenList.inl.
|
|
|
Definition at line 133 of file OSGExtraChildrenList.inl. References _childrenList. Referenced by osg::ExtendActorBase::addExtraChild(). 00134 { 00135 UInt32 childIndex = _childrenList.size(); 00136 00137 _childrenList.push_back(ChildrenListEntry(pNode)); 00138 00139 return childIndex; 00140 }
|
|
||||||||||||
|
Definition at line 143 of file OSGExtraChildrenList.inl. References _childrenList. 00144 { 00145 UInt32 childIndex = _childrenList.size(); 00146 00147 _childrenList.push_back(ChildrenListEntry(pNode, prio)); 00148 00149 return childIndex; 00150 }
|
|
|
Definition at line 156 of file OSGExtraChildrenList.inl. References _childrenList. Referenced by osg::PriorityAction::enqueueChildren(), osg::ActorBase::getExtraChild(), osg::DepthFirstStateAction::pushChildren(), and osg::DepthFirstAction::pushChildren(). 00157 { 00158 return _childrenList[childIndex].getNode(); 00159 }
|
|
|
Definition at line 162 of file OSGExtraChildrenList.inl. References _childrenList. Referenced by osg::PriorityAction::enqueueChildren(), and osg::ActorBase::getExtraChildPriority(). 00163 { 00164 return _childrenList[childIndex].getPriority(); 00165 }
|
|
||||||||||||
|
Definition at line 168 of file OSGExtraChildrenList.inl. References _childrenList. Referenced by osg::ActorBase::setExtraChildPriority(). 00169 { 00170 _childrenList[childIndex].setPriority(prio); 00171 }
|
|
|
Definition at line 174 of file OSGExtraChildrenList.inl. References _childrenList. Referenced by osg::PriorityAction::enqueueChildren(), osg::ActorBase::getExtraChildActive(), osg::DepthFirstStateAction::pushChildren(), and osg::DepthFirstAction::pushChildren(). 00175 { 00176 return _childrenList[childIndex].getActive(); 00177 }
|
|
||||||||||||
|
Definition at line 180 of file OSGExtraChildrenList.inl. References _childrenList. Referenced by osg::ActorBase::setExtraChildActive(). 00181 { 00182 _childrenList[childIndex].setActive(bActive); 00183 }
|
|
|
Definition at line 189 of file OSGExtraChildrenList.inl. References _childrenList. Referenced by osg::PriorityAction::enqueueChildren(), osg::ActorBase::getNumExtraChildren(), osg::DepthFirstStateAction::pushChildren(), and osg::DepthFirstAction::pushChildren(). 00190 { 00191 return _childrenList.size(); 00192 }
|
|
|
Definition at line 195 of file OSGExtraChildrenList.inl. References _childrenList. Referenced by osg::PriorityAction::enqueueChildren(), osg::DepthFirstStateAction::pushChildren(), and osg::DepthFirstAction::pushChildren(). 00196 { 00197 _childrenList.clear(); 00198 }
|
|
|
Definition at line 60 of file OSGExtraChildrenList.h. |
|
|
Definition at line 144 of file OSGExtraChildrenList.h. Referenced by addChild(), clear(), getActive(), getChild(), getPriority(), getSize(), setActive(), and setPriority(). |
1.4.3