56#ifndef _SO_CHILD_LIST_
57#define _SO_CHILD_LIST_
104 { traverse(action, 0,
getLength() - 1); }
108 { traverse(action, childIndex, childIndex); }
113 int firstChild,
int lastChild);
120 { auditors.remove(auditors.find(p)); }
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
List of generic (void *) pointers.
int getLength() const
Returns number of pointers in list.
Abstract base class for all actions.
This class maintains a list of child nodes for any node.
void append(SoNode *child)
All of these override the standard SoBaseList methods so they can maintain auditors correctly.
void copy(const SoChildList &l)
void removePathAuditor(SoPath *p)
void traverse(SoAction *action, int firstChild, int lastChild)
Traverses all children between two indices, inclusive.
void set(int i, SoNode *child)
void traverse(SoAction *action, int childIndex)
Traverses just one child.
void traverse(SoAction *action)
Traverses all children to apply action.
void addPathAuditor(SoPath *p)
SoPath calls these to be notified of changes in scene graph topology:
SoChildList(SoNode *parentNode)
Constructors and destructor.
void insert(SoNode *child, int addBefore)
SoChildList(SoNode *parentNode, const SoChildList &l)
SoChildList(SoNode *parentNode, int size)
Maintains a list of pointers to nodes.
Abstract base class for all database nodes.
Path that points to a list of hierarchical nodes.