pick
¶
|
|
|
|
All the operations on a read-only sequence. |
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
-
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.
-
SelectionManager
¶
-
class
fury.pick.
SelectionManager
(select='faces')[source]¶ Bases:
object
-
__init__
(select='faces')[source]¶ Selection Manager helps with picking many objects simultaneously
- Parameters
select ('faces') – Options are ‘faces’, ‘vertices’ or ‘actors’. Default ‘faces’.
-
event_position
(iren)[source]¶ Returns event display position from interactor
- Parameters
iren (interactor) – The interactor object can be retrieved for example using ShowManager’s iren attribute.
-
pick
(disp_xy, sc)[source] Pick on display coordinates returns a single object
-
select
(disp_xy, sc, area=0)[source] Select multiple objects using display coordinates
-
selectable_off
(actors)[source]¶ Choose which actors cannot be selected
- Parameters
actors (actor or sequence of actors) –
-
Sequence
¶
-
class
fury.pick.
Sequence
¶ Bases:
collections.abc.Reversible
,collections.abc.Collection
All the operations on a read-only sequence.
Concrete subclasses must override __new__ or __init__, __getitem__, and __len__.
-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
-
count
(value) → integer -- return number of occurrences of value¶
-
index
(value[, start[, stop]]) → integer -- return first index of value.¶ Raises ValueError if the value is not present.
Supporting start and stop arguments is optional, but recommended.
-