pick
#
|
Picking Manager helps with picking 3D objects. |
|
Selection Manager helps with picking many objects simultaneously. |
PickingManager
#
- class fury.pick.PickingManager(*, vertices=True, faces=True, actors=True, world_coords=True)[source]#
Bases:
object
Picking Manager helps with picking 3D objects.
- __init__(*, vertices=True, faces=True, actors=True, world_coords=True)[source]#
Initialize Picking Manager.
- event_position(iren)[source]#
Return event display position from interactor.
- Parameters:
iren (interactor) – The interactor object can be retrieved for example using providing ShowManager’s iren attribute.
SelectionManager
#
- class fury.pick.SelectionManager(*, select='faces')[source]#
Bases:
object
Selection Manager helps with picking many objects simultaneously.
- __init__(*, select='faces')[source]#
Initialize Selection Manager.
- Parameters:
select ('faces') – Options are ‘faces’, ‘vertices’ or ‘actors’. Default ‘faces’.
- event_position(iren)[source]#
Return event display position from interactor.
- Parameters:
iren (interactor) – The interactor object can be retrieved for example using ShowManager’s iren attribute.
- selectable_off(actors)[source]#
Choose which actors cannot be selected.
- Parameters:
actors (actor or sequence of actors) –