CustusX
2023.01.05-dev+develop.0da12
An IGT application
|
Use to create all vtkRenderWindows, and store a single shared render window. More...
#include <cxRenderWindowFactory.h>
Public Member Functions | |
RenderWindowFactory () | |
vtkRenderWindowPtr | getRenderWindow (QString uid, bool offScreenRendering=false) |
vtkRenderWindowPtr | getSharedRenderWindow () const |
SharedOpenGLContextPtr | getSharedOpenGLContext () const |
bool | renderWindowExists (QString uid) |
Friends | |
void | SharedContextCreatedCallback::Execute (vtkObject *view, unsigned long eventId, void *cbo) |
Use to create all vtkRenderWindows, and store a single shared render window.
Only used directly by ViewService. There can only be one instance of this class.
Definition at line 38 of file cxRenderWindowFactory.h.
cx::RenderWindowFactory::RenderWindowFactory | ( | ) |
Definition at line 26 of file cxRenderWindowFactory.cpp.
vtkRenderWindowPtr cx::RenderWindowFactory::getRenderWindow | ( | QString | uid, |
bool | offScreenRendering = false |
||
) |
Definition at line 45 of file cxRenderWindowFactory.cpp.
SharedOpenGLContextPtr cx::RenderWindowFactory::getSharedOpenGLContext | ( | ) | const |
Definition at line 89 of file cxRenderWindowFactory.cpp.
vtkRenderWindowPtr cx::RenderWindowFactory::getSharedRenderWindow | ( | ) | const |
Definition at line 61 of file cxRenderWindowFactory.cpp.
bool cx::RenderWindowFactory::renderWindowExists | ( | QString | uid | ) |
Definition at line 56 of file cxRenderWindowFactory.cpp.
|
friend |