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

Method ZoomToSelection

Views/Infovis/vtkGraphLayoutView.cxx:495–500  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

493
494//------------------------------------------------------------------------------
495void vtkGraphLayoutView::ZoomToSelection()
496{
497 double bounds[6];
498 this->GetGraphRepresentation()->ComputeSelectedGraphBounds(bounds);
499 this->Renderer->ResetCamera(bounds);
500}
501
502//------------------------------------------------------------------------------
503void vtkGraphLayoutView::PrintSelf(ostream& os, vtkIndent indent)

Callers

nothing calls this directly

Calls 3

ResetCameraMethod · 0.45

Tested by

no test coverage detected