]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/wxContourMainFrame.h
#3334 creaContours Feature New Normal - Control Refresh events from bbtk
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxContourMainFrame.h
index b633d14adece6b565f7344e903d5cc319efdd3f7..fac56dd504ede32872d5c63dc3d24b3a15d2a995 100644 (file)
 //------------------------------------------------------------------------------------------------------------
 class interfMainPanel;
 class wxContourMainFrame : public wxPanel {
-
        public:
-
        //------------------------------------------------------------------------------------------------------------
        // Constructors & Destructors
        //------------------------------------------------------------------------------------------------------------
-
-
        wxContourMainFrame(wxWindow* parent, wxWindowID id,const wxString& title,const wxPoint& pos,const wxSize& size,long style  = wxDEFAULT_FRAME_STYLE | wxSUNKEN_BORDER);
        wxContourMainFrame(wxWindow* parent, wxWindowID id,const wxString& title,const wxPoint& pos,const wxSize& size,std::vector<vtkImageData*> images, long style  = wxDEFAULT_FRAME_STYLE | wxSUNKEN_BORDER,std::string datadir="C:/Creatis/creaContoursBin/RelWithDebInfo/");
-
        ~wxContourMainFrame();
-
        //------------------------------------------------------------------------------------------------------------
        // Creational and initialization methods
        //------------------------------------------------------------------------------------------------------------
-
        void setVectImages(std::vector<vtkImageData*> imgs);
-
        bool configurePanels( );
-
        bool addNewPanel(wxPanel* panel);
-
        wxAuiNotebook * createNotebook();
-
        void createInstantChooserPanel(wxAuiNotebook * parent);
-
        void createViewPanel(wxAuiNotebook * parent);
-
        void createInstantChooserPanel(wxWindow * parent);
-
        void createViewPanel(wxWindow * parent);
-
        void setInstantChooserPanel(  wxInstantChooserPanel * theInstantChooserPanel );
-
        void getMaskValue(vtkImageData ** mask,vtkImageData ** value,int typeContourGroup, int selection, int minZ, int maxZ);
-
        void SaveImageResult(std::string directory,std::string namefile, vtkImageData* mask,vtkImageData* value);
-
        void ShowToolsPanel(bool show);
-
-
        ////------------------------------------------------------------------------------------------------------------
        //// Methods for capturing events
        ////------------------------------------------------------------------------------------------------------------
 
-
        ////------------------------------------------------------------------------------------------------------------
        ////  Model management methods
        ////------------------------------------------------------------------------------------------------------------
 
-
        //------------------------------------------------------------------------------------------------------------
        //  Attributes getters and setters
        //------------------------------------------------------------------------------------------------------------
@@ -358,7 +336,7 @@ private:
        // Attributtes
        //------------------------------------------------------------------------------------------------------------
 
-       int _contourGroup;
+       int                                             _contourGroup;
        static wxContourMainFrame   *instance;
        KernelManagerContour        *kernelManager;
        interfMainPanel             *_pannew;
@@ -374,9 +352,9 @@ private:
 
        wxAuiManager                m_mgr;
        wxAuiNotebook               *notebook;
-       long                    m_notebook_style;
-       long                    m_notebook_theme;
-       int                      _numberOfVariablesStatistics;
+    long                                               m_notebook_style;
+    long                       m_notebook_theme;
+    int                         _numberOfVariablesStatistics;
 
        // Contour Image Mask
        ThresholdImageView                      *_viewMaskImage;