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;
common
Definition FuelModelDatabase.hh:37
A key frame in an animation.
Definition KeyFrame.hh:36
KeyFrame(double _time)
Constructor.
double GetTime() const
Get the time of the keyframe.
virtual ~KeyFrame()
Destructor.
double time
time of key frame
Definition KeyFrame.hh:49
A keyframe for a NumericAnimation.
Definition KeyFrame.hh:87
void SetValue(const double &_value)
Set the value of the keyframe.
NumericKeyFrame(double _time)
Constructor.
virtual ~NumericKeyFrame()
Destructor.
const double & GetValue() const
Get the value of the keyframe.
double value
numeric value
Definition KeyFrame.hh:104
A keyframe for a PoseAnimation.
Definition KeyFrame.hh:54
ignition::math::Vector3d Translation() const
Get the translation of the keyframe.
PoseKeyFrame(double _time)
Constructor.
ignition::math::Quaterniond rotate
the rotation quaternion
Definition KeyFrame.hh:82
ignition::math::Quaterniond Rotation() const
Get the rotation of the keyframe.
ignition::math::Vector3d translate
the translation vector
Definition KeyFrame.hh:79
void Translation(const ignition::math::Vector3d &_trans)
Set the translation for the keyframe.
virtual ~PoseKeyFrame()
Destructor.
void Rotation(const ignition::math::Quaterniond &_rot)
Set the rotation for the keyframe.
Forward declarations for the common classes.
Definition Animation.hh:27