VTK  9.0.20201128
Classes | Enumerations | Functions
detail Namespace Reference

Classes

struct  has_NaN
 
struct  has_NaN< T, false >
 
struct  has_NaN< T, true >
 

Enumerations

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

Functions

template<typename T >
bool isnan (T x)
 
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)
 

Enumeration Type Documentation

◆ Type

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

Definition at line 18 of file TestQtCommon.h.

Function Documentation

◆ isnan()

template<typename T >
bool detail::isnan ( x)

Definition at line 49 of file vtkGenericDataArrayLookupHelper.h.

◆ 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)