VTK
vtkXRenderWindowTclInteractor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXRenderWindowTclInteractor.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 vtkXRenderWindowTclInteractor_h
30 #define vtkXRenderWindowTclInteractor_h
31 
32 #include "vtkRenderingOpenGLModule.h" // For export macro
34 
35 class vtkXRenderWindowTclInteractorInternals;
36 
37 class VTKRENDERINGOPENGL_EXPORT vtkXRenderWindowTclInteractor : public vtkXRenderWindowInteractor
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
47  void Initialize() override;
48 
53  void Initialize(XtAppContext app) override;
54 
56 
65  void Enable() override;
66  void Disable() override;
68 
74  void Start() override;
75 
76 protected:
79 
81 
85  int InternalCreateTimer(int timerId, int timerType, unsigned long duration) override;
86  int InternalDestroyTimer(int platformTimerId) override;
88 
89 private:
90  vtkXRenderWindowTclInteractorInternals* Internal;
91 
93  void operator=(const vtkXRenderWindowTclInteractor&) = delete;
94 };
95 
96 #endif
void Initialize() override
Initializes the event handlers without an XtAppContext.
void Disable() override
Enable/Disable interactions.
a TCL event driven interface for a RenderWindow
int InternalCreateTimer(int timerId, int timerType, unsigned long duration) override
X-specific internal timer methods.
int InternalDestroyTimer(int platformTimerId) override
X-specific internal timer methods.
virtual void Start()
Start the event loop.
a simple class to control print indentation
Definition: vtkIndent.h:39
void Enable() override
Enable/Disable interactions.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkXRenderWindowInteractor * New()
an X event driven interface for a RenderWindow