man SoOnOff () - engine that functions as an on/off switch

NAME

SoOnOff - engine that functions as an on/off switch

INHERITS FROM

SoBase > SoFieldContainer > SoEngine > SoOnOff

SYNOPSIS

#include <Inventor/engines/SoOnOff.h> Inputs from class SoOnOff: c } c } on

c } c } off

c } c } toggle Outputs from class SoOnOff: c } c } isOn

c } c } isOff Methods from class SoOnOff: c } c } SoOnOff() Methods from class SoEngine: c } c } getClassTypeId()

c } c } getOutputs(SoEngineOutputList &list) const

c } c } getOutput(const SbName &outputName) const

c } c } getOutputName(const SoEngineOutput *output, SbName &outputName) const

c } c } copy() const

c } c } getByName(const SbName &name)

c } c } getByName(const SbName &name, SoEngineList &list) Methods from class SoFieldContainer: c } c } setToDefaults()

c } c } hasDefaultValues() const

c } c } fieldsAreEqual(const SoFieldContainer *fc) const

c } c } copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)

c } c } set(const char *fieldDataString)

c } c } get(SbString &fieldDataString)

c } c } getFields(SoFieldList &resultList) const

c } c } getField(const SbName &fieldName) const

c } c } getFieldName(const SoField *field, SbName &fieldName) const

c } c } isNotifyEnabled() const

c } c } enableNotify(SbBool flag) Methods from class SoBase: c } c } ref()

c } c } unref() const

c } c } unrefNoDelete() const

c } c } touch()

c } c } getTypeId() const

c } c } isOfType(SoType type) const

c } c } setName(const SbName &name)

c } c } getName() const

DESCRIPTION

This engine has three triggers as input and two Boolean values as output. The isOn output is a switch that can be turned on or off by triggering the corresponding input. You can toggle the value by triggering the toggle input. By default isOn is FALSE. The isOff output value is the inverse of isOn

INPUTS

c } c } on

Turn the isOn switch on. c } c } off

Turn the isOn switch off. c } c } toggle

Toggle the switch value.

OUTPUTS

c } c } isOn

Switch value. c } c } isOff

The inverse of isOn.

METHODS

c } c } SoOnOff()

Constructor.

FILE FORMAT/DEFAULTS

OnOff {
on	
off	
toggle	
}

SEE ALSO

SoEngineOutput