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()
41 //---------------------------------------------------------------------------
42 bool InteractorStyleMaracas::OnMouseMove()
46 //---------------------------------------------------------------------------
47 bool InteractorStyleMaracas::OnLeftButtonDown()
51 //---------------------------------------------------------------------------
52 bool InteractorStyleMaracas::OnLeftButtonUp()
56 //---------------------------------------------------------------------------
57 bool InteractorStyleMaracas::OnLeftDClick()
61 //---------------------------------------------------------------------------
62 bool InteractorStyleMaracas::OnMiddleButtonDown()
66 //---------------------------------------------------------------------------
67 bool InteractorStyleMaracas::OnMiddleButtonUp()
71 //---------------------------------------------------------------------------
72 bool InteractorStyleMaracas::OnMiddleDClick()
76 //---------------------------------------------------------------------------
77 bool InteractorStyleMaracas::OnRightButtonDown()
81 //---------------------------------------------------------------------------
82 bool InteractorStyleMaracas::OnRightButtonUp()
86 //---------------------------------------------------------------------------
87 bool InteractorStyleMaracas::OnRightDClick()
91 //---------------------------------------------------------------------------
92 bool InteractorStyleMaracas::OnMouseWheel()
97 //---------------------------------------------------------------------------
99 void InteractorStyleMaracas::SetVtkInteractorStyleBaseView(vtkInteractorStyleBaseView* vtkInteractorStyleBaseView)
101 _vtkInteractorStyleBaseView = vtkInteractorStyleBaseView;
105 //---------------------------------------------------------------------------
106 void InteractorStyleMaracas::RemoveVtkInteractorStyleBaseView()
108 _vtkInteractorStyleBaseView = NULL;
110 //---------------------------------------------------------------------------
111 void InteractorStyleMaracas::SetActive(bool active)
115 //---------------------------------------------------------------------------
116 bool InteractorStyleMaracas::GetActive()