1 #ifndef VTKINTERACTORSTYLEBASEVIEW2D_H_
2 #define VTKINTERACTORSTYLEBASEVIEW2D_H_
4 #include "vtkInteractorScrollZ.h"
6 #include "manualInteractorWindowLevel.h"
7 //------------------------------------------------------------------
8 //------------------------------------------------------------------
9 //------------------------------------------------------------------
11 class creaMaracasVisu_EXPORT vtkInteractorStyleBaseView2D : public vtkInteractorStyleBaseView{
13 vtkInteractorStyleBaseView2D();
14 ~vtkInteractorStyleBaseView2D();
15 static vtkInteractorStyleBaseView2D *New();
17 // RaC 04-2010 Look for the description of new changes in vtkInteractorStyleBaseView2D constructor.
18 void SetInteractorScrollZ(vtkInteractorScrollZ* interactorScroll);
19 void SetInteractorWindowLevel(manualInteractorWindowLevel* interactorWindowLevel);
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();
35 manualInteractorWindowLevel *_manualinteractorwindowlevel;
36 vtkInteractorScrollZ *_vtkInteractorScrollZ;
40 #endif /*VTKINTERACTORSTYLEBASEVIEW2D_H_*/