]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/vtkInteractorStyleBaseView2D.h
DFCH: ManualPain GUI Cleaned with some new features. :)
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / vtkInteractorStyleBaseView2D.h
1 #ifndef VTKINTERACTORSTYLEBASEVIEW2D_H_
2 #define VTKINTERACTORSTYLEBASEVIEW2D_H_
3
4 #include "vtkInteractorScrollZ.h"
5
6 #include "manualInteractorWindowLevel.h"
7 //------------------------------------------------------------------
8 //------------------------------------------------------------------
9 //------------------------------------------------------------------
10
11 class creaMaracasVisu_EXPORT vtkInteractorStyleBaseView2D : public vtkInteractorStyleBaseView{
12 public:
13         vtkInteractorStyleBaseView2D();
14         ~vtkInteractorStyleBaseView2D();
15         static vtkInteractorStyleBaseView2D *New();
16
17         // RaC 04-2010 Look for the description of new changes in vtkInteractorStyleBaseView2D constructor.
18         void  SetInteractorScrollZ(vtkInteractorScrollZ* interactorScroll);
19         void  SetInteractorWindowLevel(manualInteractorWindowLevel* interactorWindowLevel);
20
21         virtual void OnMouseMove();
22         virtual void OnLeftButtonDown(); 
23         virtual void OnLeftButtonUp();
24         virtual void OnMiddleButtonDown(); 
25         virtual void OnMiddleButtonUp();
26         virtual void OnRightButtonDown();
27         virtual void OnRightButtonUp();
28         virtual void OnMouseWheelForward();
29         virtual void OnMouseWheelBackward();
30         
31
32 protected:
33
34 private:
35         manualInteractorWindowLevel             *_manualinteractorwindowlevel;
36         vtkInteractorScrollZ                    *_vtkInteractorScrollZ;
37 };
38
39
40 #endif /*VTKINTERACTORSTYLEBASEVIEW2D_H_*/