Go to the documentation of this file.
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
const double & GetValue() const
Get the value of the keyframe.
PoseKeyFrame(double _time)
Constructor.
double time
time of key frame
Definition: KeyFrame.hh:49
void SetValue(const double &_value)
Set the value of the keyframe.
A keyframe for a NumericAnimation.
Definition: KeyFrame.hh:86
virtual ~NumericKeyFrame()
Destructor.
KeyFrame(double _time)
Constructor.
double value
numeric value
Definition: KeyFrame.hh:104
ignition::math::Vector3d Translation() const
Get the translation of the keyframe.
virtual ~PoseKeyFrame()
Destructor.
double GetTime() const
Get the time of the keyframe.
ignition::math::Vector3d translate
the translation vector
Definition: KeyFrame.hh:79
ignition::math::Quaterniond rotate
the rotation quaternion
Definition: KeyFrame.hh:82
NumericKeyFrame(double _time)
Constructor.
ignition::math::Quaterniond Rotation() const
Get the rotation of the keyframe.
virtual ~KeyFrame()
Destructor.
A key frame in an animation.
Definition: KeyFrame.hh:35
A keyframe for a PoseAnimation.
Definition: KeyFrame.hh:53