Checkbox Solve PDE Laplacian mask

This commit is contained in:
Desmis
2019-10-11 13:46:19 +02:00
parent 437b7367a5
commit baf3f8c64a
13 changed files with 425 additions and 319 deletions

View File

@@ -66,6 +66,7 @@ public:
double transitweak;
double transitgrad;
bool avoid;
bool laplac;
};
/**
@@ -97,6 +98,7 @@ public:
bool transitweak;
bool transitgrad;
bool avoid;
bool laplac;
};
/**
@@ -263,6 +265,7 @@ private:
void adjusterChanged(ThresholdAdjuster* a, int newBottomLeft, int newTopLeft, int newBottomRight, int newTopRight);
void adjusterChanged2(ThresholdAdjuster* a, int newBottomL, int newTopL, int newBottomR, int newTopR);
void avoidChanged();
void laplacChanged();
void disableParamlistener(bool cond);
@@ -310,6 +313,7 @@ private:
Gtk::TreeModelColumn<double> transitweak;
Gtk::TreeModelColumn<double> transitgrad;
Gtk::TreeModelColumn<bool> avoid;
Gtk::TreeModelColumn<bool> laplac;
};
class RenameDialog:
@@ -376,6 +380,8 @@ private:
Gtk::CheckButton* const avoid_;
sigc::connection avoidConn_;
Gtk::CheckButton* const laplac_;
sigc::connection laplacConn_;
// Internal variables
int lastObject_;