diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2005-08-06 17:11:44 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2005-08-06 17:11:44 +0100 |
commit | 955cc1ac466200b2c92ef161c049cd222192d56f (patch) | |
tree | 89558819ec637a3ffc01b89e78a7dc48ed563f19 /src/Panorama.H | |
parent | 566a3dba7fd632ea206a11bc59a3e1e31f58f396 (diff) |
first - not yet working attempt on cylindric projection
Diffstat (limited to 'src/Panorama.H')
-rw-r--r-- | src/Panorama.H | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Panorama.H b/src/Panorama.H index 3f47b76..3e247d2 100644 --- a/src/Panorama.H +++ b/src/Panorama.H @@ -24,6 +24,11 @@ #include "Hill.H" +typedef enum { + PROJECTION_NORMAL = 0, + PROJECTION_PANORAMIC = 1 +} Projection_t; + class Panorama { private: double view_phi, view_lam, view_height; @@ -37,6 +42,7 @@ class Panorama { double scale; double a_nick; double a_tilt; + Projection_t projection; int get_pos(const char *name, double *phi, double *lam, double *height); @@ -68,6 +74,10 @@ class Panorama { double get_value(Hills *p); + void set_projection(Projection_t mode); + + Projection_t get_projection(); + public: Panorama(); |