diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-12-17 16:13:32 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-12-17 16:13:32 +0100 |
commit | 23900d0b19e5c978934108f6a54aa82f6c7f27cb (patch) | |
tree | 33008c888e2205c32296272c5e766d292233a212 /src/GipfelWidget.cxx | |
parent | 6ee81353d9dd4a9a97f8e91d6a619e59808f8106 (diff) |
use LSQ for all projection types
Diffstat (limited to 'src/GipfelWidget.cxx')
-rw-r--r-- | src/GipfelWidget.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx index e8ca448..5f75693 100644 --- a/src/GipfelWidget.cxx +++ b/src/GipfelWidget.cxx @@ -98,7 +98,7 @@ GipfelWidget::load_image(char *file) { set_center_angle(md->get_direction()); set_nick_angle(md->get_nick()); set_tilt_angle(md->get_tilt()); - set_projection((Projection::Projection_t) md->get_projection_type()); + set_projection((ProjectionLSQ::Projection_t) md->get_projection_type()); set_focal_length_35mm(md->get_focal_length_35mm()); md->get_distortion_params(&pan->parms.k0, &pan->parms.k1); fprintf(stderr, "%f %f\n", pan->parms.k0, pan->parms.k1); @@ -470,7 +470,7 @@ GipfelWidget::set_focal_length_35mm(double s) { } void -GipfelWidget::set_projection(Projection::Projection_t p) { +GipfelWidget::set_projection(ProjectionLSQ::Projection_t p) { pan->set_projection(p); set_labels(pan->get_visible_mountains()); redraw(); @@ -482,7 +482,7 @@ GipfelWidget::set_distortion_params(double k0, double k1) { redraw(); } -Projection::Projection_t +ProjectionLSQ::Projection_t GipfelWidget::get_projection() { return pan->get_projection(); } |