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);
43 
47  virtual void Initialize();
48 
53  virtual void Initialize(XtAppContext app);
54 
56 
65  virtual void Enable();
66  virtual void Disable();
68 
74  virtual void Start();
75 
76 protected:
79 
81 
85  virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration);
86  virtual int InternalDestroyTimer(int platformTimerId);
88 
89 private:
90  vtkXRenderWindowTclInteractorInternals* Internal;
91 
93  void operator=(const vtkXRenderWindowTclInteractor&) VTK_DELETE_FUNCTION;
94 };
95 
96 #endif
vtkXRenderWindowTclInteractor::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkXRenderWindowTclInteractor::vtkXRenderWindowTclInteractor
vtkXRenderWindowTclInteractor()
vtkXRenderWindowInteractor.h
vtkXRenderWindowTclInteractor::Initialize
virtual void Initialize(XtAppContext app)
Overridden only to eliminate the "virtual function hidden" warning.
vtkXRenderWindowTclInteractor::New
static vtkXRenderWindowTclInteractor * New()
vtkXRenderWindowTclInteractor
a TCL event driven interface for a RenderWindow
Definition: vtkXRenderWindowTclInteractor.h:38
vtkXRenderWindowTclInteractor::~vtkXRenderWindowTclInteractor
~vtkXRenderWindowTclInteractor()
vtkXRenderWindowInteractor
an X event driven interface for a RenderWindow
Definition: vtkXRenderWindowInteractor.h:52
vtkXRenderWindowInteractor::Internal
vtkXRenderWindowInteractorInternals * Internal
Definition: vtkXRenderWindowInteractor.h:198
vtkXRenderWindowTclInteractor::Initialize
virtual void Initialize()
Initializes a Tcl/Tk specific event handler.
vtkXRenderWindowTclInteractor::Enable
virtual void Enable()
Enable/Disable interactions.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkXRenderWindowTclInteractor::Start
virtual void Start()
This will start a Tcl/Tk event loop that only returns when the user presses the 'q' or 'e' key or whe...
vtkXRenderWindowTclInteractor::InternalCreateTimer
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
Tcl/Tk specific internal timer methods.
vtkXRenderWindowTclInteractor::Disable
virtual void Disable()
vtkXRenderWindowTclInteractor::InternalDestroyTimer
virtual int InternalDestroyTimer(int platformTimerId)