5 #ifndef Q_VTK_INTERACTOR_H
6 #define Q_VTK_INTERACTOR_H
9 #include "vtkGUISupportQtModule.h"
10 #include <QtCore/QObject>
14 #include "vtkTDxConfigure.h"
15 VTK_ABI_NAMESPACE_BEGIN
16 #if defined(VTK_USE_TDX) && defined(Q_OS_WIN)
17 class vtkTDxWinDevice;
19 #if defined(VTK_USE_TDX) && defined(Q_OS_MAC)
20 class vtkTDxMacDevice;
22 #if defined(VTK_USE_TDX) && (defined(Q_WS_X11) || defined(Q_OS_LINUX))
24 class vtkTDxUnixDevice;
66 void Start()
override;
72 virtual void StartListening();
77 virtual void StopListening();
82 virtual void TimerEvent(
int timerId);
84 #if defined(VTK_USE_TDX) && (defined(Q_WS_X11) || defined(Q_OS_LINUX))
85 virtual vtkTDxUnixDevice* GetDevice();
86 virtual void SetDevice(vtkTDxDevice* device);
99 #if defined(VTK_USE_TDX) && defined(Q_OS_WIN)
100 vtkTDxWinDevice* Device;
102 #if defined(VTK_USE_TDX) && defined(Q_OS_MAC)
103 vtkTDxMacDevice* Device;
105 #if defined(VTK_USE_TDX) && (defined(Q_WS_X11) || defined(Q_OS_LINUX))
106 vtkTDxUnixDevice* Device;
116 VTK_ABI_NAMESPACE_END
virtual int InternalDestroyTimer(int platformTimerId)
Internal methods for creating and destroying timers that must be implemented by subclasses.
virtual int InternalCreateTimer(int timerId, int timerType, unsigned long duration)
Internal methods for creating and destroying timers that must be implemented by subclasses.
an interactor for QVTKOpenGLNativeWidget (and QVTKWiget).
virtual void Initialize()
Prepare for handling events and set the Enabled flag to true.
static vtkRenderWindowInteractor * New()
platform-independent render window interaction including picking and frame rate control.
virtual void Start()
Start the event loop.
vtkCustomEvents
Enum for additional event types supported.
virtual void TerminateApp()
This function is called on 'q','e' keypress if exitmethod is not specified and should be overridden b...