30 if (currentValue->getType() != initialValue->getType())
38 int newValue =
dataHistory.rbegin()->second->getInt() - initialValue->getInt();
39 newVariant =
new Variant(newValue);
43 long newValue =
dataHistory.rbegin()->second->getLong() - initialValue->getLong();
44 newVariant =
new Variant(newValue);
48 float newValue =
dataHistory.rbegin()->second->getFloat() - initialValue->getFloat();
49 newVariant =
new Variant(newValue);
53 double newValue =
dataHistory.rbegin()->second->getDouble() - initialValue->getDouble();
54 newVariant =
new Variant(newValue);
60 Eigen::Vector3f newValue = vec->toEigen() - intialVec->toEigen();
68 Eigen::Vector3f newValue = pos->toEigen() - intialPos->toEigen();
75 Eigen::MatrixXf newMatrix = matrix->toEigen() - initialMatrix->toEigen();
86 ParameterTypeList result;
110 initialValue = VariantPtr::dynamicCast(
dataHistory.begin()->second);