A numeric animation.
More...
#include <Animation.hh>
Additional Inherited Members |
| typedef std::vector< KeyFrame * > | KeyFrame_V |
| | array of keyframe type alias
|
| double | GetKeyFramesAtTime (double _time, KeyFrame **_kf1, KeyFrame **_kf2, unsigned int &_firstKeyIndex) const |
| | Get the two key frames that bound a time value.
|
| bool | build |
| | determines if the interpolation splines need building
|
| KeyFrame_V | keyFrames |
| | array of key frames
|
| double | length |
| | animation duration
|
| bool | loop |
| | true if animation repeats
|
| std::string | name |
| | animation name
|
| double | timePos |
| | current time position
|
Detailed Description
Constructor & Destructor Documentation
| gazebo::common::NumericAnimation::NumericAnimation |
( |
const std::string & |
_name, |
|
|
double |
_length, |
|
|
bool |
_loop |
|
) |
| |
Constructor.
- Parameters
-
| [in] | _name | String name of the animation. This should be unique. |
| [in] | _length | Length of the animation in seconds |
| [in] | _loop | True == loop the animation |
| virtual gazebo::common::NumericAnimation::~NumericAnimation |
( |
| ) |
|
|
virtual |
Member Function Documentation
| NumericKeyFrame* gazebo::common::NumericAnimation::CreateKeyFrame |
( |
double |
_time | ) |
|
Create a numeric keyframe at the given time.
- Parameters
-
| [in] | _time | Time at which to create the keyframe |
- Returns
- Pointer to the new keyframe
| void gazebo::common::NumericAnimation::GetInterpolatedKeyFrame |
( |
NumericKeyFrame & |
_kf | ) |
const |
Get a keyframe using the animation's current time.
- Parameters
-
The documentation for this class was generated from the following file: