SoMultiSwitchElement Class Reference
[Elements]

Stores the current multi-switch indices. More...

#include <Inventor/elements/SoMultiSwitchElement.h>

Inheritance diagram for SoMultiSwitchElement:
SoInt32ListElement SoElement SoTypedObject

List of all members.

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
static void set (SoState *state, SbIntList &index, SoMultiSwitch::TraversalMode traversalMode)
static void set (SoState *state, SoNode *, SbIntList &index, SoMultiSwitch::TraversalMode traversalMode)
static const SbIntList & get (SoState *state)
static SoMultiSwitch::TraversalMode getTraversalMode (SoState *state)

Detailed Description

Stores the current multi-switch indices.

This element stores the current multi-switch indices. This is set by several nodes and is used to allow SoMultiSwitch nodes to inherit the indices and traversal mode.

SEE ALSO

SoArray, SoMultipleCopy, SoSwitch, SoMultiSwitch


Member Function Documentation

static const SbIntList& SoMultiSwitchElement::get ( SoState state  )  [inline, static]

Returns current switch index from the state.

static int SoMultiSwitchElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoInt32ListElement.

static SoType SoMultiSwitchElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoInt32ListElement.

static SoMultiSwitch::TraversalMode SoMultiSwitchElement::getTraversalMode ( SoState state  )  [inline, static]
static void SoMultiSwitchElement::set ( SoState state,
SoNode ,
SbIntList &  index,
SoMultiSwitch::TraversalMode  traversalMode 
) [inline, static]

Sets the current switch index in the state.

static void SoMultiSwitchElement::set ( SoState state,
SbIntList &  index,
SoMultiSwitch::TraversalMode  traversalMode 
) [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 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/