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 "vtkXRenderWindowInteractor.h"
33 
34 class vtkXRenderWindowTclInteractorInternals;
35 
37 {
38 public:
41  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
42 
46  void Initialize() VTK_OVERRIDE;
47 
52  void Initialize(XtAppContext app) VTK_OVERRIDE;
53 
55 
64  void Enable() VTK_OVERRIDE;
65  void Disable() VTK_OVERRIDE;
67 
73  void Start() VTK_OVERRIDE;
74 
75 protected:
77  ~vtkXRenderWindowTclInteractor() VTK_OVERRIDE;
78 
80 
84  int InternalCreateTimer(int timerId, int timerType, unsigned long duration) VTK_OVERRIDE;
85  int InternalDestroyTimer(int platformTimerId) VTK_OVERRIDE;
87 
88 private:
89  vtkXRenderWindowTclInteractorInternals* TclInternal;
90 
92  void operator=(const vtkXRenderWindowTclInteractor&) VTK_DELETE_FUNCTION;
93 };
94 
95 #endif
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Enable() override
Enable/Disable interactions.
a TCL event driven interface for a RenderWindow
static vtkXRenderWindowTclInteractor * New()
a simple class to control print indentation
Definition: vtkIndent.h:33
void Disable() override
Enable/Disable interactions.
void Initialize() override
Initializes a Tcl/Tk specific event handler.
int InternalCreateTimer(int timerId, int timerType, unsigned long duration) override
Tcl/Tk specific internal timer methods.
void Start() override
This will start a Tcl/Tk event loop that only returns when the user presses the 'q' or 'e' key or whe...
an X event driven interface for a RenderWindow
int InternalDestroyTimer(int platformTimerId) override
Tcl/Tk specific internal timer methods.