]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/InteractorStyleMaracas.h
31f791f7792f4ec8e0f68c53e76ff6f6d8238b34
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / InteractorStyleMaracas.h
1 #ifndef INTERACTORSTYLEMARACAS_H_
2 #define INTERACTORSTYLEMARACAS_H_
3
4
5 #include "marTypes.h"
6 //------------------------------------------------------------------
7
8 #include "vtkInteractorStyleBaseView.h"
9
10 //class vtkInteractorStyleBaseView;
11
12
13 class creaMaracasVisu_EXPORT InteractorStyleMaracas 
14 {
15 public:
16         InteractorStyleMaracas();
17         virtual ~InteractorStyleMaracas();
18
19         virtual InteractorStyleMaracas * Clone();
20         void CopyAttributesTo( InteractorStyleMaracas *cloneObject );
21
22
23         virtual bool  OnChar();
24         virtual bool  OnMouseMove();
25         virtual bool  OnLeftButtonDown(); 
26         virtual bool  OnLeftButtonUp();
27         virtual bool  OnMiddleButtonDown(); 
28         virtual bool  OnMiddleButtonUp();
29         virtual bool  OnRightButtonDown();
30         virtual bool  OnRightButtonUp();
31
32         virtual bool  OnLeftDClick();
33         virtual bool  OnRightDClick();   
34         virtual bool  OnMiddleDClick();  
35                 
36         virtual bool  OnMouseWheelForward();
37         virtual bool  OnMouseWheelBackward();
38         
39         void  SetVtkInteractorStyleBaseView(vtkInteractorStyleBaseView* _vtkInteractorStyleBaseView);   
40         void  RemoveVtkInteractorStyleBaseView();
41         
42         void SetActive(bool active);
43         bool GetActive();
44
45 protected:
46         
47         vtkInteractorStyleBaseView* _vtkInteractorStyleBaseView;         
48         //vtkInteractorStyleImage* _vtkInteractorStyleBaseView;
49         
50 private:
51         bool                                            _active;
52 };
53
54 #endif /*INTERACTORSTYLEMARACAS_H_*/