#include <Inventor/engines/SoOneShot.h>
Inheritance diagram for SoOneShot::
Public Types | |
enum | Flags { RETRIGGERABLE = 1, HOLD_FINAL = 2 } |
Public Methods | |
SoOneShot (void) | |
Static Public Methods | |
void | initClass (void) |
Public Attributes | |
SoSFTime | timeIn |
SoSFTime | duration |
SoSFTrigger | trigger |
SoSFBitMask | flags |
SoSFBool | disable |
SoEngineOutput | timeOut |
SoEngineOutput | isActive |
SoEngineOutput | ramp |
Protected Methods | |
~SoOneShot () |
|
There are two flags available:
|
|
Default constructor. |
|
Destructor is protected to avoid explicit destruction. |
|
Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. Reimplemented from SoEngine. |
|
Input time source. Connected by default to the realTime global field, but the application programmer is free to change this to any other time source. |
|
The time the engine should run for when it is triggered. Defaults to 1 second. |
|
A pulse on this input field starts the engine. |
|
Control flags. See SoOneShot::Flags. Reimplemented from SoEngine. |
|
Set to |
|
(SoSFTime) Output time. Will run from 0 to the value of SoOneShot::duration. |
|
(SoSFBool) |
|
(SoSFFloat) Will run from 0 to 1 during the active period. |