]> Creatis software - creaContours.git/blobdiff - lib/Interface_Icons_NDimensions/interfSegmentationPanels.h
*** empty log message ***
[creaContours.git] / lib / Interface_Icons_NDimensions / interfSegmentationPanels.h
index 506115d91e1873ea62d28d36411fbda4f2b65ee0..f52a776830be2a140d43cfc8db39ec19754a2b00 100644 (file)
@@ -23,8 +23,6 @@ public:
 
        void  onSegmentationPressedITK(wxCommandEvent& event);
 
-       void  onSnakePressed(wxCommandEvent& event);
-
        void setLabel(wxString tmpString);
 
 private:
@@ -63,20 +61,77 @@ public:
        interfSegmentationPanelITK(wxWindow * parent);          
        ~interfSegmentationPanelITK();
 
+
+       void onSegmentationOneSlice( wxCommandEvent& event );
+
+       void onSegmentationAllSlice( wxCommandEvent& event );
        
 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