#include <command.h>
Inheritance diagram for CommandGotoLocation:


Public Member Functions | |
| CommandGotoLocation (double t, const Point3d &translation, const Quatf &rotation) | |
| void | process (ExecutionEnvironment &) |
| ~CommandGotoLocation () | |
Private Attributes | |
| double | gotoTime |
| Quatf | rotation |
| Point3d | translation |
|
||||||||||||||||
|
Definition at line 114 of file command.cpp. 00116 : 00117 gotoTime(t), translation(_translation), rotation(_rotation) 00118 { 00119 }
|
|
|
Definition at line 121 of file command.cpp. 00122 {
00123 }
|
|
|
Implements InstantaneousCommand. Definition at line 125 of file command.cpp. References gotoTime, rotation, RigidTransform::rotation, translation, RigidTransform::translation, Quaternion< T >::w, Quaternion< T >::x, Quaternion< T >::y, and Quaternion< T >::z. 00126 {
00127 RigidTransform to;
00128 to.rotation = Quatd(rotation.w, rotation.x, rotation.y, rotation.z);
00129 to.translation = translation;
00130 env.getSimulation()->gotoLocation(to, gotoTime);
00131 }
|
|
|
Definition at line 122 of file command.h. Referenced by process(). |
|
|
Definition at line 124 of file command.h. Referenced by process(). |
|
|
Definition at line 123 of file command.h. Referenced by process(). |
1.4.1