X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_Icons_NDimensions%2FinterfMainPanel.h;h=96868371791e73884b5df23d78b729c50090d3a2;hb=bd4e97f732f7c8154aafbf1bf419c6115e9560c7;hp=559973a640a8eca8ac75f58cf25b5727b42189ea;hpb=6e3c929c883c405e0075fa8df10b12a935979367;p=creaContours.git diff --git a/lib/Interface_Icons_NDimensions/interfMainPanel.h b/lib/Interface_Icons_NDimensions/interfMainPanel.h index 559973a..9686837 100644 --- a/lib/Interface_Icons_NDimensions/interfMainPanel.h +++ b/lib/Interface_Icons_NDimensions/interfMainPanel.h @@ -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