Open Inventor Reference
|
Element that stores the current switch index. More...
#include <Inventor/elements/SoSwitchElement.h>
Public Member Functions | |
virtual void | init (SoState *state) |
Initializes element. | |
Static Public Member Functions | |
static void | set (SoState *state, int32_t index) |
Sets the current switch index in the state. | |
static void | set (SoState *state, SoNode *, int32_t index) |
static int32_t | get (SoState *state) |
Returns current switch index from the state. | |
static int32_t | getDefault () |
Returns the default switch index. | |
static void | initClass () |
Initializes the SoSwitchElement class. | |
Protected Member Functions | |
virtual | ~SoSwitchElement () |
This is set by several nodes and is used to allow SoSwitch nodes to inherit the index.
Definition at line 71 of file SoSwitchElement.h.
virtual SoSwitchElement::~SoSwitchElement | ( | ) | [protected, virtual] |
Definition at line 89 of file SoSwitchElement.h.
References SoInt32Element::get().
static int32_t SoSwitchElement::getDefault | ( | ) | [inline, static] |
Definition at line 93 of file SoSwitchElement.h.
static void SoSwitchElement::initClass | ( | ) | [static] |
Reimplemented from SoInt32Element.
Definition at line 80 of file SoSwitchElement.h.
References SoInt32Element::set().
Definition at line 84 of file SoSwitchElement.h.