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