25#ifndef _SO_INTERACTIVE_SWITCH_
26#define _SO_INTERACTIVE_SWITCH_
126 static void initClass();
127 static void exitClass();
134 virtual void doChild(
SoAction *action,
int matchIndex = -1);
#define SO_NODE_HEADER(className)
Switch group node: traverses only the child indicated by integer "whichChild" field.
Abstract base class for all actions.
Group node that traverses one chosen child depending on scene interaction.
virtual SbBool affectsState() const
Overrides method in SoSwitch to return FALSE if there is no selected child or the selected child does...
SoInteractiveSwitch(int nChildren)
Constructor that takes approximate number of children.
SoSFInt32 whichInteractiveChild
Index of the child to traverse during interaction, (or one of SO_SWITCH_NONE, SO_SWITCH_INHERIT,...
SoInteractiveSwitch()
Creates an interactive-switch node with default settings.
Field containing a int32_t integer.
Group node that traverses one chosen child.