Inventor/VRMLnodes/SoVRMLSwitch.h File Reference

Switch group node: traverses only the child indicated by integer "whichChild" field. More...

#include <Inventor/VRMLnodes/SoVRMLParent.h>
#include <Inventor/misc/SoChildList.h>
#include <Inventor/fields/SoSFInt32.h>
#include <Inventor/fields/SoSFVec3f.h>
#include <Inventor/fields/SoMFNode.h>
#include <Inventor/fields/SoSFNode.h>
#include <Inventor/nodes/SoNode.h>

Go to the source code of this file.

Classes

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

Defines

#define SO_SWITCH_NONE   (-1)
#define SO_SWITCH_INHERIT   (-2)
#define SO_SWITCH_ALL   (-3)

Detailed Description

Switch group node: traverses only the child indicated by integer "whichChild" field.

If this field is SO_SWITCH_NONE, no children are traversed, while SO_SWITCH_INHERIT means inherit the index from the current switch state, doing a modulo operation to make sure the child index is within the correct bounds of the switch node.

Definition in file SoVRMLSwitch.h.


Define Documentation

#define SO_SWITCH_ALL   (-3)

Possible value of SoVRMLSwitch::whichChoice : Traverse all children.

#define SO_SWITCH_INHERIT   (-2)

Possible value of SoVRMLSwitch::whichChoice : Inherit value from state.

#define SO_SWITCH_NONE   (-1)

Possible value of SoVRMLSwitch::whichChoice : Don't traverse any children.


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