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

Method UpdateSize

Rendering/UI/vtkXRenderWindowInteractor.cxx:545–554  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

543
544//------------------------------------------------------------------------------
545void vtkXRenderWindowInteractor::UpdateSize(int x, int y)
546{
547 // if the size changed send this on to the RenderWindow
548 if ((x != this->Size[0]) || (y != this->Size[1]))
549 {
550 this->Size[0] = x;
551 this->Size[1] = y;
552 this->RenderWindow->SetSize(x, y);
553 }
554}
555
556//------------------------------------------------------------------------------
557void vtkXRenderWindowInteractor::UpdateSizeNoXResize(int x, int y)

Callers 9

resizeFunction · 0.45
SetRenderWindowMethod · 0.45
OnSizeMethod · 0.45
SetSizeMethod · 0.45
SetSizeMethod · 0.45
updateSizeFunction · 0.45
StartEventLoopMethod · 0.45
ProcessEventMethod · 0.45
OnSizeMethod · 0.45

Calls 1

SetSizeMethod · 0.45

Tested by

no test coverage detected