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

Method pickActor

Wrapping/Java/vtk/vtkPanel.java:441–452  ·  view source on GitHub ↗
(int x, int y)

Source from the content-addressed store, hash-verified

439 }
440
441 public void pickActor(int x, int y)
442 {
443
444 vtkPropPicker picker = new vtkPropPicker();
445
446 Lock();
447 picker.PickProp(x, rw.GetSize()[1] - y, ren);
448 UnLock();
449
450 if (picker.GetActor() != null)
451 System.out.println(picker.GetActor().GetClassName());
452 }
453
454 public void keyReleased(KeyEvent e) {}
455}

Callers 1

keyPressedMethod · 0.95

Calls 6

LockMethod · 0.95
PickPropMethod · 0.95
UnLockMethod · 0.95
GetActorMethod · 0.80
GetSizeMethod · 0.45
GetClassNameMethod · 0.45

Tested by

no test coverage detected