Go to the documentation of this file.
19 #ifndef Q_VTK_WIDGET2_H
20 #define Q_VTK_WIDGET2_H
22 #include "vtkGUISupportQtOpenGLModule.h"
23 #include <QtOpenGL/QGLWidget>
24 #include "vtkSetGet.h"
35 #include "vtkTDxConfigure.h"
50 class VTKGUISUPPORTQTOPENGL_EXPORT
QVTKWidget2 :
public QGLWidget
53 typedef QGLWidget Superclass;
56 VTK_LEGACY(
QVTKWidget2(QWidget* parent =
nullptr,
const QGLWidget* shareWidget=0, Qt::WindowFlags f = 0));
58 VTK_LEGACY(
QVTKWidget2(QGLContext* ctx, QWidget* parent =
nullptr,
const QGLWidget* shareWidget=0, Qt::WindowFlags f = 0));
59 VTK_LEGACY(
QVTKWidget2(
const QGLFormat& fmt, QWidget* parent =
nullptr,
const QGLWidget* shareWidget=0, Qt::WindowFlags f = 0));
105 void setDevice(vtkTDxDevice *device);
112 virtual void IsCurrent(
vtkObject* caller,
unsigned long vtk_event,
void* client_data,
void* call_data);
120 virtual void IsDirect(
vtkObject* caller,
unsigned long vtk_event,
void* client_data,
void* call_data);
Manage connections between VTK events and Qt slots.
platform independent render window
abstract base class for most VTK objects
an interactor for QVTKOpenGLNativeWidget (and QVTKWiget).