From 0b248f506eb56c0e120da0d08017dc6e466cd9cf Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Wed, 10 Aug 2005 15:51:30 +0100 Subject: add panoramic option to GUI --- src/Panorama.H | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/Panorama.H') 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 -- cgit v1.2.3