summaryrefslogtreecommitdiff
path: root/src/Panorama.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/Panorama.H')
-rw-r--r--src/Panorama.H10
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();