VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Rendering/Core/vtkGenericRenderWindowInteractor.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkGenericRenderWindowInteractor.h
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 "vtkRenderingCoreModule.h" // For export macro
00032 #include "vtkRenderWindowInteractor.h"
00033 
00034 class VTKRENDERINGCORE_EXPORT vtkGenericRenderWindowInteractor : public vtkRenderWindowInteractor
00035 {
00036 public:
00037   static vtkGenericRenderWindowInteractor *New();
00038   vtkTypeMacro(vtkGenericRenderWindowInteractor,vtkRenderWindowInteractor);
00039   void PrintSelf(ostream& os, vtkIndent indent);
00040 
00044   virtual void TimerEvent();
00045 
00047 
00058   vtkSetMacro(TimerEventResetsTimer, int);
00059   vtkGetMacro(TimerEventResetsTimer, int);
00060   vtkBooleanMacro(TimerEventResetsTimer, int);
00062 
00063 protected:
00064   vtkGenericRenderWindowInteractor();
00065   ~vtkGenericRenderWindowInteractor();
00066 
00068 
00070   virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration);
00071   virtual int InternalDestroyTimer(int platformTimerId);
00073 
00074   int TimerEventResetsTimer;
00075 
00076 private:
00077   vtkGenericRenderWindowInteractor(const vtkGenericRenderWindowInteractor&);  // Not implemented.
00078   void operator=(const vtkGenericRenderWindowInteractor&);  // Not implemented.
00079 };
00080 
00081 #endif