![]() |
http://www.sim.no/ http://www.coin3d.org/ |
The SoChildList class is a container for node children. More...
#include <Inventor/misc/SoChildList.h>
Additional Inherited Members | |
![]() | |
void | expand (const int size) |
int | getArraySize (void) const |
The SoChildList class is a container for node children.
This class does automatic notification on the parent nodes upon adding or removing children.
Methods for action traversal of the children are also provided.
Default constructor, sets parent container and initializes a minimal list.
Constructor with hint about list size.
SoChildList::SoChildList | ( | SoNode *const | parentptr, |
const SoChildList & | cl ) |
Copy constructor.
SoChildList::~SoChildList | ( | ) |
Destructor.
Append a new node instance as a child of our parent container.
Automatically notifies parent node and any SoPath instances auditing paths with nodes from this list.
Insert a new node instance as a child of our parent container at position addbefore.
Automatically notifies parent node and any SoPath instances auditing paths with nodes from this list.
Remove the child node pointer at index.
Automatically notifies parent node and any SoPath instances auditing paths with nodes from this list.
void SoChildList::copy | ( | const SoChildList & | cl | ) |
Copy contents of cl into this list.
Index operator to set element at index. Does not expand array bounds if index is outside the list.
void SoChildList::traverseInPath | ( | SoAction *const | action, |
const int | numindices, | ||
const int * | indices ) |
Optimized IN_PATH traversal method.
This method is an extension versus the Open Inventor API.
Traverse all nodes in the list, invoking their methods for the given action.
Traverse the node at index (and possibly its children, if its a group node), applying the nodes' method for the given action.
Traverse the node (and possibly its children, if its a group node), applying the nodes' method for the given action.
Traverse child nodes in the list from index first up to and including index last, or until the SoAction::hasTerminated() flag of action has been set.
Notify path whenever this list of node children changes.
Remove path as an auditor for our list of node children.
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated for Coin by Doxygen 1.10.0.