A keyframe for a PoseAnimation.
More...
#include <KeyFrame.hh>
Inherits KeyFrame.
|
| PoseKeyFrame (double _time) |
| Constructor.
|
|
virtual | ~PoseKeyFrame () |
| Destructor.
|
|
double | GetTime () const |
| Get the time of the keyframe.
|
|
ignition::math::Quaterniond | Rotation () const |
| Get the rotation of the keyframe.
|
|
void | Rotation (const ignition::math::Quaterniond &_rot) |
| Set the rotation for the keyframe.
|
|
ignition::math::Vector3d | Translation () const |
| Get the translation of the keyframe.
|
|
void | Translation (const ignition::math::Vector3d &_trans) |
| Set the translation for the keyframe.
|
|
|
ignition::math::Quaterniond | rotate |
| the rotation quaternion
|
|
double | time |
| time of key frame
|
|
ignition::math::Vector3d | translate |
| the translation vector
|
|
A keyframe for a PoseAnimation.
◆ PoseKeyFrame()
◆ ~PoseKeyFrame()
◆ GetTime()
Get the time of the keyframe.
- Returns
- the time
◆ Rotation() [1/2]
ignition::math::Quaterniond Rotation |
( |
| ) |
const |
Get the rotation of the keyframe.
- Returns
- The rotation amount
◆ Rotation() [2/2]
void Rotation |
( |
const ignition::math::Quaterniond & | _rot | ) |
|
Set the rotation for the keyframe.
- Parameters
-
◆ Translation() [1/2]
ignition::math::Vector3d Translation |
( |
| ) |
const |
Get the translation of the keyframe.
- Returns
- The translation amount
◆ Translation() [2/2]
void Translation |
( |
const ignition::math::Vector3d & | _trans | ) |
|
Set the translation for the keyframe.
- Parameters
-
[in] | _trans | Translation amount |
◆ rotate
ignition::math::Quaterniond rotate |
|
protected |
◆ time
◆ translate
ignition::math::Vector3d translate |
|
protected |
The documentation for this class was generated from the following file: