MCPcopy Create free account
hub / github.com/Kitware/VTK / Start

Method Start

Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx:1033–1044  ·  view source on GitHub ↗

Begin the rendering process.

Source from the content-addressed store, hash-verified

1031
1032// Begin the rendering process.
1033void vtkXOpenGLRenderWindow::Start()
1034{
1035 this->Initialize();
1036
1037 // When mixing on-screen render windows with offscreen render windows,
1038 // the active context state can easily get messed up. Ensuring that before we
1039 // start rendering we force making the context current is a reasonable
1040 // workaround for now.
1041 this->SetForceMakeCurrent();
1042
1043 this->Superclass::Start();
1044}
1045
1046// Specify the size of the rendering window.
1047void vtkXOpenGLRenderWindow::SetSize(int width, int height)

Callers

nothing calls this directly

Calls 2

InitializeMethod · 0.95
SetForceMakeCurrentMethod · 0.95

Tested by

no test coverage detected