VTK
vtkGenericRenderWindowInteractor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkGenericRenderWindowInteractor.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
26 #ifndef vtkGenericRenderWindowInteractor_h
27 #define vtkGenericRenderWindowInteractor_h
28 
29 #include "vtkRenderingCoreModule.h" // For export macro
31 
32 class VTKRENDERINGCORE_EXPORT vtkGenericRenderWindowInteractor : public vtkRenderWindowInteractor
33 {
34 public:
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
44  virtual void TimerEvent();
45 
47 
59  vtkSetMacro(TimerEventResetsTimer, int);
60  vtkGetMacro(TimerEventResetsTimer, int);
61  vtkBooleanMacro(TimerEventResetsTimer, int);
63 
64 protected:
67 
69 
73  virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration);
74  virtual int InternalDestroyTimer(int platformTimerId);
76 
78 
79 private:
81  void operator=(const vtkGenericRenderWindowInteractor&) VTK_DELETE_FUNCTION;
82 };
83 
84 #endif
platform-independent programmable render window interactor.
virtual int InternalDestroyTimer(int platformTimerId)
Internal methods for creating and destroying timers that must be implemented by subclasses.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
Internal methods for creating and destroying timers that must be implemented by subclasses.
static vtkRenderWindowInteractor * New()
platform-independent render window interaction including picking and frame rate control.
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.