]> Creatis software - creaContours.git/blobdiff - lib/Interface_Icons_NDimensions/interfMainPanel.h
no message
[creaContours.git] / lib / Interface_Icons_NDimensions / interfMainPanel.h
index 7b2fe74aab4272f02e00ad9ad005ecc33df1e9bb..a91c0865e0c6b1aa21e0dc68391269ff281d1776 100644 (file)
@@ -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<std::string> 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