21 #ifndef VECTORPROPERTYANIMATION_H_ 22 #define VECTORPROPERTYANIMATION_H_ 24 #include "tulip/CachedPropertyAnimation.h" 28 template <
typename PropType,
typename RealType,
typename VectorType,
unsigned int SIZE>
29 class VectorPropertyAnimation :
public CachedPropertyAnimation<PropType, RealType, RealType> {
31 VectorPropertyAnimation(
tlp::Graph *graph, PropType *start, PropType *end, PropType *out,
33 bool computeNodes =
true,
bool computeEdges =
true,
34 QObject *parent =
nullptr);
36 virtual ~VectorPropertyAnimation() {}
39 virtual RealType getNodeFrameValue(
const RealType &startValue,
const RealType &endValue,
41 virtual RealType getEdgeFrameValue(
const RealType &startValue,
const RealType &endValue,
45 typedef tlp::Vector<VectorType, SIZE> PropVector;
47 std::map<std::pair<tlp::Vector<VectorType, SIZE>, tlp::Vector<VectorType, SIZE>>,
48 tlp::Vector<double, SIZE>>
52 #include "cxx/VectorPropertyAnimation.cxx"
A graph property that maps a boolean value to graph elements.