VTK  9.4.20241123
Classes | Enumerations | Functions
detail Namespace Reference

Classes

struct  CellTree
 
struct  CellTreeBuilder
 
class  CollectValidCellSurfacePointsFunctor
 

Enumerations

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

Functions

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

Enumeration Type Documentation

◆ Type

enum class detail::Type
strong
Enumerator
USE_QVTKRENDERWIDGET 
USE_QVTKOPENGLNATIVEWIDGET 
USE_QVTKOPENGLWINDOW 
USE_QVTKOPENGLSTEREOWIDGET 
USE_QVTKOPENGLWIDGET 

Definition at line 20 of file TestQtCommon.h.

Function Documentation

◆ select_widget()

Type detail::select_widget ( int  argc,
char *  argv[] 
)

◆ set_default_format()

void detail::set_default_format ( Type  type)

◆ create_widget_or_window()

std::shared_ptr< QObject > detail::create_widget_or_window ( Type  type,
vtkGenericOpenGLRenderWindow renWin 
)

◆ create_widget()

std::shared_ptr< QWidget > detail::create_widget ( Type  type,
vtkGenericOpenGLRenderWindow renWin,
QWidget *  parent 
)

◆ get_render_window()

vtkRenderWindow * detail::get_render_window ( std::shared_ptr< QObject >  widgetOrWindow)

◆ set_render_window()

void detail::set_render_window ( std::shared_ptr< QObject >  widgetOrWindow,
vtkRenderWindow renWin 
)

◆ process_events_and_wait()

void detail::process_events_and_wait ( int  msec)

◆ show()

void detail::show ( std::shared_ptr< QObject >  widgetOrWindow,
const QSize &  size 
)

◆ grab_framebuffer()

QImage detail::grab_framebuffer ( std::shared_ptr< QObject >  widgetOrWindow)

◆ performTest()

int detail::performTest ( int  argc,
char *  argv[],
const char *  filename 
)