| 1 | #ifndef R3BPLAUT04_H |
| 2 | #define R3BPLAUT04_H |
| 3 | |
| 4 | #define OPT_DRAW_COORD 0 |
| 5 | |
| 6 | #define GRAPH_WIDGET_ITEMS 11 |
| 7 | #define OPT_REF_PLAN 0 |
| 8 | #define OPT_REF_SPHERE 1 |
| 9 | #define OPT_PRIMARY 2 |
| 10 | #define OPT_LIB_POINTS 3 |
| 11 | #define OPT_PERIOD_ANI 4 |
| 12 | #define OPT_SAT_ANI 5 |
| 13 | #define OPT_DRAW_LABELS 6 |
| 14 | #define OPT_LABEL_NUMBERS 7 |
| 15 | #define OPT_BACKGROUND 8 |
| 16 | #define OPT_LEGEND 9 |
| 17 | #define OPT_NORMALIZE_DATA 10 |
| 18 | |
| 19 | SoSeparator * createR3BPoints(float nodemin[], float nodemax[]); |
| 20 | SoSeparator * createPrimary(double mass, double pos, float scale, char *txtureFileName); |
| 21 | SoSeparator * createLibrationPoint(float mu, float dis, float scale, |
| 22 | int whichCoordSystem); |
| 23 | void computePrimaryPositionInInertialSystem(int coordSys, float mass, float R, float T, float t, |
| 24 | float bigPosition[], float smallPosition[], float velocity[]); |
| 25 | void smallPrimaryMovingOrbit(float R, float T, float t, |
| 26 | float position[], float veloctiy[]); |
| 27 | void satelliteMovingOrbit(int whichcenter, float xyzCoords[], |
| 28 | float t, float mu, float R, float Ts, float T, float g, |
| 29 | float r[], float v[]); |
| 30 | |
| 31 | extern float libPtScaler, smallPrimRadius, largePrimRadius, diskTransparency; |
| 32 | extern double mass; |
| 33 | extern int numOfStars; |
| 34 | extern bool diskFromFile; |
| 35 | |
| 36 | extern const char * graphWidgetItems[GRAPH_WIDGET_ITEMS]; |
| 37 | extern bool blMassDependantOption; |
| 38 | |
| 39 | #endif |