VTK  9.4.20241227
Namespaces | Enumerations | Functions
TestQtCommon.h File Reference
#include "QVTKOpenGLNativeWidget.h"
#include "QVTKOpenGLStereoWidget.h"
#include "QVTKOpenGLWindow.h"
#include "QVTKRenderWidget.h"
#include "vtkGenericOpenGLRenderWindow.h"
#include "vtkLogger.h"
#include <QApplication>
#include <QEventLoop>
#include <QScopedPointer>
#include <QSurfaceFormat>
#include <QTimer>
#include <memory>
Include dependency graph for TestQtCommon.h:

Go to the source code of this file.

Namespaces

namespace  detail
 

Enumerations

enum class  detail::Type {
  detail::USE_QVTKRENDERWIDGET = 0 , detail::USE_QVTKOPENGLNATIVEWIDGET = 1 , detail::USE_QVTKOPENGLWINDOW = 2 , detail::USE_QVTKOPENGLSTEREOWIDGET = 3 ,
  detail::USE_QVTKOPENGLWIDGET = 4
}
 

Functions

Type detail::select_widget (int argc, char *argv[])
 
void detail::set_default_format (Type type)
 
std::shared_ptr< QObject > detail::create_widget_or_window (Type type, vtkGenericOpenGLRenderWindow *renWin)
 
std::shared_ptr< QWidget > detail::create_widget (Type type, vtkGenericOpenGLRenderWindow *renWin, QWidget *parent)
 
vtkRenderWindowdetail::get_render_window (std::shared_ptr< QObject > widgetOrWindow)
 
void detail::set_render_window (std::shared_ptr< QObject > widgetOrWindow, vtkRenderWindow *renWin)
 
void detail::process_events_and_wait (int msec)
 
void detail::show (std::shared_ptr< QObject > widgetOrWindow, const QSize &size)
 
QImage detail::grab_framebuffer (std::shared_ptr< QObject > widgetOrWindow)