21#include <Inventor/nodes/SoSubNode.h>
22#include <Inventor/nodes/SoSwitch.h>
23#include <Inventor/sensors/SoFieldSensor.h>
24#include <Inventor/fields/SoSFBool.h>
25#include <Inventor/fields/SoSFTrigger.h>
29#pragma warning (disable : 4355)
30#pragma warning (disable : 4275)
31#pragma warning (disable : 4251)
#define SOUTILS_EXPORT
System dependent includes. Disables some compiler/linker warnings.
SoToggle is a SoSwitch node that has a boolean field to toggle the underlying scene graph on/off.
SoSFBool on
switches contained scenegraph on/off
SoSFTrigger toggle
toggles 'on' field
void onToggle(SoField *field)
called when toggle is touched
void onChanged(SoField *field)
called when the on field changes