X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_Icons_NDimensions%2FinterfSegmentationPanels.h;h=f52a776830be2a140d43cfc8db39ec19754a2b00;hb=022ea4ddf8cd8a991cc9060f3c13e51af6bc226e;hp=605e1b1d44aee0786b3d31b5c28f9fc4da5869fa;hpb=b935f54c82b090852001860eb12f5433779c22c4;p=creaContours.git diff --git a/lib/Interface_Icons_NDimensions/interfSegmentationPanels.h b/lib/Interface_Icons_NDimensions/interfSegmentationPanels.h index 605e1b1..f52a776 100644 --- a/lib/Interface_Icons_NDimensions/interfSegmentationPanels.h +++ b/lib/Interface_Icons_NDimensions/interfSegmentationPanels.h @@ -68,17 +68,70 @@ public: private: - wxSlider* _isovalue; + wxTextCtrl * _distance; + wxTextCtrl * _sigma; + wxTextCtrl * _alfa; + wxTextCtrl * _beta; + wxTextCtrl * _propagation; + wxTextCtrl * _iterations; + wxTextCtrl * _infStrength; +}; - mBarRange* _mbarrange; + +class interfMirrorPanel + : public wxPanel +{ +public: + interfMirrorPanel(wxWindow * parent); + ~interfMirrorPanel(); + +private: + + wxSlider* _thickness; + + void onAxisShow(wxCommandEvent& event); + + void onAxisHide(wxCommandEvent& event); + + void onMirrorGo(wxCommandEvent& event); + + void onChangeWidth(wxScrollEvent& event); + + DECLARE_EVENT_TABLE() +}; + + +class interfThresholdPanel + : public wxPanel +{ +public: + interfThresholdPanel(wxWindow * parent); + ~interfThresholdPanel(); - wxSlider* _sampling; + void onThresholdStop(); + void onThresholdInstantChange(double range[]); - wxStaticText* _staticTextSegmentation; +private: - wxRadioBox* methodRadiobox; + 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() }; + #endif