MeVisLab Resolution Independence API
SoToggle Class Reference

SoToggle is a SoSwitch node that has a boolean field to toggle the underlying scene graph on/off. More...

#include <SoToggle.h>

Inheritance diagram for SoToggle:

Public Member Functions

 SoToggle ()
 
void onChanged (SoField *field)
 called when the on field changes
 
void onToggle (SoField *field)
 called when toggle is touched
 

Static Public Member Functions

static void initClass ()
 

Public Attributes

SoSFBool on
 switches contained scenegraph on/off
 
SoSFTrigger toggle
 toggles 'on' field
 

Detailed Description

SoToggle is a SoSwitch node that has a boolean field to toggle the underlying scene graph on/off.

SoToggle is a SoSwitch node that has a boolean field to toggle the underlying scene graph on/off

Definition at line 39 of file SoToggle.h.

Constructor & Destructor Documentation

◆ SoToggle()

SoToggle::SoToggle ( )

Member Function Documentation

◆ initClass()

static void SoToggle::initClass ( )
static

◆ onChanged()

void SoToggle::onChanged ( SoField * field)

called when the on field changes

◆ onToggle()

void SoToggle::onToggle ( SoField * field)

called when toggle is touched

Member Data Documentation

◆ on

SoSFBool SoToggle::on

switches contained scenegraph on/off

Definition at line 45 of file SoToggle.h.

◆ toggle

SoSFTrigger SoToggle::toggle

toggles 'on' field

Definition at line 48 of file SoToggle.h.


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