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 ExposeEvent(); 00052 virtual void ConfigureEvent(); 00053 virtual void EnterEvent(); 00054 virtual void LeaveEvent(); 00055 virtual void TimerEvent(); 00056 virtual void KeyPressEvent(); 00057 virtual void KeyReleaseEvent(); 00058 virtual void CharEvent(); 00059 virtual void ExitEvent(); 00061 00063 00067 virtual int CreateTimer(int ); 00068 virtual int DestroyTimer(); 00070 protected: 00071 vtkGenericRenderWindowInteractor(); 00072 ~vtkGenericRenderWindowInteractor(); 00073 private: 00074 vtkGenericRenderWindowInteractor(const vtkGenericRenderWindowInteractor&); // Not implemented. 00075 void operator=(const vtkGenericRenderWindowInteractor&); // Not implemented. 00076 }; 00077 00078 #endif