21 #ifndef DOUBLEPROPERTYANIMATION_H 22 #define DOUBLEPROPERTYANIMATION_H 24 #include <tulip/CachedPropertyAnimation.h> 25 #include <tulip/DoubleProperty.h> 29 class TLP_QT_SCOPE DoublePropertyAnimation
30 :
public CachedPropertyAnimation<tlp::DoubleProperty, double, double> {
34 int frameCount = 1,
bool computeNodes =
true,
bool computeEdges =
false,
35 QObject *parent =
nullptr);
36 ~DoublePropertyAnimation()
override {}
39 double getNodeFrameValue(
const double &startValue,
const double &endValue,
int frame)
override;
40 double getEdgeFrameValue(
const double &startValue,
const double &endValue,
int frame)
override;
44 #endif // DOUBLEPROPERTYANIMATION_H
A graph property that maps a boolean value to graph elements.
A graph property that maps a double value to graph elements.