summaryrefslogtreecommitdiff
path: root/src/Panorama.H
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2005-08-10 15:51:30 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2005-08-10 15:51:30 +0100
commit0b248f506eb56c0e120da0d08017dc6e466cd9cf (patch)
tree485e77b8f86e51ae9568ddeb06003d371a7a6547 /src/Panorama.H
parentf1e6812f1826a67965f9f1204b600d7a6ca519ce (diff)
add panoramic option to GUI
Diffstat (limited to 'src/Panorama.H')
-rw-r--r--src/Panorama.H11
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