#include <Inventor/engines/SoOnOff.h>
Public Member Functions | |
SoOnOff (void) | |
Static Public Member Functions | |
static void | initClass (void) |
Public Attributes | |
SoSFTrigger | on |
SoSFTrigger | off |
SoSFTrigger | toggle |
SoEngineOutput | isOn |
SoEngineOutput | isOff |
Protected Member Functions | |
~SoOnOff () |
SoOnOff::SoOnOff | ( | void | ) |
Default constructor.
SoOnOff::~SoOnOff | ( | ) | [protected] |
Destructor is protected because engines are reference counted.
void SoOnOff::initClass | ( | void | ) | [static] |
Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system.
Reimplemented from SoEngine.
An input signal on this trigger makes the SoOnOff::isOn output become TRUE
.
An input signal on this trigger makes the SoOnOff::isOn output become FALSE
.
An input signal on this trigger toggles the TRUE
or FALSE
value of the SoOnOff::isOn output.
(SoSFBool) Whether the engine is "on" or not.
(SoSFBool) Always the opposite value of SoOnOff::isOn.