CustusX  2021.04.21-dev+develop.337f9
An IGT application
cx::RenderWindowFactory Class Reference

Use to create all vtkRenderWindows, and store a single shared render window. More...

#include <cxRenderWindowFactory.h>

Inheritance diagram for cx::RenderWindowFactory:

Public Member Functions

 RenderWindowFactory ()
vtkRenderWindowPtr getRenderWindow (QString uid, bool offScreenRendering=false)
vtkRenderWindowPtr getSharedRenderWindow () const
SharedOpenGLContextPtr getSharedOpenGLContext () const
bool renderWindowExists (QString uid)


void SharedContextCreatedCallback::Execute (vtkObject *view, unsigned long eventId, void *cbo)

Detailed Description

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.

Ole Vegard Solberg, SINTEF

Definition at line 38 of file cxRenderWindowFactory.h.

Constructor & Destructor Documentation

cx::RenderWindowFactory::RenderWindowFactory ( )

Definition at line 26 of file cxRenderWindowFactory.cpp.

Member Function Documentation

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.

Friends And Related Function Documentation

void SharedContextCreatedCallback::Execute ( vtkObject *  view,
unsigned long  eventId,
void *  cbo 

The documentation for this class was generated from the following files: