X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=lib%2FInterface_ManagerContour_NDimensions%2FwxContourViewPanel.h;h=59011577de3225012eadad1e7c8e0558595fffd3;hb=9c3e9dac7175adc08659330ec8b10233b467bd2d;hp=ecc5c9721fc4e932c661019c0325cc58301cc756;hpb=28671ae02163f2b674da599a98a128f58dfead88;p=creaContours.git diff --git a/lib/Interface_ManagerContour_NDimensions/wxContourViewPanel.h b/lib/Interface_ManagerContour_NDimensions/wxContourViewPanel.h index ecc5c97..5901157 100644 --- a/lib/Interface_ManagerContour_NDimensions/wxContourViewPanel.h +++ b/lib/Interface_ManagerContour_NDimensions/wxContourViewPanel.h @@ -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: //------------------------------------------------------------------------------------------------------------