00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkGenericRenderWindowInteractor.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00043 #ifndef __vtkGenericRenderWindowInteractor_h 00044 #define __vtkGenericRenderWindowInteractor_h 00045 00046 #include "vtkRenderWindowInteractor.h" 00047 00048 class VTK_RENDERING_EXPORT vtkGenericRenderWindowInteractor : public vtkRenderWindowInteractor 00049 { 00050 public: 00051 static vtkGenericRenderWindowInteractor *New(); 00052 vtkTypeRevisionMacro(vtkGenericRenderWindowInteractor,vtkRenderWindowInteractor); 00053 void PrintSelf(ostream& os, vtkIndent indent); 00054 00056 00059 virtual void MouseMoveEvent(); 00060 virtual void RightButtonPressEvent(); 00061 virtual void RightButtonReleaseEvent(); 00062 virtual void LeftButtonPressEvent(); 00063 virtual void LeftButtonReleaseEvent(); 00064 virtual void MiddleButtonPressEvent(); 00065 virtual void MiddleButtonReleaseEvent(); 00066 virtual void ExposeEvent(); 00067 virtual void ConfigureEvent(); 00068 virtual void EnterEvent(); 00069 virtual void LeaveEvent(); 00070 virtual void TimerEvent(); 00071 virtual void KeyPressEvent(); 00072 virtual void KeyReleaseEvent(); 00073 virtual void CharEvent(); 00074 virtual void ExitEvent(); 00076 00078 00082 virtual int CreateTimer(int ); 00083 virtual int DestroyTimer(); 00085 protected: 00086 vtkGenericRenderWindowInteractor(); 00087 ~vtkGenericRenderWindowInteractor(); 00088 private: 00089 vtkGenericRenderWindowInteractor(const vtkGenericRenderWindowInteractor&); // Not implemented. 00090 void operator=(const vtkGenericRenderWindowInteractor&); // Not implemented. 00091 }; 00092 00093 #endif