00001 #ifndef VTKINTERACTORSTYLEBASEVIEW2D_H_ 00002 #define VTKINTERACTORSTYLEBASEVIEW2D_H_ 00003 00004 #include "vtkInteractorScrollZ.h" 00005 00006 #include "manualInteractorWindowLevel.h" 00007 //------------------------------------------------------------------ 00008 //------------------------------------------------------------------ 00009 //------------------------------------------------------------------ 00010 00011 class creaMaracasVisu_EXPORT vtkInteractorStyleBaseView2D : public vtkInteractorStyleBaseView{ 00012 public: 00013 vtkInteractorStyleBaseView2D(); 00014 ~vtkInteractorStyleBaseView2D(); 00015 static vtkInteractorStyleBaseView2D *New(); 00016 00017 // RaC 04-2010 Look for the description of new changes in vtkInteractorStyleBaseView2D constructor. 00018 void SetInteractorScrollZ(vtkInteractorScrollZ* interactorScroll); 00019 void SetInteractorWindowLevel(manualInteractorWindowLevel* interactorWindowLevel); 00020 00021 virtual void OnMouseMove(); 00022 virtual void OnLeftButtonDown(); 00023 virtual void OnLeftButtonUp(); 00024 virtual void OnMiddleButtonDown(); 00025 virtual void OnMiddleButtonUp(); 00026 virtual void OnRightButtonDown(); 00027 virtual void OnRightButtonUp(); 00028 00029 protected: 00030 00031 private: 00032 manualInteractorWindowLevel *_manualinteractorwindowlevel; 00033 vtkInteractorScrollZ *_vtkInteractorScrollZ; 00034 }; 00035 00036 00037 #endif /*VTKINTERACTORSTYLEBASEVIEW2D_H_*/