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

Method UpdateSizeNoXResize

Rendering/UI/vtkXRenderWindowInteractor.cxx:557–567  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

555
556//------------------------------------------------------------------------------
557void vtkXRenderWindowInteractor::UpdateSizeNoXResize(int x, int y)
558{
559 // if the size changed send this on to the RenderWindow
560 if ((x != this->Size[0]) || (y != this->Size[1]))
561 {
562 this->Size[0] = x;
563 this->Size[1] = y;
564 // change the ivars but don't resize the X window
565 this->RenderWindow->vtkRenderWindow::SetSize(x, y);
566 }
567}
568
569//------------------------------------------------------------------------------
570void vtkXRenderWindowInteractor::FireTimers()

Callers 1

DispatchEventMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected