X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FvtkInteractorStyleBaseView.h;h=42aff6492b48fccfa75bab117754aa76f99b2f21;hb=f050938d3947f6b785289da6d58f8fec2da57421;hp=9eb157e38130d9a70456f608dcd50bf77422f0b0;hpb=a4ee3758aa0477f677fb981e2c4d6e29995e8db8;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView.h index 9eb157e..42aff64 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView.h @@ -3,6 +3,7 @@ #include "wxVtkBaseView.h" +#include //class InteractorStyleMaracas; @@ -28,7 +29,10 @@ public: virtual void OnLeftDClick(); virtual void OnRightDClick(); virtual void OnMiddleDClick(); - virtual void OnMouseWheel(); + + + virtual void OnMouseWheelForward(); + virtual void OnMouseWheelBackward(); virtual void TransformCoordinate(double &X, double &Y, double &Z); @@ -47,10 +51,11 @@ public: void SetRefresh_waiting(); void SetParent_refresh_waiting(); + void AddParentToReport(wxEvtHandler* parentToReport); bool GetRefresh_waiting(); bool GetParent_refresh_waiting(); - + wxEvtHandler* GetParentToReport(int i); void EvaluateToRefresh(); void BlockRefresh(); @@ -60,10 +65,11 @@ protected: std::vector< InteractorStyleMaracas* > _lstInteractorStyleMaracas; private: - bool _blockRefresh; - bool _refresh_waiting; - bool _parent_refresh_waiting; - wxVtkBaseView *_wxvtkbaseview; + bool _blockRefresh; + bool _refresh_waiting; + bool _parent_refresh_waiting; + wxVtkBaseView *_wxvtkbaseview; + std::vector _lstParentToReport; }; #endif /*VTKINTERACTORSTYLEBASEVIEW_H_*/