27 #ifndef Q_VTK_INTERACTOR_H 28 #define Q_VTK_INTERACTOR_H 30 #include "vtkGUISupportQtModule.h" 34 #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;
88 void Start()
override;
94 virtual void StartListening();
99 virtual void StopListening();
104 virtual void TimerEvent(
int timerId);
106 #if defined(VTK_USE_TDX) && (defined(Q_WS_X11) || defined(Q_OS_LINUX)) 107 virtual vtkTDxUnixDevice *GetDevice();
108 virtual void SetDevice(vtkTDxDevice *device);
121 #if defined(VTK_USE_TDX) && defined(Q_OS_WIN) 122 vtkTDxWinDevice *Device;
124 #if defined(VTK_USE_TDX) && defined(Q_OS_MAC) 125 vtkTDxMacDevice *Device;
127 #if defined(VTK_USE_TDX) && (defined(Q_WS_X11) || defined(Q_OS_LINUX)) 128 vtkTDxUnixDevice *Device;
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(void)
This function is called on 'q','e' keypress if exitmethod is not specified and should be overridden b...