]> Creatis software - creaContours.git/blobdiff - lib/Interface_ManagerContour_NDimensions/wxContourViewPanel.h
#3321 creaContours Feature New Normal - Connection with bbtk
[creaContours.git] / lib / Interface_ManagerContour_NDimensions / wxContourViewPanel.h
index ecc5c9721fc4e932c661019c0325cc58301cc756..59011577de3225012eadad1e7c8e0558595fffd3 100644 (file)
@@ -75,34 +75,24 @@ ViewPanel.h */
 // Class definition
 //------------------------------------------------------------------------------------------------------------
 
-class wxContourViewPanel : public wxPanel {// public wxScrolledWindow {
-
+class wxContourViewPanel : public wxPanel 
+{
        public:
-
        //------------------------------------------------------------------------------------------------------------
        // Constructors & Destructors
        //------------------------------------------------------------------------------------------------------------
-       
        wxContourViewPanel( vtkImageData * theShowingImage, wxWindow *parent, const wxPoint& pos=wxDefaultPosition, const wxSize& size = wxDefaultSize,long style= wxDEFAULT_FRAME_STYLE | wxSUNKEN_BORDER, int vertStart=1, int vertEnd=1, int horzStart=1, int horzEnd=1 );
-
        ~wxContourViewPanel();
-
        //------------------------------------------------------------------------------------------------------------
        // Creational and initialization methods
        //------------------------------------------------------------------------------------------------------------
-       
        void setWxEventHandler( wxEvtHandler * theEventHandler );
-
        void createHorizontalBar(int horzStart, int horzEnd);
-
        void createVerticalBar(int vertStart, int vertEnd);
-
        void createViewPanel();
-
        //------------------------------------------------------------------------------------------------------------
        // Methods for capturing events from the horizontal bar
        //------------------------------------------------------------------------------------------------------------
-       
        /**
        * Handles the event wxEVT_TSBAR from the horizontal bar 
        */
@@ -305,6 +295,7 @@ class wxContourViewPanel : public wxPanel {// public wxScrolledWindow {
        int             GetX();
        int             GetY();
        int             GetZ();
+       void    SetXY(int x, int y);
        void    Refresh();
 
 
@@ -355,6 +346,8 @@ class wxContourViewPanel : public wxPanel {// public wxScrolledWindow {
        void changeDeep();
 
        void setImageSlice(int z);
+
+
 private:
        
        //------------------------------------------------------------------------------------------------------------