Go to the documentation of this file.
17 #ifndef IGNITION_COMMON_NODE_ANIMATION_HH_
18 #define IGNITION_COMMON_NODE_ANIMATION_HH_
23 #include <gz/math/Matrix4.hh>
24 #include <gz/math/Pose3.hh>
26 #include <ignition/utils/ImplPtr.hh>
28 #include <gz/common/config.hh>
29 #include <gz/common/graphics/Export.hh>
57 public:
void AddKeyFrame(
const double _time,
63 public:
void AddKeyFrame(
const double _time,
const math::Pose3d &_pose);
67 public:
unsigned int FrameCount()
const;
75 public:
void KeyFrame(
const unsigned int _i,
double &_time,
84 const unsigned int _i)
const;
88 public:
double Length()
const;
97 const bool _loop =
true)
const;
102 public:
void Scale(
const double _scale);
110 public:
double TimeAtX(
const double _x)
const;
113 IGN_UTILS_IMPL_PTR(dataPtr)
Forward declarations for the common classes.
Node animation.
Definition: gz/common/NodeAnimation.hh:37
A key frame in an animation.
Definition: gz/common/KeyFrame.hh:35