Coin Logo http://www.sim.no/
http://www.coin3d.org/

Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions

SoOnOff Class Reference

The SoOnOff engine is a simple on/off switch. More...

#include <Inventor/engines/SoOnOff.h>

Inheritance diagram for SoOnOff:
SoEngine SoFieldContainer SoBase

List of all members.

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

virtual ~SoOnOff (void)

Detailed Description

The SoOnOff engine is a simple on/off switch.


Constructor & Destructor Documentation

SoOnOff::SoOnOff ( void  )

Default constructor.

SoOnOff::~SoOnOff ( void  ) [protected, virtual]

Destructor is protected because engines are reference counted.


Member Function Documentation

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.


Member Data Documentation

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.


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

Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.

Generated for Coin by Doxygen 1.7.3.