SoToggle

InventorModule

genre

InventorGroup

author

MeVis Medical Solutions AG

package

MeVisLab/Standard

dll

SoUtils

definition

utils.def

see also

SoSwitch, SoGroup

inherits from

Switch

keywords

bypass, SoBypass, on, off, switch, select

Purpose

The module SoToggle is derived from SoSwitch and allows for toggling the rendering of its child nodes by a boolean field.

Windows

Default Panel

../../../Modules/Inventor/SoUtils/mhelp/Images/Screenshots/SoToggle._default.png

Input Fields

child

name: child, type: SoNode

Output Fields

self

name: self, type: SoNode

Parameter Fields

Visible Fields

On

name: on, type: Bool, default: TRUE

If checked, the child nodes of this node are rendered.

Hidden Fields

whichChild

name: whichChild, type: Integer, default: -3

toggle

name: toggle, type: Trigger

When pressed, the On is toggled.