* \ingroup Tools
*/
//=====================================================================
-
+
//=====================================================================
class WxGimmickTools : public wxPanel
{
public:
- WxGimmickTools(wxWindow * parent);
+ WxGimmickTools(wxWindow *parent, wxString mCurrentDirectory);
~WxGimmickTools();
-
- void onThresholdStop();
- void onThresholdInstantChange(double range[]);
+ wxString getInputDir();
+ wxString getOutputDir();
+ bool getAddToDBCheckBoxValue();
+ bool getMHDCheckBoxValue();
private:
-
- mBarRange* _mBarThreshold;
- wxSlider* _opacity;
- bool _thresholdGo;
- wxCheckBox* _interpolationCheckBox;
-
- void onThresholdChange(wxCommandEvent& event);
-
- void onThresholdGo(wxCommandEvent& event);
-
- void onThresholdRemove(wxCommandEvent& event);
-
- void onThresholdInterpolation(wxCommandEvent& event);
-
- void onChangeOpacity(wxScrollEvent& event);
-
- DECLARE_EVENT_TABLE()
-
+ wxCheckBox * _addCheckBox;
+ wxCheckBox * _mhdCheckBox;
+ wxTextCtrl * _inputPath;
+ wxTextCtrl * _outputPath;
+ wxString _currentDir;
+ bool _addFiles;
+ bool _mhd;
+ void onInputDir(wxCommandEvent& event);
+ void onOutputDir(wxCommandEvent& event);
+ void onAddToDatabase(wxCommandEvent& event);
+ void onMHD(wxCommandEvent& event);
};
} // EO namespace creaImageIO