Go to the documentation of this file.
17 #ifndef GZ_COMMON_KEYFRAME_HH_
18 #define GZ_COMMON_KEYFRAME_HH_
20 #include <gz/math/Vector3.hh>
21 #include <gz/math/Quaternion.hh>
22 #include <gz/common/graphics/Export.hh>
30 class IGNITION_COMMON_GRAPHICS_VISIBLE
KeyFrame
34 public:
explicit KeyFrame(
const double _time);
41 public:
double Time()
const;
77 #pragma warning(disable: 4251)
101 public:
void Value(
const double &_value);
105 public:
const double &Value()
const;
Forward declarations for the common classes.
double time
time of key frame
Definition: gz/common/KeyFrame.hh:44
A Time class, can be used to hold wall- or sim-time. stored as sec and nano-sec.
Definition: gz/common/Time.hh:33
A keyframe for a NumericAnimation.
Definition: gz/common/KeyFrame.hh:90
double value
numeric value
Definition: gz/common/KeyFrame.hh:108
A keyframe for a PoseAnimation.
Definition: gz/common/KeyFrame.hh:48
math::Quaterniond rotate
the rotation quaternion
Definition: gz/common/KeyFrame.hh:83
A key frame in an animation.
Definition: gz/common/KeyFrame.hh:30