2 #include "InteractorStyleMaracas.h"
3 //---------------------------------------------------------------------------
4 //---------------------------------------------------------------------------
5 //---------------------------------------------------------------------------
7 InteractorStyleMaracas::InteractorStyleMaracas()
10 _vtkInteractorStyleBaseView = NULL;
12 //---------------------------------------------------------------------------
13 InteractorStyleMaracas::~InteractorStyleMaracas()
17 // ----------------------------------------------------------------------------
18 InteractorStyleMaracas * InteractorStyleMaracas :: Clone() // virtual
20 InteractorStyleMaracas * clone = new InteractorStyleMaracas();
21 CopyAttributesTo(clone);
25 // ---------------------------------------------------------------------------
27 void InteractorStyleMaracas::CopyAttributesTo( InteractorStyleMaracas * cloneObject)
30 //<FATHERCLASS>::CopyAttributesTo(cloneObject);
32 cloneObject->SetActive( this->GetActive() );
36 //---------------------------------------------------------------------------
37 bool InteractorStyleMaracas::OnChar() //virtual
41 //---------------------------------------------------------------------------
42 bool InteractorStyleMaracas::OnMouseMove() //virtual
46 //---------------------------------------------------------------------------
47 bool InteractorStyleMaracas::OnLeftButtonDown() //virtual
51 //---------------------------------------------------------------------------
52 bool InteractorStyleMaracas::OnLeftButtonUp() //virtual
56 //---------------------------------------------------------------------------
57 bool InteractorStyleMaracas::OnLeftDClick() //virtual
61 //---------------------------------------------------------------------------
62 bool InteractorStyleMaracas::OnMiddleButtonDown() //virtual
66 //---------------------------------------------------------------------------
67 bool InteractorStyleMaracas::OnMiddleButtonUp() //virtual
71 //---------------------------------------------------------------------------
72 bool InteractorStyleMaracas::OnMiddleDClick() //virtual
76 //---------------------------------------------------------------------------
77 bool InteractorStyleMaracas::OnRightButtonDown() //virtual
81 //---------------------------------------------------------------------------
82 bool InteractorStyleMaracas::OnRightButtonUp() //virtual
86 //---------------------------------------------------------------------------
87 bool InteractorStyleMaracas::OnRightDClick() //virtual
93 //EED ????? 27Juillet2011
94 //---------------------------------------------------------------------------
95 bool InteractorStyleMaracas::OnMouseWheel() //virtual
100 //---------------------------------------------------------------------------
101 bool InteractorStyleMaracas::OnMouseWheelForward() //virtual
106 //---------------------------------------------------------------------------
107 bool InteractorStyleMaracas::OnMouseWheelBackward() //virtual
112 //---------------------------------------------------------------------------
114 void InteractorStyleMaracas::SetVtkInteractorStyleBaseView(vtkInteractorStyleBaseView* vtkInteractorStyleBaseView)
116 _vtkInteractorStyleBaseView = vtkInteractorStyleBaseView;
120 //---------------------------------------------------------------------------
121 void InteractorStyleMaracas::RemoveVtkInteractorStyleBaseView()
123 _vtkInteractorStyleBaseView = NULL;
125 //---------------------------------------------------------------------------
126 void InteractorStyleMaracas::SetActive(bool active)
130 //---------------------------------------------------------------------------
131 bool InteractorStyleMaracas::GetActive()