22 #ifndef LINEARMOTIONTRANSFORM_H_
23 #define LINEARMOTIONTRANSFORM_H_
30 #include "../../dimensionsglobal.h"
32 namespace LinearMotionTransformTriggers
68 virtual void restart(
const qreal newStartTime);
83 virtual qreal
velocity(
const qreal time);
86 virtual void vec(
const qreal time,qreal& d,qreal& v, qreal& a);
87 virtual QVector<qreal>
vec(
const qreal time);
120 virtual void update(
const qreal t,
const qreal d,
const qreal v,
const qreal a);
156 void updateValuesOnly(
const qreal t,
const qreal d,
const qreal v,
const qreal a);
157 bool checkDisplacementTrigger(
const qreal t,
const qreal d,
const qreal v,
const qreal a);
158 bool checkVelocityTrigger(
const qreal t,
const qreal d,
const qreal v,
const qreal a);
159 bool checkAccelerationTrigger(
const qreal t,
const qreal d,
const qreal v,
const qreal a);
160 bool checkTrigger(
const qreal t,
161 const qreal val,
const qreal lastVal,