SoOnOff Class Reference
[Engines]

Engine that functions as an on/off switch. More...

#include <Inventor/engines/SoOnOff.h>

Inheritance diagram for SoOnOff:
SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 SoOnOff ()

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

SoSFTrigger on
SoSFTrigger off
SoSFTrigger toggle
SoEngineOutput isOn
SoEngineOutput isOff

Detailed Description

Engine that functions as an on/off switch.

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

FILE FORMAT/DEFAULT

SEE ALSO

SoEngineOutput


Constructor & Destructor Documentation

SoOnOff::SoOnOff (  ) 

Constructor.


Member Function Documentation

static SoType SoOnOff::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoEngine.

virtual SoType SoOnOff::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Implements SoTypedObject.


Member Data Documentation

( SoSFBool ) The inverse of isOn.

( SoSFBool ) Switch value.

Turn the isOn switch off.

Turn the isOn switch on.

Toggle the switch value.


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

Open Inventor Toolkit reference manual, generated on 1 Nov 2022
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/