From 955cc1ac466200b2c92ef161c049cd222192d56f Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sat, 6 Aug 2005 17:11:44 +0100 Subject: first - not yet working attempt on cylindric projection --- src/Panorama.H | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/Panorama.H') 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(); -- cgit v1.2.3