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

Method Initialize

Rendering/OpenGL2/vtkOSOpenGLRenderWindow.cxx:383–392  ·  view source on GitHub ↗

Initialize the rendering window.

Source from the content-addressed store, hash-verified

381
382// Initialize the rendering window.
383void vtkOSOpenGLRenderWindow::Initialize()
384{
385 if (!(this->Internal->OffScreenContextId))
386 {
387 // initialize offscreen window
388 int width = ((this->Size[0] > 0) ? this->Size[0] : 300);
389 int height = ((this->Size[1] > 0) ? this->Size[1] : 300);
390 this->CreateOffScreenWindow(width, height);
391 }
392}
393
394void vtkOSOpenGLRenderWindow::Finalize()
395{

Callers 1

WindowRemapMethod · 0.95

Calls 1

CreateOffScreenWindowMethod · 0.95

Tested by

no test coverage detected