VTK  9.3.1
vtkGenericRenderWindowInteractor.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
17 #ifndef vtkGenericRenderWindowInteractor_h
18 #define vtkGenericRenderWindowInteractor_h
19 
21 #include "vtkRenderingUIModule.h" // For export macro
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class VTKRENDERINGUI_EXPORT vtkGenericRenderWindowInteractor : public vtkRenderWindowInteractor
25 {
26 public:
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
36  virtual void TimerEvent();
37 
39 
51  vtkSetMacro(TimerEventResetsTimer, vtkTypeBool);
52  vtkGetMacro(TimerEventResetsTimer, vtkTypeBool);
53  vtkBooleanMacro(TimerEventResetsTimer, vtkTypeBool);
55 
56 protected:
59 
61 
65  int InternalCreateTimer(int timerId, int timerType, unsigned long duration) override;
66  int InternalDestroyTimer(int platformTimerId) override;
68 
70 
71 private:
73  void operator=(const vtkGenericRenderWindowInteractor&) = delete;
74 };
75 
76 VTK_ABI_NAMESPACE_END
77 #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.
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()
int vtkTypeBool
Definition: vtkABI.h:64
platform-independent render window interaction including picking and frame rate control.
a simple class to control print indentation
Definition: vtkIndent.h:28
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.