17 #ifndef IGNITION_COMMON_KEYFRAME_HH_
18 #define IGNITION_COMMON_KEYFRAME_HH_
22 #include <ignition/common/graphics/Export.hh>
30 class IGNITION_COMMON_GRAPHICS_VISIBLE
KeyFrame
41 public:
double Time()
const;
77 #pragma warning(disable: 4251)
101 public:
void Value(
const double &_value);
105 public:
const double &
Value()
const;
A key frame in an animation.
Definition: KeyFrame.hh:31
virtual ~KeyFrame()
Destructor.
double Time() const
Get the time of the keyframe.
double time
time of key frame
Definition: KeyFrame.hh:44
KeyFrame(const double _time)
Constructor.
A keyframe for a NumericAnimation.
Definition: KeyFrame.hh:91
NumericKeyFrame(const double _time)
Constructor.
virtual ~NumericKeyFrame()
Destructor.
void Value(const double &_value)
Set the value of the keyframe.
double value
numeric value
Definition: KeyFrame.hh:108
const double & Value() const
Get the value of the keyframe.
A keyframe for a PoseAnimation.
Definition: KeyFrame.hh:49
PoseKeyFrame(const double _time)
Constructor.
const math::Quaterniond & Rotation() const
Get the rotation of the keyframe.
void Rotation(const math::Quaterniond &_rot)
Set the rotation for the keyframe.
const math::Vector3d & Translation() const
Get the translation of the keyframe.
math::Quaterniond rotate
the rotation quaternion
Definition: KeyFrame.hh:83
virtual ~PoseKeyFrame()
Destructor.
math::Vector3d translate
the translation vector
Definition: KeyFrame.hh:80
void Translation(const math::Vector3d &_trans)
Set the translation for the keyframe.
Forward declarations for the common classes.