X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxVTKRenderWindowInteractorEditContour.h;h=8fe719b8804b052c52e31034105a2350e5f9a768;hb=96facb2168314bc57826afc4342abd43e27f0ff7;hp=63ffd091ab6d45854ec2e5b1c15429b8cc3fc8fe;hpb=c5feadbb145eecf6d73f793535b7e23eb18db2cb;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractorEditContour.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractorEditContour.h index 63ffd09..8fe719b 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractorEditContour.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVTKRenderWindowInteractorEditContour.h @@ -2,7 +2,7 @@ #define _wxVTKRenderWindowInteractorEditContour_h_ -#include "wxVTKRenderWindowInteractor.h" +#include #include #include @@ -14,7 +14,6 @@ - //------------------------------------------------------------------------ //------------------------------------------------------------------------ //------------------------------------------------------------------------ @@ -165,6 +164,7 @@ public: double InitialLevel; }; +class wxVTKRenderWindowInteractor; class vtkInteractorStyle2DMaracas : public vtkInteractorStyleImage{ public: @@ -183,7 +183,7 @@ public: virtual void OnMiddleButtonUp () ; virtual void OnRightButtonDown () ; virtual void OnRightButtonUp () ; - void SetObserver( vtkCommand *obs ); + void SetObserver( vtkCommand *obs ); private: vtkCommand *_obs; @@ -195,26 +195,26 @@ private: -class wxVTKRenderWindowInteractorEditContour : public wxVTKRenderWindowInteractor{ +class wxVTKRenderWindowInteractorEditContour : public wxVTKRenderWindowInteractor { public: - wxVTKRenderWindowInteractorEditContour(wxWindow *parent,wxWindowID id); - ~wxVTKRenderWindowInteractorEditContour(); + wxVTKRenderWindowInteractorEditContour(wxWindow *parent,wxWindowID id); + virtual ~wxVTKRenderWindowInteractorEditContour(); - virtual void OnButtonDown(wxMouseEvent &event); - virtual void OnButtonUp(wxMouseEvent &event); - virtual void OnButtonDouble(wxMouseEvent &event); + virtual void OnButtonDown(wxMouseEvent &event); + virtual void OnButtonUp(wxMouseEvent &event); + virtual void OnButtonDouble(wxMouseEvent &event); virtual void OnMotion(wxMouseEvent &event); - virtual void OnKeyDown(wxKeyEvent &event); + virtual void OnKeyDown(wxKeyEvent &event); - void SetState(int state); - int GetState(); - void SetObserver(vtkCommand *obs); + void SetState(int state); + int GetState(); + void SetObserver(vtkCommand *obs); private: - int _state; - vtkCommand *_obs; + int _state; + vtkCommand *_obs; };