Stores the current interactive switch index. More...
#include <Inventor/elements/SoInteractiveSwitchElement.h>
Static Public Member Functions | |
static SoType | getClassTypeId () |
static int | getClassStackIndex () |
static void | set (SoState *state, int32_t index) |
static void | set (SoState *state, SoNode *, int32_t index) |
static int32_t | get (SoState *state) |
static int32_t | getDefault () |
Stores the current interactive switch index.
This element stores the current interactive switch index. This is set by several nodes and is used to allow SoInteractiveSwitch nodes to inherit the index.
SoArray, SoMultipleCopy, SoSwitch, SoVRMLSwitch, SoInteractiveSwitch
static int32_t SoInteractiveSwitchElement::get | ( | SoState * | state | ) | [inline, static] |
Returns current switch index from the state.
static int SoInteractiveSwitchElement::getClassStackIndex | ( | ) | [static] |
Returns the stack id for this element.
Reimplemented from SoInt32Element.
static SoType SoInteractiveSwitchElement::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoInt32Element.
static int32_t SoInteractiveSwitchElement::getDefault | ( | ) | [inline, static] |
Returns the default switch index.
static void SoInteractiveSwitchElement::set | ( | SoState * | state, | |
SoNode * | , | |||
int32_t | index | |||
) | [inline, static] |
Sets the current switch index in the state.
static void SoInteractiveSwitchElement::set | ( | SoState * | state, | |
int32_t | index | |||
) | [inline, static] |
Sets the current switch index in the state.