50#ifndef _SO_TIME_COUNTER_
51#define _SO_TIME_COUNTER_
53#include <Inventor/engines/SoSubEngine.h>
54#include <Inventor/fields/SoSFShort.h>
55#include <Inventor/fields/SoSFFloat.h>
56#include <Inventor/fields/SoMFFloat.h>
57#include <Inventor/fields/SoSFTime.h>
58#include <Inventor/fields/SoSFBool.h>
59#include <Inventor/fields/SoSFTrigger.h>
191 static void initClass();
192 static void exitClass();
196 virtual void writeInstance(
SoOutput *out);
199 virtual void inputChanged(
SoField *whichInput);
202 virtual void evaluate();
207 virtual SbBool readInstance(
SoInput *in,
unsigned short flags);
Class for representation of a time.
Base class for all engines.
Class for all engine outputs.
Base class for all fields.
Multiple-value field containing any number of floating point values.
Used to write Open Inventor data files.
Field containing a single Boolean value.
Field containing a floating-point value.
Field containing a short integer.
Field containing an SbTime.
Field used to trigger engines or connection networks.
SoEngineOutput output
( SoSFShort ) Counts min-to-max, in step increments.
SoSFShort max
Maximum value for the counter.
SoSFTrigger syncIn
Restart at the beginning of the cycle.
SoSFFloat frequency
Number of min-to-max cycles per second.
SoSFShort reset
Reset the counter to the specified value.
SoSFTime timeIn
Running time.
SoSFBool on
Counter pauses if this is set to FALSE.
SoTimeCounter()
Constructor.
SoSFShort step
Counter step value.
SoSFShort min
Minimum value for the counter.
SoMFFloat duty
Duty cycle values.
SoEngineOutput syncOut
( SoSFTrigger ) Triggers at cycle start.