67#ifndef _SO_NODE_KIT_LIST_PART_
68#define _SO_NODE_KIT_LIST_PART_
212 { removeChild( findChild(child)); }
223 { replaceChild(findChild(oldChild), newChild); }
259 bool copyConnections);
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_NODE_HEADER(className)
Non-abstract classes have everything abstract classes have, plus a way to create an instance.
Abstract base class for all actions.
Base class for all node kits.
Performs a generic traversal of the scene graph.
This class maintains a list of child nodes for any node.
Abstract base class for objects that contain fields.
Renders a scene graph using OpenGL.
Computes bounding box of a scene.
Computes transformation matrix for subgraph.
Base class for all group nodes.
Allows nodes in a graph to receive input events.
Multiple-value field containing any number of names.
Group node with restricted children.
bool isTypeLocked() const
Returns whether the permitted child types and the container type are locked (i.e.
void removeChild(SoNode *child)
These are the functions used to edit the children.
virtual bool readInstance(SoInput *in, unsigned short flags)
Reads in from file. Takes care of setting parts and stuff.
virtual void copyContents(const SoFieldContainer *fromFC, bool copyConnections)
Copies the contents of the given nodekit into this instance.
virtual void getBoundingBox(SoGetBoundingBoxAction *action)
void lockTypes()
This function permanently locks the permitted child types and the container type permanently.
int findChild(SoNode *child) const
These are the functions used to edit the children.
void addChildType(SoType typeToAdd)
Permits the node type typeToAdd as a child.
void addChild(SoNode *child)
These are the functions used to edit the children.
virtual void callback(SoCallbackAction *action)
bool isChildPermitted(const SoNode *child) const
Returns whether the node child may be added to this list.
virtual ~SoNodeKitListPart()
virtual void handleEvent(SoHandleEventAction *action)
SoGroup * getContainerNode()
void containerSet(const char *fieldDataString)
Sends a string to the set() method on the container node.
bool isTypePermitted(SoType typeToCheck) const
Returns whether a node of type typeToCheck may be added as a child.
int getNumChildren() const
These are the functions used to edit the children.
void removeChild(int index)
These are the functions used to edit the children.
void setContainerType(SoType newContainerType)
Gets and sets the type of node used as the container.
SoType getContainerType() const
Gets and sets the type of node used as the container.
virtual bool affectsState() const
Depending on the type of the container, this may or may not affect the state.
virtual SoChildList * getChildren() const
Returns pointer to children.
void replaceChild(int index, SoNode *newChild)
These are the functions used to edit the children.
const SoTypeList & getChildTypes() const
Returns the permitted child node types.
virtual void pick(SoPickAction *action)
virtual void getMatrix(SoGetMatrixAction *action)
SoNode * getChild(int index) const
These are the functions used to edit the children.
virtual void doAction(SoAction *action)
These functions implement all actions for nodekits.
virtual void GLRender(SoGLRenderAction *action)
These virtual functions implement all of the actions for nodes, Most of the default implementations d...
SoNodeKitListPart()
Constructor.
void replaceChild(SoNode *oldChild, SoNode *newChild)
These are the functions used to edit the children.
void insertChild(SoNode *child, int childIndex)
These are the functions used to edit the children.
virtual void search(SoSearchAction *action)
Abstract base class for all database nodes.
Abstract base class for picking objects in a scene.
Field containing a pointer to a node.
Searches for nodes in a scene graph.
Maintains a list of SoTypes.
SoType has no virtual functions to keep it small...