Go to the documentation of this file.
20 #include <ignition/math/Vector3.hh>
21 #include <ignition/math/Quaternion.hh>
64 public:
void Translation(
const ignition::math::Vector3d &_trans);
72 public:
void Rotation(
const ignition::math::Quaterniond &_rot);
76 public: ignition::math::Quaterniond
Rotation()
const;
82 protected: ignition::math::Quaterniond
rotate;
void Rotation(const ignition::math::Quaterniond &_rot)
Set the rotation for the keyframe.
Forward declarations for the common classes.
Definition: Animation.hh:27
const double & GetValue() const
Get the value of the keyframe.
common
Definition: FuelModelDatabase.hh:37
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:87
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.
void Translation(const ignition::math::Vector3d &_trans)
Set the translation for the keyframe.
virtual ~KeyFrame()
Destructor.
A key frame in an animation.
Definition: KeyFrame.hh:36
A keyframe for a PoseAnimation.
Definition: KeyFrame.hh:54