#include <AnimationSpeedInterpolator.h>
double inet::visualizer::AnimationSpeedInterpolator::getCurrentAnimationSpeed |
( |
| ) |
const |
Referenced by inet::visualizer::MediumCanvasVisualizer::setAnimationSpeed().
32 AnimationPosition currentAnimationPosition;
33 double currentTime = currentAnimationPosition.getTime(
targetType);
double getTime(TimeType type) const
Definition: AnimationPosition.cc:38
double lastAnimationSpeed
Definition: AnimationSpeedInterpolator.h:31
double targetAnimationSpeed
Definition: AnimationSpeedInterpolator.h:36
AnimationPosition lastAnimationPosition
Definition: AnimationSpeedInterpolator.h:32
double targetTime
Definition: AnimationSpeedInterpolator.h:35
AnimationPosition::TimeType targetType
Definition: AnimationSpeedInterpolator.h:34
const value< double, units::unit > alpha(7.2973525376e-3)
double inet::visualizer::AnimationSpeedInterpolator::getTargetAnimationSpeed |
( |
| ) |
const |
|
inline |
double inet::visualizer::AnimationSpeedInterpolator::getTargetTime |
( |
| ) |
const |
|
inline |
double targetTime
Definition: AnimationSpeedInterpolator.h:35
AnimationPosition::TimeType targetType
Definition: AnimationSpeedInterpolator.h:34
void inet::visualizer::AnimationSpeedInterpolator::setAnimationSpeed |
( |
double |
animationSpeed | ) |
|
Referenced by inet::visualizer::MediumCanvasVisualizer::setAnimationSpeed().
void setTargetAnimationSpeed(AnimationPosition::TimeType targetType, double targetTime, double targetAnimationSpeed)
Definition: AnimationSpeedInterpolator.cc:49
Definition: AnimationPosition.h:33
void setCurrentAnimationSpeed(double currentAnimationSpeed)
Definition: AnimationSpeedInterpolator.cc:43
void inet::visualizer::AnimationSpeedInterpolator::setCurrentAnimationSpeed |
( |
double |
currentAnimationSpeed | ) |
|
void inet::visualizer::AnimationSpeedInterpolator::setTargetAnimationSpeed |
( |
AnimationPosition::TimeType |
targetType, |
|
|
double |
targetTime, |
|
|
double |
targetAnimationSpeed |
|
) |
| |
AnimationPosition inet::visualizer::AnimationSpeedInterpolator::lastAnimationPosition |
|
protected |
double inet::visualizer::AnimationSpeedInterpolator::lastAnimationSpeed = NaN |
|
protected |
double inet::visualizer::AnimationSpeedInterpolator::targetAnimationSpeed = NaN |
|
protected |
double inet::visualizer::AnimationSpeedInterpolator::targetTime = NaN |
|
protected |
The documentation for this class was generated from the following files: