X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FInterface_Icons_NDimensions%2FinterfMainPanel.h;h=6e9f6f30d8ac6afb27ed85ca64e3b83813dac4fa;hb=a6507d91019d9f428af751e5b0b3a7d19d6f0bf6;hp=7b2fe74aab4272f02e00ad9ad005ecc33df1e9bb;hpb=6a87048f2bdaa4212eb3bd324c222d7015eb3500;p=creaContours.git diff --git a/lib/Interface_Icons_NDimensions/interfMainPanel.h b/lib/Interface_Icons_NDimensions/interfMainPanel.h index 7b2fe74..6e9f6f3 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(); @@ -186,20 +200,24 @@ 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, 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); + private: static interfMainPanel* interfmainpanel; + static wxFrame* _newframe; wxPanel* menubar; wxPanel* menubar1; wxPanel* menubar2; @@ -242,7 +260,6 @@ private: bool axisshown; bool refLineShown; - bool thresholdShown; //This attribute contains the panel in charge of adding and removing the corresponding checkboxes in //list of contours