54#include <Inventor/fields/SoSFInt32.h>
55#include <Inventor/nodes/SoGroup.h>
73#define SO_SWITCH_NONE (-1)
80#define SO_SWITCH_INHERIT (-2)
87#define SO_SWITCH_ALL (-3)
89SO_PIMPL_PUBLIC_DECLARATION(
SoSwitch )
207 virtual SbBool affectsState()
const;
210 virtual void doAction(
SoAction *action);
222 static void initClass();
223 static void exitClass();
225 virtual void notify(SoNotList *list);
232 virtual bool affectsPath()
const;
239 virtual void doChild(
SoAction *action,
int matchIndex = -1);
242 void commonConstructor();
Abstract base class for all actions.
Performs a generic traversal of a scene graph or path.
Renders a scene graph using Open Inventor's Render Engine.
Computes bounding box of a scene.
Computes transformation matrix for a subgraph.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Counts number of...
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 traverses one chosen child.
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.
SoSwitch(int nChildren)
Constructor that takes approximate number of children.
Writes a scene graph to a file.