17 #ifndef IGNITION_COMMON_KEYFRAME_HH_
18 #define IGNITION_COMMON_KEYFRAME_HH_
20 #include <gz/math/Vector3.hh>
21 #include <gz/math/Quaternion.hh>
23 #include <ignition/utils/ImplPtr.hh>
25 #include <gz/common/config.hh>
26 #include <gz/common/graphics/Export.hh>
35 class IGNITION_COMMON_GRAPHICS_VISIBLE
KeyFrame
46 public:
double Time()
const;
49 IGN_UTILS_IMPL_PTR(dataPtr)
79 IGN_UTILS_IMPL_PTR(dataPtr)
94 public:
void Value(
const double &_value);
98 public:
const double &
Value()
const;
101 IGN_UTILS_IMPL_PTR(dataPtr)
A key frame in an animation.
Definition: gz/common/KeyFrame.hh:36
virtual ~KeyFrame()
Destructor.
double Time() const
Get the time of the keyframe.
KeyFrame(const double _time)
Constructor.
A keyframe for a NumericAnimation.
Definition: gz/common/KeyFrame.hh:84
NumericKeyFrame(const double _time)
Constructor.
virtual ~NumericKeyFrame()
Destructor.
void Value(const double &_value)
Set the value of the keyframe.
const double & Value() const
Get the value of the keyframe.
A keyframe for a PoseAnimation.
Definition: gz/common/KeyFrame.hh:54
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.
virtual ~PoseKeyFrame()
Destructor.
void Translation(const math::Vector3d &_trans)
Set the translation for the keyframe.
Forward declarations for the common classes.