SoSwitchElement Class Reference
[Elements]

Stores the current switch index. More...

#include <Inventor/elements/SoSwitchElement.h>

Inheritance diagram for SoSwitchElement:
SoInt32Element SoElement SoTypedObject

List of all members.

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 ()

Detailed Description

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.

SEE ALSO

SoArray, SoMultipleCopy, SoSwitch


Member Function Documentation

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.

static void SoSwitchElement::set ( SoState state,
SoNode ,
int32_t  index 
) [inline, static]

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.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/