Go to the documentation of this file.
17 #ifndef GZ_COMMON_NODE_ANIMATION_HH_
18 #define GZ_COMMON_NODE_ANIMATION_HH_
23 #include <gz/math/Matrix4.hh>
24 #include <gz/math/Pose3.hh>
26 #include <gz/common/graphics/Export.hh>
32 class NodeAnimationPrivate;
56 public:
void AddKeyFrame(
const double _time,
62 public:
void AddKeyFrame(
const double _time,
const math::Pose3d &_pose);
66 public:
unsigned int FrameCount()
const;
74 public:
void KeyFrame(
const unsigned int _i,
double &_time,
83 const unsigned int _i)
const;
87 public:
double Length()
const;
95 public: gz::math::Matrix4d FrameAt(
const double _time,
96 const bool _loop =
true)
const;
101 public:
void Scale(
const double _scale);
109 public:
double TimeAtX(
const double _x)
const;
112 private: NodeAnimationPrivate *data;
Forward declarations for the common classes.
Node animation.
Definition: gz/common/NodeAnimation.hh:36
A key frame in an animation.
Definition: gz/common/KeyFrame.hh:30