24#ifndef _SO_INTERACTIVE_SWITCH_ELEMENT
25#define _SO_INTERACTIVE_SWITCH_ELEMENT
27#include <Inventor/elements/SoInt32Element.h>
42SoEXTENDER_Documented
class SoInteractiveSwitchElement :
public SoInt32Element
45 SO_ELEMENT_HEADER(SoInteractiveSwitchElement);
56 {
set(state, index); }
72 virtual void init(
SoState* state);
76 static void initClass();
77 static void exitClass();
42SoEXTENDER_Documented
class SoInteractiveSwitchElement :
public SoInt32Element {
…};
Stores the current interactive switch index.
static int32_t get(SoState *state)
Returns current switch index from the state.
static void set(SoState *state, int32_t index)
Sets the current switch index in the state.
static int32_t getDefault()
Returns the default switch index.
static void set(SoState *state, SoNode *, int32_t index)
Sets the current switch index in the state.
static int getClassStackIndex()
Returns the stack id for this element.
static SoType getClassTypeId()
Returns the type identifier for this class.
Abstract base class for all database nodes.