diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-12-16 17:22:03 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2006-12-16 17:22:03 +0100 |
commit | ca4c449ba9f3a40f8ac2c79a48f3d31144a1fafe (patch) | |
tree | 67644455af2963c4b308e6b4f71cb1926f978273 /src/GipfelWidget.cxx | |
parent | 2de9f639b5c75112bfd6789bdc51546ef211b926 (diff) |
add command line option to specify distortion parameters
Diffstat (limited to 'src/GipfelWidget.cxx')
-rw-r--r-- | src/GipfelWidget.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/GipfelWidget.cxx b/src/GipfelWidget.cxx index e1dad77..0d92095 100644 --- a/src/GipfelWidget.cxx +++ b/src/GipfelWidget.cxx @@ -472,6 +472,12 @@ GipfelWidget::set_projection(Projection::Projection_t p) { redraw(); } +void +GipfelWidget::set_distortion_params(double k0, double k1) { + pan->set_distortion_params(k0, k1); + redraw(); +} + Projection::Projection_t GipfelWidget::get_projection() { return pan->get_projection(); |