20 #include <ignition/math/Vector3.hh> 21 #include <ignition/math/Quaternion.hh> 39 public:
explicit KeyFrame(
double _time);
46 public:
double GetTime()
const;
64 public:
void Translation(
const ignition::math::Vector3d &_trans);
68 public: ignition::math::Vector3d Translation()
const;
72 public:
void Rotation(
const ignition::math::Quaterniond &_rot);
76 public: ignition::math::Quaterniond Rotation()
const;
82 protected: ignition::math::Quaterniond
rotate;
97 public:
void SetValue(
const double &_value);
101 public:
const double &GetValue()
const;
Forward declarations for the common classes.
Definition: Animation.hh:26
A keyframe for a NumericAnimation.
Definition: KeyFrame.hh:86
A keyframe for a PoseAnimation.
Definition: KeyFrame.hh:53
A key frame in an animation.
Definition: KeyFrame.hh:35
double value
numeric value
Definition: KeyFrame.hh:104
ignition::math::Quaterniond rotate
the rotation quaternion
Definition: KeyFrame.hh:82
double time
time of key frame
Definition: KeyFrame.hh:49
ignition::math::Vector3d translate
the translation vector
Definition: KeyFrame.hh:79