void reset(T start, T stop, double period)
Resets the interpolation with new parameters.
Definition linearInterpolator.h:132
T myStart
The starting value.
Definition linearInterpolator.h:92
double myPeriod
The total time period for the interpolation (in seconds)
Definition linearInterpolator.h:101
double timeRemaining() const
Gets the time remaining in the interpolation.
Definition linearInterpolator.h:88
T stop() const
Gets the end value.
Definition linearInterpolator.h:83
DtLinearInterpolator(T start, T stop, double period)
Constructor.
Definition linearInterpolator.h:32
void reset()
Resets the interpolation to the beginning.
Definition linearInterpolator.h:120
double myCurrentTime
The current elapsed time (in seconds)
Definition linearInterpolator.h:104
T start() const
Gets the start value.
Definition linearInterpolator.h:78
T myEnd
The ending value.
Definition linearInterpolator.h:95
void tick(double dt)
Updates the interpolation based on elapsed time.
T value() const
Gets the current interpolated value.
Definition linearInterpolator.h:56
T myCurrentValue
The current interpolated value.
Definition linearInterpolator.h:98
~DtLinearInterpolator()
Destructor.
Definition linearInterpolator.h:42
bool isDone() const
Checks if the interpolation has completed.
Definition linearInterpolator.h:111
Include export definitions for this library.
Definition glsVreMessageUtil.h:49