MeVisLabToolboxReference
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>

List of all members.

Public Member Functions

 SoToggle ()
void onChanged ()
 called when the on field changes

Static Public Member Functions

static void initClass ()
static void onChangedCB (void *data, SoSensor *a)

Public Attributes

SoSFBool on
 switches contained scenegraph on/off

Detailed Description

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

Author:
Florian Link

Definition at line 38 of file SoToggle.h.


Constructor & Destructor Documentation

SoToggle::SoToggle ( )

Member Function Documentation

static void SoToggle::initClass ( ) [static]
void SoToggle::onChanged ( )

called when the on field changes

static void SoToggle::onChangedCB ( void *  data,
SoSensor *  a 
) [static]

Member Data Documentation

SoSFBool SoToggle::on

switches contained scenegraph on/off

Definition at line 44 of file SoToggle.h.


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