62#define SO_SWITCH_NONE (-1)
63#define SO_SWITCH_INHERIT (-2)
64#define SO_SWITCH_ALL (-3)
156 void doChild(
SoAction *action,
int matchIndex = -1);
#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.
Performs a generic traversal of the scene graph.
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.
Abstract base class for picking objects in a scene.
Field containing a int32_t integer.
Searches for nodes in a scene graph.
Group node that traverse one chosen child.
virtual void callback(SoCallbackAction *action)
SoSFInt32 whichChild
Index of the child to traverse, or one of SO_SWITCH_NONE, SO_SWITCH_INHERIT, or SO_SWITCH_ALL.
SoSwitch()
Creates a switch node with default settings.
virtual void getMatrix(SoGetMatrixAction *action)
virtual void handleEvent(SoHandleEventAction *action)
virtual void search(SoSearchAction *action)
virtual void write(SoWriteAction *action)
virtual void getBoundingBox(SoGetBoundingBoxAction *action)
virtual void doAction(SoAction *action)
Implement actions.
virtual void pick(SoPickAction *action)
SoSwitch(int nChildren)
Constructor that takes approximate number of children.
virtual bool affectsState() const
Overrides method in SoNode to return FALSE if there is no selected child or the selected child does n...
virtual void GLRender(SoGLRenderAction *action)
These virtual functions implement all of the actions for nodes, Most of the default implementations d...
Writes a scene graph to a file.