]> Creatis software - creaContours.git/blobdiff - lib/Interface_Icons_NDimensions/interfMainPanel.h
BUG MACOS
[creaContours.git] / lib / Interface_Icons_NDimensions / interfMainPanel.h
index 559973a640a8eca8ac75f58cf25b5727b42189ea..96868371791e73884b5df23d78b729c50090d3a2 100644 (file)
@@ -71,6 +71,12 @@ public:
        **      Shows the panel in the 
        **/
        void showPanel(wxWindow* panel);
+
+       /**
+       **      Hides the panel in the 
+       **/
+       void hidePanel( );
+
        /**
        **      Gets the Information panel
        **/
@@ -82,6 +88,7 @@ public:
        void onCreateContourSpline( );
        void onCreateContourRectangle( );
        void onCreateContourCircle( );
+       void onCreateContourLine( );
        void onCreateContoursBullEye(wxPanel* panBull);
        /////////////////////////////////
        void onDeleteContour();
@@ -103,12 +110,16 @@ public:
 
        void onSegmentationOneSlice(int isovalue,int sampling,int method);
 
+       void onSegmentationOneSliceITK(wxString distance, wxString sigma, wxString alfa, wxString beta, wxString propagation, wxString iterations, wxString inflation);
+
        int GetImageDataSizeZ();
 
        void GetImageDataRange(double *range);
 
        void onSegmentationAllSlice(int minZ,int maxZ,int isovalue,int sampling,int method);
 
+       void onMirror();
+
        void setLabelSegmentationPanelVTK(wxString tmpString);
 
        void onSegmentationPressed();
@@ -164,6 +175,11 @@ public:
        void onSaveResults(std::string directory,std::string namefile, std::string filename,int typeContourGroup);
 
        wxString getCellValue(int j,int i);
+
+       void onSnakePressed();
+
+       void onMirrorPressed();
+
 private:
        
 
@@ -202,11 +218,13 @@ private:
        wxPanel* configPanel;
        wxPanel* spreadPanel;
        interfSpreadPanel* panelSpread;
+       wxPanel* mirrorPanel;
+       interfMirrorPanel* panelMirror; 
        wxWindow* infoWin;
        wxPanel* informationPanel;
 
        bool axisshown;
-
+       bool refLineShown;
        
        //This attribute contains the panel in charge of adding and removing the corresponding checkboxes in
        //list of contours