pick

PickingManager([vertices, faces, actors, …])

PickingManager

class fury.pick.PickingManager(vertices=True, faces=True, actors=True, world_coords=True)[source]

Bases: object

__init__(vertices=True, faces=True, actors=True, world_coords=True)[source]

Picking Manager helps with picking 3D objects

Parameters
  • vertices (bool) – If True allows to pick vertex indices.

  • faces (bool) – If True allows to pick face indices.

  • actors (bool) – If True allows to pick actor indices.

  • world_coords (bool) – If True allows to pick xyz position in world coordinates.

event_position(iren)[source]

Returns event display position from interactor

Parameters

iren (interactor) – The interactor object can be retrieved for example using providing ShowManager’s iren attribute.

pick(disp_xy, sc)[source]

Pick on display coordinates

Parameters
  • disp_xyz (tuple) – Display coordinates x, y.

  • sc (Scene) –