A keyframe for a PoseAnimation. More...
#include <KeyFrame.hh>
Inherits KeyFrame.
Public Member Functions | |
PoseKeyFrame (double _time) | |
Constructor. More... | |
virtual | ~PoseKeyFrame () |
Destructor. More... | |
double | GetTime () const |
Get the time of the keyframe. More... | |
void | Rotation (const ignition::math::Quaterniond &_rot) |
Set the rotation for the keyframe. More... | |
ignition::math::Quaterniond | Rotation () const |
Get the rotation of the keyframe. More... | |
void | Translation (const ignition::math::Vector3d &_trans) |
Set the translation for the keyframe. More... | |
ignition::math::Vector3d | Translation () const |
Get the translation of the keyframe. More... | |
Protected Attributes | |
ignition::math::Quaterniond | rotate |
the rotation quaternion More... | |
double | time |
time of key frame More... | |
ignition::math::Vector3d | translate |
the translation vector More... | |
A keyframe for a PoseAnimation.
|
explicit |
Constructor.
[in] | _time | of the keyframe |
|
virtual |
Destructor.
|
inherited |
Get the time of the keyframe.
void Rotation | ( | const ignition::math::Quaterniond & | _rot | ) |
Set the rotation for the keyframe.
[in] | _rot | Rotation amount |
ignition::math::Quaterniond Rotation | ( | ) | const |
Get the rotation of the keyframe.
void Translation | ( | const ignition::math::Vector3d & | _trans | ) |
Set the translation for the keyframe.
[in] | _trans | Translation amount |
ignition::math::Vector3d Translation | ( | ) | const |
Get the translation of the keyframe.
|
protected |
the rotation quaternion
|
protectedinherited |
time of key frame
|
protected |
the translation vector