11#include <QScopedPointer>
12#include <QSurfaceFormat>
35void show(std::shared_ptr<QObject> widgetOrWindow,
const QSize& size);
platform independent render window
create a window for renderers to draw into
@ USE_QVTKOPENGLNATIVEWIDGET
@ USE_QVTKOPENGLSTEREOWIDGET
void process_events_and_wait(int msec)
vtkRenderWindow * get_render_window(std::shared_ptr< QObject > widgetOrWindow)
QImage grab_framebuffer(std::shared_ptr< QObject > widgetOrWindow)
std::shared_ptr< QWidget > create_widget(Type type, vtkGenericOpenGLRenderWindow *renWin, QWidget *parent)
void show(std::shared_ptr< QObject > widgetOrWindow, const QSize &size)
std::shared_ptr< QObject > create_widget_or_window(Type type, vtkGenericOpenGLRenderWindow *renWin)
Type select_widget(int argc, char *argv[])
void set_default_format(Type type)
void set_render_window(std::shared_ptr< QObject > widgetOrWindow, vtkRenderWindow *renWin)