Cursor tracks a locus of steps in the animation path for interpolation.
More...
#include <_src_control_replay_path.hh>
List of all members.
Detailed Description
Cursor tracks a locus of steps in the animation path for interpolation.
Cursor facilitates interpolating 3D positions and rotations. ReplayPath::Advance() calls Cursor::Advance() which tracks pairs of Steps having CommandPosition and CommandQuaternion.
Cursor natually tracks the current Step. Additionally, because of interpolation, it also has references to position/rotation commands to execute in the future (lookahead).
Member Typedef Documentation
Constructor & Destructor Documentation
| control::ReplayPath::Cursor::~Cursor |
( |
|
) |
|
Member Function Documentation
| void control::ReplayPath::Cursor::Advance |
( |
void |
|
) |
|
Advance cursor to next Step in path.
- Precondition:
- Cursor::IfEnd() was called first and it returned false. THROWS EXCEPTION.
| Step& control::ReplayPath::Cursor::GetCurrentStep |
( |
void |
|
) |
[inline] |
- Returns:
- Two position steps that the cursor is across.
- Precondition:
- Caller must query IfHavePositionSteps() before calling this. THROWS EXCEPTION.
- Returns:
- Two quaternion steps that the cursor is across.
- Precondition:
- Caller must query IfHaveQuaternionSteps() before calling this. THROWS EXCEPTION.
| bool control::ReplayPath::Cursor::IfEnd |
( |
void |
|
) |
[inline] |
| bool control::ReplayPath::Cursor::IfHavePositionSteps |
( |
void |
|
) |
|
- Returns:
- True if cursor is across two 3D positions in animation path.
| bool control::ReplayPath::Cursor::IfHaveQuaternionSteps |
( |
void |
|
) |
|
- Returns:
- True if cursor is across two quaternions in animation path.
| void control::ReplayPath::Cursor::Rewind |
( |
void |
|
) |
|
Member Data Documentation
The documentation for this class was generated from the following files: