1 #ifndef VTKINTERACTORSTYLEBASEVIEW_H_
2 #define VTKINTERACTORSTYLEBASEVIEW_H_
5 #include "wxVtkBaseView.h"
8 //class InteractorStyleMaracas;
9 //#include "InteractorStyleMaracas.h"
10 class InteractorStyleMaracas;
13 class creaMaracasVisu_EXPORT vtkInteractorStyleBaseView : public vtkInteractorStyleImage
16 vtkInteractorStyleBaseView();
17 ~vtkInteractorStyleBaseView();
18 static vtkInteractorStyleBaseView *New();
19 virtual void OnChar();
20 virtual void OnMouseMove();
21 virtual void OnLeftButtonDown();
22 virtual void OnLeftButtonUp();
23 virtual void OnMiddleButtonDown();
24 virtual void OnMiddleButtonUp();
25 virtual void OnRightButtonDown();
26 virtual void OnRightButtonUp();
28 virtual void OnLeftDClick();
29 virtual void OnRightDClick();
30 virtual void OnMiddleDClick();
31 virtual void OnMouseWheel();
33 virtual void TransformCoordinate(double &X, double &Y, double &Z);
35 void AddInteractorStyleMaracas(InteractorStyleMaracas* interactorStyleMaracas);
36 void RemoveInteractorStyleMaracas(InteractorStyleMaracas* interactorStyleMaracas);
37 void InsertInteractorStyleMaracas(int pos, InteractorStyleMaracas* interactorStyleMaracas);
38 void CallLstInteractorStyleMaracas(int type);
40 //wxVtk2DBaseView *GetWxVtk2DBaseView();
41 //wxVtk3DBaseView *GetWxVtk3DBaseView();
42 wxVtkBaseView *GetWxVtk2DBaseView();
43 wxVtkBaseView *GetWxVtk3DBaseView();
45 void SetwxVtkBaseView(wxVtkBaseView *wxvtkbaseview);
46 void SetActiveAllInteractors(bool ok);
48 void SetRefresh_waiting();
49 void SetParent_refresh_waiting();
51 bool GetRefresh_waiting();
52 bool GetParent_refresh_waiting();
55 void EvaluateToRefresh();
57 void UnBlockRefresh();
60 std::vector< InteractorStyleMaracas* > _lstInteractorStyleMaracas;
64 bool _refresh_waiting;
65 bool _parent_refresh_waiting;
66 wxVtkBaseView *_wxvtkbaseview;
69 #endif /*VTKINTERACTORSTYLEBASEVIEW_H_*/