diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2005-08-10 15:51:30 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2005-08-10 15:51:30 +0100 |
commit | 0b248f506eb56c0e120da0d08017dc6e466cd9cf (patch) | |
tree | 485e77b8f86e51ae9568ddeb06003d371a7a6547 /src/Panorama.H | |
parent | f1e6812f1826a67965f9f1204b600d7a6ca519ce (diff) |
add panoramic option to GUI
Diffstat (limited to 'src/Panorama.H')
-rw-r--r-- | src/Panorama.H | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/Panorama.H b/src/Panorama.H index 12e62bf..fe8d41c 100644 --- a/src/Panorama.H +++ b/src/Panorama.H @@ -26,6 +26,12 @@ #include "Projection.H" #include "ViewParams.H" + +typedef enum { + PROJECTION_TANGENTIAL = 0, + PROJECTION_SPHAERIC = 1 +} Projection_t; + class Panorama { private: double view_phi, view_lam, view_height; @@ -37,6 +43,7 @@ class Panorama { Hills *visible_mountains; ViewParams parms; Projection *proj; + Projection_t projection_type; int get_pos(const char *name, double *phi, double *lam, double *height); @@ -124,5 +131,9 @@ class Panorama { int comp_params(Hill *m1, Hill *m2); int guess(Hills *p1, Hill *m1); + + Projection_t get_projection(); + + void set_projection(Projection_t p); }; #endif |