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


Public Member Functions | |
| CommandGotoLongLat (double t, double dist, float _longitude, float _latitude, Vec3f _up) | |
| void | process (ExecutionEnvironment &) |
| ~CommandGotoLongLat () | |
Private Attributes | |
| double | distance |
| double | gotoTime |
| float | latitude |
| float | longitude |
| Vec3f | up |
|
||||||||||||||||||||||||
|
Definition at line 84 of file command.cpp. References distance(). 00088 : 00089 gotoTime(t), 00090 distance(dist), 00091 longitude(_longitude), 00092 latitude(_latitude), 00093 up(_up) 00094 { 00095 }
|
|
|
Definition at line 97 of file command.cpp. 00098 {
00099 }
|
|
|
Implements InstantaneousCommand. Definition at line 101 of file command.cpp. References distance, gotoTime, latitude, longitude, Selection::radius(), and up. 00102 {
00103 Selection sel = env.getSimulation()->getSelection();
00104 env.getSimulation()->gotoSelectionLongLat(gotoTime,
00105 astro::kilometersToLightYears(sel.radius() * distance),
00106 longitude, latitude,
00107 up);
00108 }
|
|
|
Definition at line 106 of file command.h. Referenced by process(). |
|
|
Definition at line 105 of file command.h. Referenced by process(). |
|
|
Definition at line 108 of file command.h. Referenced by process(). |
|
|
Definition at line 107 of file command.h. Referenced by process(). |
|
|
Definition at line 109 of file command.h. Referenced by process(). |
1.4.1