#include <Playback.h>
Collaboration diagram for Playback:
Definition at line 77 of file Playback.h.
Public Member Functions | |
Playback () | |
~Playback () | |
void | CreateControllers (double p, double i, double d, double f, double out_filter, double gain, double sat_low, double sat_high, double dead_zone) |
void | CreateControllersForOmni () |
void | CreatePDControllersForOmni () |
void | CreateControllersForPremium15 () |
void | ResetControllerState () |
void | MoveToStartOfGesture () |
Mode | GetMode () |
void | SetIdle () |
void | TogglePauseGesture () |
void | StickToPoint (double curPos[3], double pt[3]) |
void | StickToThisPoint (double curPos[3]) |
void | SetPlayAtSampleRate (bool pasr) |
bool | GetPlayAtSampleRate () |
bool | GetForce (double pt[3], double force[3]) |
bool | GetPlaybackPos (double pPos[3]) |
void | StartPlayback (PtsList *pt, double curPos[3]) |
void | StartPlayback (double curPos[3]) |
void | StartConstrain (double curPos[3]) |
void | SetPlaybackSpeed (double v) |
void | ClearPath () |
void | AddWaypoint (double pt[3]) |
bool | LoadGestureFile (char *fName) |
bool | SaveGestureFile (char *fName) |
void | UseAbsolutePositioning (bool absPos) |
void | SetErrorThreshold (double e) |
double | GetErrorThreshold () |
void | SetIntegratorForceCap (double maxforce) |
void | stickToPointAndGetForce (Vec3f pos, Vec3f dest, Vec3f &force) |
Public Attributes | |
Vec3f | _stick_point |
Playback::Playback | ( | ) |
Definition at line 39 of file Playback.cpp.
Playback::~Playback | ( | ) |
Definition at line 59 of file Playback.cpp.
void Playback::AddWaypoint | ( | double | pt[3] | ) |
Definition at line 552 of file Playback.cpp.
void Playback::ClearPath | ( | ) |
Definition at line 492 of file Playback.cpp.
void Playback::CreateControllers | ( | double | p, | |
double | i, | |||
double | d, | |||
double | f, | |||
double | out_filter, | |||
double | gain, | |||
double | sat_low, | |||
double | sat_high, | |||
double | dead_zone | |||
) |
Definition at line 66 of file Playback.cpp.
void Playback::CreateControllersForOmni | ( | ) |
Definition at line 95 of file Playback.cpp.
void Playback::CreateControllersForPremium15 | ( | ) |
Definition at line 156 of file Playback.cpp.
void Playback::CreatePDControllersForOmni | ( | ) |
Definition at line 122 of file Playback.cpp.
double Playback::GetErrorThreshold | ( | ) |
Definition at line 749 of file Playback.cpp.
bool Playback::GetForce | ( | double | pt[3], | |
double | force[3] | |||
) |
Definition at line 264 of file Playback.cpp.
Mode Playback::GetMode | ( | ) |
Definition at line 597 of file Playback.cpp.
bool Playback::GetPlayAtSampleRate | ( | ) |
Definition at line 716 of file Playback.cpp.
bool Playback::GetPlaybackPos | ( | double | pPos[3] | ) |
Definition at line 724 of file Playback.cpp.
bool Playback::LoadGestureFile | ( | char * | fName | ) |
Definition at line 508 of file Playback.cpp.
void Playback::MoveToStartOfGesture | ( | ) |
Definition at line 575 of file Playback.cpp.
void Playback::ResetControllerState | ( | ) |
Definition at line 89 of file Playback.cpp.
bool Playback::SaveGestureFile | ( | char * | fName | ) |
Definition at line 533 of file Playback.cpp.
void Playback::SetErrorThreshold | ( | double | e | ) |
Definition at line 753 of file Playback.cpp.
void Playback::SetIdle | ( | ) |
Definition at line 579 of file Playback.cpp.
void Playback::SetIntegratorForceCap | ( | double | maxforce | ) |
Definition at line 81 of file Playback.cpp.
void Playback::SetPlayAtSampleRate | ( | bool | pasr | ) |
Definition at line 712 of file Playback.cpp.
void Playback::SetPlaybackSpeed | ( | double | v | ) |
Definition at line 182 of file Playback.cpp.
void Playback::StartConstrain | ( | double | curPos[3] | ) |
Definition at line 963 of file Playback.cpp.
void Playback::StartPlayback | ( | double | curPos[3] | ) |
Definition at line 232 of file Playback.cpp.
void Playback::StartPlayback | ( | PtsList * | pt, | |
double | curPos[3] | |||
) |
Definition at line 186 of file Playback.cpp.
void Playback::StickToPoint | ( | double | curPos[3], | |
double | pt[3] | |||
) |
Definition at line 686 of file Playback.cpp.
void Playback::stickToPointAndGetForce | ( | Vec3f | pos, | |
Vec3f | dest, | |||
Vec3f & | force | |||
) |
Definition at line 143 of file Playback.cpp.
void Playback::StickToThisPoint | ( | double | curPos[3] | ) |
Definition at line 665 of file Playback.cpp.
void Playback::TogglePauseGesture | ( | ) |
Definition at line 587 of file Playback.cpp.
void Playback::UseAbsolutePositioning | ( | bool | absPos | ) |
Definition at line 720 of file Playback.cpp.
Vec3f Playback::_stick_point |
Definition at line 85 of file Playback.h.