A keyframe for a PoseAnimation.
More...
#include <KeyFrame.hh>
A keyframe for a PoseAnimation.
gazebo::common::PoseKeyFrame::PoseKeyFrame |
( |
double |
_time | ) |
|
virtual gazebo::common::PoseKeyFrame::~PoseKeyFrame |
( |
| ) |
|
|
virtual |
void gazebo::common::PoseKeyFrame::Rotation |
( |
const ignition::math::Quaterniond & |
_rot | ) |
|
Set the rotation for the keyframe.
- Parameters
-
ignition::math::Quaterniond gazebo::common::PoseKeyFrame::Rotation |
( |
| ) |
const |
Get the rotation of the keyframe.
- Returns
- The rotation amount
void gazebo::common::PoseKeyFrame::Translation |
( |
const ignition::math::Vector3d & |
_trans | ) |
|
Set the translation for the keyframe.
- Parameters
-
[in] | _trans | Translation amount |
ignition::math::Vector3d gazebo::common::PoseKeyFrame::Translation |
( |
| ) |
const |
Get the translation of the keyframe.
- Returns
- The translation amount
ignition::math::Quaterniond gazebo::common::PoseKeyFrame::rotate |
|
protected |
ignition::math::Vector3d gazebo::common::PoseKeyFrame::translate |
|
protected |
The documentation for this class was generated from the following file: