36 #ifndef Q_VTK_WIDGET_H
37 #define Q_VTK_WIDGET_H
39 #include "vtkGUISupportQtModule.h"
47 #include <vtkConfigure.h>
48 #include <vtkToolkits.h>
51 #include "vtkTDxConfigure.h"
57 # if defined(QT_MAC_USE_COCOA) && defined(VTK_USE_COCOA)
58 # define QVTK_USE_COCOA
59 # elif defined(VTK_USE_COCOA)
60 # error "VTK configured to use Cocoa, but Qt configured to use Carbon"
68 class VTKGUISUPPORTQT_EXPORT
QVTKWidget :
public QWidget
72 Q_PROPERTY(
bool automaticImageCacheEnabled
73 READ isAutomaticImageCacheEnabled
74 WRITE setAutomaticImageCacheEnabled)
75 Q_PROPERTY(
double maxRenderRateForImageCache
76 READ maxRenderRateForImageCache
77 WRITE setMaxRenderRateForImageCache)
78 Q_PROPERTY(
bool deferRenderInPaintEvent
79 READ deferRenderInPaintEvent
80 WRITE setDeferRenderInPaintEvent)
84 QVTKWidget(QWidget* parent = NULL, Qt::WindowFlags f = 0);
232 #ifndef QT_NO_WHEELEVENT
270 #if defined(Q_OS_WIN)
271 bool winEvent(MSG* msg,
long* result);
273 #if QT_VERSION >= 0x050000
274 bool nativeEvent(
const QByteArray& eventType,
void* message,
long* result);
294 unsigned long renderEventCallbackObserverId;
299 void renderEventCallback();
300 QTimer mDeferedRenderTimer;
topologically and geometrically regular array of data
create a window for renderers to draw into
API to access a 3DConnexion input device.