00001 #ifndef VTKINTERACTORSTYLEPLANE2D_H_ 00002 #define VTKINTERACTORSTYLEPLANE2D_H_ 00003 00004 #include "InteractorStyleMaracas.h" 00005 00006 class vtkInteractorStylePlane2D : public InteractorStyleMaracas 00007 { 00008 public: 00009 vtkInteractorStylePlane2D(); 00010 ~vtkInteractorStylePlane2D(); 00011 virtual bool OnLeftButtonDown(); 00012 virtual bool OnLeftButtonUp(); 00013 virtual bool OnMouseMove(); 00014 virtual bool OnRightButtonUp(); 00015 virtual bool OnLeftDClick(); 00016 bool GetStateRotate(); 00017 00018 private: 00019 bool _stateRotate; 00020 00021 int _fordwareX; 00022 int _fordwareY; 00023 }; 00024 00025 #endif /*VTKINTERACTORSTYLEPLANE2D_H_*/