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

Method SetSize

Rendering/OpenGL2/vtkOSOpenGLRenderWindow.cxx:418–426  ·  view source on GitHub ↗

Specify the size of the rendering window.

Source from the content-addressed store, hash-verified

416
417// Specify the size of the rendering window.
418void vtkOSOpenGLRenderWindow::SetSize(int width, int height)
419{
420 if ((this->Size[0] != width) || (this->Size[1] != height))
421 {
422 this->Superclass::SetSize(width, height);
423 this->ResizeOffScreenWindow(width, height);
424 this->Modified();
425 }
426}
427
428void vtkOSOpenGLRenderWindow::PrintSelf(ostream& os, vtkIndent indent)
429{

Callers

nothing calls this directly

Calls 2

ResizeOffScreenWindowMethod · 0.95
ModifiedMethod · 0.45

Tested by

no test coverage detected