00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkGenericRenderWindowInteractor.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00028 #ifndef __vtkGenericRenderWindowInteractor_h 00029 #define __vtkGenericRenderWindowInteractor_h 00030 00031 #include "vtkRenderWindowInteractor.h" 00032 00033 class VTK_RENDERING_EXPORT vtkGenericRenderWindowInteractor : public vtkRenderWindowInteractor 00034 { 00035 public: 00036 static vtkGenericRenderWindowInteractor *New(); 00037 vtkTypeRevisionMacro(vtkGenericRenderWindowInteractor,vtkRenderWindowInteractor); 00038 void PrintSelf(ostream& os, vtkIndent indent); 00039 00041 00044 virtual void MouseMoveEvent(); 00045 virtual void RightButtonPressEvent(); 00046 virtual void RightButtonReleaseEvent(); 00047 virtual void LeftButtonPressEvent(); 00048 virtual void LeftButtonReleaseEvent(); 00049 virtual void MiddleButtonPressEvent(); 00050 virtual void MiddleButtonReleaseEvent(); 00051 virtual void MouseWheelForwardEvent(); 00052 virtual void MouseWheelBackwardEvent(); 00053 virtual void ExposeEvent(); 00054 virtual void ConfigureEvent(); 00055 virtual void EnterEvent(); 00056 virtual void LeaveEvent(); 00057 virtual void TimerEvent(); 00058 virtual void KeyPressEvent(); 00059 virtual void KeyReleaseEvent(); 00060 virtual void CharEvent(); 00061 virtual void ExitEvent(); 00063 00065 00069 virtual int CreateTimer(int ); 00070 virtual int DestroyTimer(); 00072 protected: 00073 vtkGenericRenderWindowInteractor(); 00074 ~vtkGenericRenderWindowInteractor(); 00075 private: 00076 vtkGenericRenderWindowInteractor(const vtkGenericRenderWindowInteractor&); // Not implemented. 00077 void operator=(const vtkGenericRenderWindowInteractor&); // Not implemented. 00078 }; 00079 00080 #endif