 |
VTK
9.0.1
|
Go to the documentation of this file.
27 #ifndef Q_VTK_INTERACTOR_H
28 #define Q_VTK_INTERACTOR_H
31 #include "vtkGUISupportQtModule.h"
32 #include <QtCore/QObject>
36 #include "vtkTDxConfigure.h"
37 #if defined(VTK_USE_TDX) && defined(Q_OS_WIN)
38 class vtkTDxWinDevice;
40 #if defined(VTK_USE_TDX) && defined(Q_OS_MAC)
41 class vtkTDxMacDevice;
43 #if defined(VTK_USE_TDX) && (defined(Q_WS_X11) || defined(Q_OS_LINUX))
45 class vtkTDxUnixDevice;
87 void Start()
override;
93 virtual void StartListening();
98 virtual void StopListening();
103 virtual void TimerEvent(
int timerId);
105 #if defined(VTK_USE_TDX) && (defined(Q_WS_X11) || defined(Q_OS_LINUX))
106 virtual vtkTDxUnixDevice* GetDevice();
107 virtual void SetDevice(vtkTDxDevice* device);
120 #if defined(VTK_USE_TDX) && defined(Q_OS_WIN)
121 vtkTDxWinDevice* Device;
123 #if defined(VTK_USE_TDX) && defined(Q_OS_MAC)
124 vtkTDxMacDevice* Device;
126 #if defined(VTK_USE_TDX) && (defined(Q_WS_X11) || defined(Q_OS_LINUX))
127 vtkTDxUnixDevice* Device;
static vtkRenderWindowInteractor * New()
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
Internal methods for creating and destroying timers that must be implemented by subclasses.
virtual int InternalDestroyTimer(int platformTimerId)
platform-independent render window interaction including picking and frame rate control.
vtkCustomEvents
Enum for additional event types supported.
virtual void TerminateApp(void)
This function is called on 'q','e' keypress if exitmethod is not specified and should be overridden b...
virtual void Start()
Start the event loop.
virtual void Initialize()
Prepare for handling events and set the Enabled flag to true.
an interactor for QVTKOpenGLNativeWidget (and QVTKWiget).