SoVRMLSwitch Class Reference
[VRML97 nodes]

VSG extension Group node that traverses one chosen child. More...

#include <Inventor/VRMLnodes/SoVRMLSwitch.h>

Inheritance diagram for SoVRMLSwitch:
SoVRMLParent SoGroup SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoVRMLSwitch ()
 SoVRMLSwitch (int nChoices)
virtual SbBool affectsState () const
void addChoice (SoNode *choice1)
void insertChoice (SoNode *choice1, int newLevelIndex)
SoNodegetChoice (int index) const
int findChoice (const SoNode *choice1) const
int getNumChoices () const
void removeChoice (int index)
void removeChoice (SoNode *choice1)
void removeAllChoices ()
void replaceChoice (int index, SoNode *newChoice)
void replaceChoice (SoNode *oldChoice, SoNode *newChoice)

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoMFNode choice
SoSFInt32 whichChoice

Detailed Description

VSG extension Group node that traverses one chosen child.

NOTE: This class does not exist in Open Inventor 10.0 and later.

NOTE: This field is not compatible with VRML97. If you specify a non-default value for this field, when this node is written to a VRML file, the file will contain this incompatible field and standard VRML97 file readers will not be able to read it. See the VRML97 Specification, below.

VRML97 SPECIFICATION

FILE FORMAT/DEFAULT

ACTION BEHAVIOR

EVENTS


Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/