103#ifndef QVTKOpenGLNativeWidget_h
104#define QVTKOpenGLNativeWidget_h
106#include <QOpenGLWidget>
107#include <QScopedPointer>
111#include "vtkGUISupportQtModule.h"
123 typedef QOpenGLWidget Superclass;
128 Qt::WindowFlags f = Qt::WindowFlags());
238 void setQVTKCursor(const QCursor& cursor);
244 void setDefaultQVTKCursor(const QCursor& cursor);
252 virtual
void cleanupContext();
257 bool event(QEvent* evt) override;
258 void initializeGL() override;
259 void paintGL() override;
270 double CustomDevicePixelRatio;
271 QCursor DefaultCursor;
an interactor for QVTKOpenGLNativeWidget (and QVTKWiget).
Helper to manage Qt context and other OpenGL components.
platform independent render window
create a window for renderers to draw into
Hold a reference to a vtkObjectBase instance.
#define VTK_DEPRECATED_IN_9_0_0(reason)