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

Method HardCopy

Wrapping/Java/vtk/vtkPanel.java:422–439  ·  view source on GitHub ↗
(String filename, int mag)

Source from the content-addressed store, hash-verified

420 }
421
422 public void HardCopy(String filename, int mag)
423 {
424
425 Lock();
426
427 vtkWindowToImageFilter w2if = new vtkWindowToImageFilter();
428 w2if.SetInput(rw);
429
430 w2if.SetScale(mag);
431 w2if.Update();
432
433 vtkTIFFWriter writer = new vtkTIFFWriter();
434 writer.SetInputConnection(w2if.GetOutputPort());
435 writer.SetFileName(filename);
436 writer.Write();
437
438 UnLock();
439 }
440
441 public void pickActor(int x, int y)
442 {

Callers

nothing calls this directly

Calls 9

LockMethod · 0.95
SetInputMethod · 0.95
UnLockMethod · 0.95
SetScaleMethod · 0.45
UpdateMethod · 0.45
SetInputConnectionMethod · 0.45
GetOutputPortMethod · 0.45
SetFileNameMethod · 0.45
WriteMethod · 0.45

Tested by

no test coverage detected