VTK  9.2.20230527
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 =========================================================================*/
29 #ifndef vtkGenericRenderWindowInteractor_h
30 #define vtkGenericRenderWindowInteractor_h
31 
33 #include "vtkRenderingUIModule.h" // For export macro
34 
35 VTK_ABI_NAMESPACE_BEGIN
36 class VTKRENDERINGUI_EXPORT vtkGenericRenderWindowInteractor : public vtkRenderWindowInteractor
37 {
38 public:
41  void PrintSelf(ostream& os, vtkIndent indent) override;
42 
48  virtual void TimerEvent();
49 
51 
63  vtkSetMacro(TimerEventResetsTimer, vtkTypeBool);
64  vtkGetMacro(TimerEventResetsTimer, vtkTypeBool);
65  vtkBooleanMacro(TimerEventResetsTimer, vtkTypeBool);
67 
68 protected:
71 
73 
77  int InternalCreateTimer(int timerId, int timerType, unsigned long duration) override;
78  int InternalDestroyTimer(int platformTimerId) override;
80 
82 
83 private:
85  void operator=(const vtkGenericRenderWindowInteractor&) = delete;
86 };
87 
88 VTK_ABI_NAMESPACE_END
89 #endif
platform-independent programmable render window interactor.
static vtkGenericRenderWindowInteractor * New()
int InternalDestroyTimer(int platformTimerId) override
Generic internal timer methods.
virtual void TimerEvent()
Fire TimerEvent.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int InternalCreateTimer(int timerId, int timerType, unsigned long duration) override
Generic internal timer methods.
a simple class to control print indentation
Definition: vtkIndent.h:120
platform-independent render window interaction including picking and frame rate control.
int vtkTypeBool
Definition: vtkABI.h:71