]> Creatis software - creaMaracasVisu.git/blob - lib/maracasVisuLib/src/interface/wxWindows/widgets/InteractorStyleMaracas.cxx
d748d073f6f56d5928f2170ec0e526f0efb24002
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / InteractorStyleMaracas.cxx
1
2 #include "InteractorStyleMaracas.h"
3 //---------------------------------------------------------------------------
4 //---------------------------------------------------------------------------
5 //---------------------------------------------------------------------------
6
7 InteractorStyleMaracas::InteractorStyleMaracas()
8 {
9         _active                                         = true;
10         _vtkInteractorStyleBaseView     = NULL;
11 }
12 //---------------------------------------------------------------------------
13 InteractorStyleMaracas::~InteractorStyleMaracas()
14 {
15 }
16
17 // ----------------------------------------------------------------------------
18 InteractorStyleMaracas * InteractorStyleMaracas :: Clone()  // virtual 
19 {
20         InteractorStyleMaracas * clone = new InteractorStyleMaracas();
21         CopyAttributesTo(clone);
22         return clone;
23 }
24
25 // ---------------------------------------------------------------------------
26
27 void InteractorStyleMaracas::CopyAttributesTo( InteractorStyleMaracas * cloneObject)
28 {
29         // Fathers object
30         //<FATHERCLASS>::CopyAttributesTo(cloneObject);
31
32         cloneObject->SetActive(  this->GetActive() );
33 }
34
35
36 //---------------------------------------------------------------------------
37 bool InteractorStyleMaracas::OnChar() //virtual
38 {
39         return true;
40 }
41 //---------------------------------------------------------------------------
42 bool InteractorStyleMaracas::OnMouseMove() //virtual
43 {
44         return true;
45 }
46 //---------------------------------------------------------------------------
47 bool InteractorStyleMaracas::OnLeftButtonDown() //virtual
48 {
49         return true;
50 }
51 //---------------------------------------------------------------------------
52 bool InteractorStyleMaracas::OnLeftButtonUp() //virtual
53 {
54         return true;
55 }
56 //---------------------------------------------------------------------------
57 bool  InteractorStyleMaracas::OnLeftDClick() //virtual
58 {
59         return true;
60 }
61 //---------------------------------------------------------------------------
62 bool InteractorStyleMaracas::OnMiddleButtonDown()  //virtual
63 {
64         return true;
65 }
66 //---------------------------------------------------------------------------
67 bool InteractorStyleMaracas::OnMiddleButtonUp() //virtual
68 {
69         return true;
70 }
71 //---------------------------------------------------------------------------
72 bool InteractorStyleMaracas::OnMiddleDClick() //virtual
73 {
74         return true;
75 }
76 //---------------------------------------------------------------------------
77 bool InteractorStyleMaracas::OnRightButtonDown() //virtual
78 {
79         return true;
80 }
81 //---------------------------------------------------------------------------
82 bool InteractorStyleMaracas::OnRightButtonUp() //virtual
83 {
84         return true;
85 }
86 //---------------------------------------------------------------------------
87 bool InteractorStyleMaracas::OnRightDClick() //virtual
88 {
89         return true;
90 }
91
92
93 //EED ?????  27Juillet2011      
94 //---------------------------------------------------------------------------
95 bool InteractorStyleMaracas::OnMouseWheel() //virtual
96 {
97         return true;
98 }
99
100 //---------------------------------------------------------------------------
101 bool InteractorStyleMaracas::OnMouseWheelForward() //virtual
102 {
103         return true;
104 }
105
106 //---------------------------------------------------------------------------
107 bool InteractorStyleMaracas::OnMouseWheelBackward()  //virtual
108 {
109         return true;
110 }
111
112 //---------------------------------------------------------------------------
113
114  void InteractorStyleMaracas::SetVtkInteractorStyleBaseView(vtkInteractorStyleBaseView* vtkInteractorStyleBaseView)
115 {
116         _vtkInteractorStyleBaseView = vtkInteractorStyleBaseView;
117 }
118
119
120 //---------------------------------------------------------------------------
121 void InteractorStyleMaracas::RemoveVtkInteractorStyleBaseView()
122 {
123         _vtkInteractorStyleBaseView = NULL;
124 }
125 //---------------------------------------------------------------------------
126 void InteractorStyleMaracas::SetActive(bool active)
127 {
128         _active = active;
129 }
130 //---------------------------------------------------------------------------
131 bool InteractorStyleMaracas::GetActive()
132 {
133         return _active;
134 }
135
136