Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SoMultiSwitchElement Class Reference

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

#include <Inventor/elements/SoMultiSwitchElement.h>

+ Inheritance diagram for SoMultiSwitchElement:

Static Public Member Functions

static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
static void set (SoState *state, SbIntList &index, SoMultiSwitch::TraversalMode traversalMode)
 Sets the current switch index in the state.
 
static void set (SoState *state, SoNode *, SbIntList &index, SoMultiSwitch::TraversalMode traversalMode)
 Sets the current switch index in the state.
 
static const SbIntList & get (SoState *state)
 Returns current switch index from the state.
 
static SoMultiSwitch::TraversalMode getTraversalMode (SoState *state)
 
- Static Public Member Functions inherited from SoInt32ListElement
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 
static int getClassStackIndex ()
 Returns the stack id for this element.
 
- Static Public Member Functions inherited from SoElement
static SoType getClassTypeId ()
 Returns type identifier for SoElement class.
 
- Static Public Member Functions inherited from SoTypedObject
static SoType getClassTypeId ()
 Returns the type identifier for this class.
 

Additional Inherited Members

- Public Member Functions inherited from SoElement
virtual void push (SoState *state)
 Pushes element.
 
virtual void pop (SoState *state, const SoElement *prevTopElement)
 Pops element.
 
virtual void print (FILE *fp) const
 Prints element (for debugging).
 
virtual SoType getTypeId () const
 Returns type identifier for element instance.
 
- Public Member Functions inherited from SoTypedObject
SbBool isOfType (const SoType &type) const
 Returns TRUE if this object is of the type specified in type or is derived from that type.
 
template<typename TypedObjectClass >
SbBool isOfType () const
 Returns TRUE if this object is of the type of class TypedObjectClass or is derived from that class.
 

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

Definition at line 44 of file SoMultiSwitchElement.h.

Member Function Documentation

◆ get()

static const SbIntList & SoMultiSwitchElement::get ( SoState state)
inlinestatic

Returns current switch index from the state.

Definition at line 65 of file SoMultiSwitchElement.h.

◆ getClassStackIndex()

static int SoMultiSwitchElement::getClassStackIndex ( )
static

Returns the stack id for this element.


◆ getClassTypeId()

static SoType SoMultiSwitchElement::getClassTypeId ( )
static

Returns the type identifier for this class.


◆ getTraversalMode()

static SoMultiSwitch::TraversalMode SoMultiSwitchElement::getTraversalMode ( SoState state)
inlinestatic

Definition at line 68 of file SoMultiSwitchElement.h.

◆ set() [1/2]

static void SoMultiSwitchElement::set ( SoState state,
SbIntList &  index,
SoMultiSwitch::TraversalMode  traversalMode 
)
static

Sets the current switch index in the state.

◆ set() [2/2]

static void SoMultiSwitchElement::set ( SoState state,
SoNode ,
SbIntList &  index,
SoMultiSwitch::TraversalMode  traversalMode 
)
inlinestatic

Sets the current switch index in the state.

Definition at line 57 of file SoMultiSwitchElement.h.


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