A keyframe for a NumericAnimation.
More...
#include <KeyFrame.hh>
Public Member Functions |
| | NumericKeyFrame (double _time) |
| | Constructor.
|
| virtual | ~NumericKeyFrame () |
| | Destructor.
|
| const double & | GetValue () const |
| | Get the value of the keyframe.
|
| void | SetValue (const double &_value) |
| | Set the value of the keyframe.
|
| | KeyFrame (double _time) |
| | Constructor.
|
| virtual | ~KeyFrame () |
| | Destructor.
|
| double | GetTime () const |
| | Get the time of the keyframe.
|
Protected Attributes |
| double | value |
| | numeric value
|
| double | time |
| | time of key frame
|
Detailed Description
A keyframe for a NumericAnimation.
Constructor & Destructor Documentation
| gazebo::common::NumericKeyFrame::NumericKeyFrame |
( |
double |
_time | ) |
|
Constructor.
- Parameters
-
| [in] | _time | Time of the keyframe |
| virtual gazebo::common::NumericKeyFrame::~NumericKeyFrame |
( |
| ) |
|
|
virtual |
Member Function Documentation
| const double& gazebo::common::NumericKeyFrame::GetValue |
( |
| ) |
const |
Get the value of the keyframe.
- Returns
- the value of the keyframe
| void gazebo::common::NumericKeyFrame::SetValue |
( |
const double & |
_value | ) |
|
Set the value of the keyframe.
- Parameters
-
Member Data Documentation
| double gazebo::common::NumericKeyFrame::value |
|
protected |
The documentation for this class was generated from the following file: