VTK
dox/Rendering/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 "vtkRenderWindowInteractor.h"
00032 
00033 class VTK_RENDERING_EXPORT vtkGenericRenderWindowInteractor : public vtkRenderWindowInteractor
00034 {
00035 public:
00036   static vtkGenericRenderWindowInteractor *New();
00037   vtkTypeMacro(vtkGenericRenderWindowInteractor,vtkRenderWindowInteractor);
00038   void PrintSelf(ostream& os, vtkIndent indent);
00039   
00043   virtual void TimerEvent();
00044 
00046 
00057   vtkSetMacro(TimerEventResetsTimer, int);
00058   vtkGetMacro(TimerEventResetsTimer, int);
00059   vtkBooleanMacro(TimerEventResetsTimer, int);
00061 
00062 protected:
00063   vtkGenericRenderWindowInteractor();
00064   ~vtkGenericRenderWindowInteractor();
00065 
00067 
00069   virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration);
00070   virtual int InternalDestroyTimer(int platformTimerId);
00072 
00073   int TimerEventResetsTimer;
00074 
00075 private:
00076   vtkGenericRenderWindowInteractor(const vtkGenericRenderWindowInteractor&);  // Not implemented.
00077   void operator=(const vtkGenericRenderWindowInteractor&);  // Not implemented.
00078 };
00079 
00080 #endif