X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FInterface_Icons_NDimensions%2FinterfMainPanel.h;h=a91c0865e0c6b1aa21e0dc68391269ff281d1776;hb=52a1f20d5f8d78cc829b536860ac3ed0e9c50bcd;hp=82c8040c6bde40349e89182a41897941c17d7106;hpb=a609787b177c3ba7652e6e4f91cf348f9d7b036c;p=creaContours.git diff --git a/lib/Interface_Icons_NDimensions/interfMainPanel.h b/lib/Interface_Icons_NDimensions/interfMainPanel.h index 82c8040..a91c086 100644 --- a/lib/Interface_Icons_NDimensions/interfMainPanel.h +++ b/lib/Interface_Icons_NDimensions/interfMainPanel.h @@ -122,18 +122,32 @@ public: int GetImageDataSizeZ(); - void GetImageDataRange(double *range); - void onSegmentationAllSlice(int minZ,int maxZ,int isovalue,int sampling,int method); + void onMirrorPressed(); + void onMirror(); + void onMirrorAxisShow(); + + void onMirrorAxisHide(); + void onMirrorChangeWidth(int width); - void onThreshold(int minVal, int maxVal); + void onThreshold(); + + void onThresholdChange(); + + void onThresholdInstantChange(double range[]); + + void onThresholdRemove(); void onThresholdPressed(); + void onThresholdInterpolation(bool interpolate); + + void onThresholdChangeOpacity (int opacity); + void setLabelSegmentationPanelVTK(wxString tmpString); void onSegmentationPressed(); @@ -172,7 +186,7 @@ public: std::vector getOutlinesName(int slide); - void onInformationContourLabels(int typeContourGroup,int selection,int minZ,int maxZ); + void onInformationContourLabels(int typeContourGroup,int selection,int minZ,int maxZ,int grayRangeMin,int grayRangeMax); void setStringInfoPanel(wxString tmpString); @@ -186,13 +200,18 @@ public: void setColLableInfoPanel(int tmpIntB ,wxString tmpTitleString); - void onSaveResults(std::string directory,std::string namefile, std::string filename,int typeContourGroup); + void onSaveResults(std::string directory,std::string namefile, std::string filename, + int typeContourGroup, int selection, int minZ, int maxZ, bool XYZValues, bool contourImage, bool statistics); wxString getCellValue(int j,int i); void onSnakePressed(); - void onMirrorPressed(); + virtual bool Show(bool show); + + void ShowResultImages(int typeContourGroup, int selection, int minZ, int maxZ); + + void SetContourGroup(int contourGroup); private: @@ -200,6 +219,7 @@ private: static interfMainPanel* interfmainpanel; + static wxFrame* _newframe; wxPanel* menubar; wxPanel* menubar1; wxPanel* menubar2; @@ -211,6 +231,7 @@ private: wxSplitterWindow* splitterwindow; wxPanel* infoPanel; + wxPanel* infoPanelMask; wxStaticText* statictext; wxStaticText* statictext1; @@ -240,9 +261,9 @@ private: wxPanel* thresholdPanel; interfThresholdPanel* panelThreshold; + bool axisshown; bool refLineShown; - bool thresholdShown; //This attribute contains the panel in charge of adding and removing the corresponding checkboxes in //list of contours @@ -273,4 +294,5 @@ private: }; -#endif \ No newline at end of file +#endif +