1#ifndef COIN_SOSWITCHELEMENT_H
2#define COIN_SOSWITCHELEMENT_H
36#include <Inventor/elements/SoInt32Element.h>
38class COIN_DLL_API SoSwitchElement :
public SoInt32Element {
39 typedef SoInt32Element inherited;
41 SO_ELEMENT_HEADER(SoSwitchElement);
45 virtual ~SoSwitchElement();
48 virtual void init(SoState * state);
50 static void set(SoState *
const state,
SoNode *
const node,
52 static void set(SoState *
const state,
const int32_t index);
53 static int32_t
get(SoState *
const state);
static void set(const int index, SoState *const state, SoNode *const node, const int32_t value)
Definition SoInt32Element.cpp:126
static void initClass(void)
Definition SoInt32Element.cpp:72
virtual void init(SoState *state)
Definition SoInt32Element.cpp:178
static int32_t get(const int index, SoState *const state)
Definition SoInt32Element.cpp:153
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:56
static int32_t getDefault()
FIXME: write doc.
Definition SoSwitchElement.cpp:111