Exprimental feature auto lens distortion correction, on behalf of Guokai; see issue #576

This commit is contained in:
Oliver Duis
2011-03-12 18:45:44 +01:00
parent aded66851e
commit 751dbfd408
38 changed files with 5463 additions and 7 deletions

View File

@@ -22,12 +22,16 @@
#include <gtkmm.h>
#include <adjuster.h>
#include <toolpanel.h>
#include <lensgeomlistener.h>
class Distortion : public Gtk::VBox, public AdjusterListener, public FoldableToolPanel {
protected:
Gtk::Button* autoDistor;
Adjuster* distor;
bool distAdd;
sigc::connection idConn;
LensGeomListener * rlistener;
public:
@@ -40,6 +44,8 @@ class Distortion : public Gtk::VBox, public AdjusterListener, public FoldableToo
void adjusterChanged (Adjuster* a, double newval);
void setAdjusterBehavior (bool bvadd);
void idPressed ();
void setLensGeomListener (LensGeomListener* l) { rlistener = l; }
};
#endif