NorMIT-nav  22.09
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)
 

Friends

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.

Date
2016-11-21
Author
Ole Vegard Solberg, SINTEF

Definition at line 38 of file cxRenderWindowFactory.h.

Constructor & Destructor Documentation

◆ RenderWindowFactory()

cx::RenderWindowFactory::RenderWindowFactory ( )

Definition at line 26 of file cxRenderWindowFactory.cpp.

Member Function Documentation

◆ getRenderWindow()

vtkRenderWindowPtr cx::RenderWindowFactory::getRenderWindow ( QString  uid,
bool  offScreenRendering = false 
)

Definition at line 45 of file cxRenderWindowFactory.cpp.

◆ getSharedOpenGLContext()

SharedOpenGLContextPtr cx::RenderWindowFactory::getSharedOpenGLContext ( ) const

Definition at line 89 of file cxRenderWindowFactory.cpp.

◆ getSharedRenderWindow()

vtkRenderWindowPtr cx::RenderWindowFactory::getSharedRenderWindow ( ) const

Definition at line 61 of file cxRenderWindowFactory.cpp.

◆ renderWindowExists()

bool cx::RenderWindowFactory::renderWindowExists ( QString  uid)

Definition at line 56 of file cxRenderWindowFactory.cpp.

Friends And Related Function Documentation

◆ SharedContextCreatedCallback::Execute

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

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