keyFrameInterpolator.h
272 void toggleInterpolation() { if (interpolationIsStarted()) stopInterpolation(); else startInterpolation(); }
291 virtual void invalidateValues() { valuesAreValid_ = false; pathIsValid_ = false; splineCacheIsValid_ = false; }
A keyFrame Catmull-Rom Frame interpolator.
Definition: keyFrameInterpolator.h:126
void setInterpolationTime(float time)
Sets the interpolationTime().
Definition: keyFrameInterpolator.h:247
void setInterpolationPeriod(int period)
Sets the interpolationPeriod().
Definition: keyFrameInterpolator.h:251
Definition: camera.h:29
float interpolationSpeed() const
Returns the current interpolation speed.
Definition: keyFrameInterpolator.h:213
int interpolationPeriod() const
Returns the current interpolation period, expressed in milliseconds.
Definition: keyFrameInterpolator.h:222
int numberOfKeyFrames() const
Returns the number of keyFrames used by the interpolation.
Definition: keyFrameInterpolator.h:192
Frame * frame() const
Returns the associated Frame and that is interpolated by the KeyFrameInterpolator.
Definition: keyFrameInterpolator.h:180
bool interpolationIsStarted() const
Returns true when the interpolation is being performed.
Definition: keyFrameInterpolator.h:266
float interpolationTime() const
Returns the current interpolation time (in seconds) along the KeyFrameInterpolator path...
Definition: keyFrameInterpolator.h:205
void setInterpolationSpeed(float speed)
Sets the interpolationSpeed().
Definition: keyFrameInterpolator.h:249
void setClosedPath(bool closed=true)
Sets the closedPath() value.
Definition: keyFrameInterpolator.h:256
bool loopInterpolation() const
Returns true when the interpolation is played in an infinite loop.
Definition: keyFrameInterpolator.h:232
bool closedPath() const
Whether or not (default) the path defined by the keyFrames is a closed loop.
Definition: keyFrameInterpolator.h:239
The Frame class represents a coordinate system, defined by a position and an orientation.
Definition: frame.h:121
void setLoopInterpolation(bool loop=true)
Sets the loopInterpolation() value.
Definition: keyFrameInterpolator.h:253
void toggleInterpolation()
Calls startInterpolation() or stopInterpolation(), depending on interpolationIsStarted().
Definition: keyFrameInterpolator.h:272