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