interfSegmentationPanels.h

Go to the documentation of this file.
00001 #ifndef __interfSegmentationPanelsH__
00002 #define __interfSegmentationPanelsH__
00003 
00004 #include <wx/wx.h>
00005 #include "mBarRange.h"
00006 
00007 
00008 class interfSegmentationPanelVTK 
00009         : public wxPanel
00010 {
00011 public:
00012         interfSegmentationPanelVTK(wxWindow * parent);          
00013         ~interfSegmentationPanelVTK();
00014 
00022         void  onSegmentationPressed(wxCommandEvent& event);
00023 
00024         void  onSegmentationPressedITK(wxCommandEvent& event);
00025 
00026         void setLabel(wxString tmpString);
00027 
00028 private:
00029 
00030         //wxContourEventHandler* contourevent;
00031         wxPanel* configPanel;
00032         wxWindow* infoWin;
00033         wxPanel* segmentPanel;
00034         wxPanel* spreadPanel;
00035         wxPanel* segmentPanelITK;
00036         bool axisshown;
00037 
00038         void hideAxis();
00039 
00040         wxPanel* getSegmentationPanel(wxWindow* parent);
00041 
00042         void onSegmentationOneSlice( wxCommandEvent& event );
00043 
00044         void onSegmentationAllSlice( wxCommandEvent& event );
00045 
00046         wxSlider* _isovalue;
00047 
00048         mBarRange* _mbarrange;
00049         
00050         wxSlider* _sampling;
00051 
00052         wxStaticText* _staticTextSegmentation;
00053 
00054         wxRadioBox* methodRadiobox;
00055 };
00056 
00057 class interfSegmentationPanelITK
00058         : public wxPanel
00059 {
00060 public:
00061         interfSegmentationPanelITK(wxWindow * parent);          
00062         ~interfSegmentationPanelITK();
00063 
00064 
00065         void onSegmentationOneSlice( wxCommandEvent& event );
00066 
00067         void onSegmentationAllSlice( wxCommandEvent& event );
00068         
00069 private:
00070 
00071         wxTextCtrl * _distance;
00072         wxTextCtrl * _sigma;
00073         wxTextCtrl * _alfa;
00074         wxTextCtrl * _beta;
00075         wxTextCtrl * _propagation;
00076         wxTextCtrl * _iterations;
00077         wxTextCtrl * _infStrength;
00078 };
00079 
00080 
00081 class interfMirrorPanel
00082         : public wxPanel
00083 {
00084 public:
00085         interfMirrorPanel(wxWindow * parent);           
00086         ~interfMirrorPanel();
00087 
00088 private:
00089 
00090         wxSlider* _thickness;
00091 
00092         bool _axisStatus;
00093 
00094         void onAxisShow(wxCommandEvent& event);
00095 
00096         void onMirrorGo(wxCommandEvent& event);
00097 
00098         void onChangeWidth(wxScrollEvent& event);
00099 
00100         DECLARE_EVENT_TABLE()
00101 };
00102 
00103 class interfTestPanel
00104         : public wxPanel
00105 {
00106 public:
00107         interfTestPanel(wxWindow * parent);             
00108         ~interfTestPanel();
00109 
00110 private:
00111         void onButton1Pressed(wxCommandEvent& event);
00112 
00113         void onButton2Pressed(wxCommandEvent& event);
00114 
00115 };
00116 
00117 
00118 #endif
00119  
00120  

Generated on Wed Jun 27 23:28:32 2012 for creaContours_lib by  doxygen 1.5.7.1