DataContainerInteractor.add_selection#
- DataContainerInteractor.add_selection(selected_point_ids, add=True)[source]#
Add new cloud from selected points.
- Parameters:
- selected_point_idsdict
Mapping of vtkActor to selected point IDs.
- addbool
Whether to add the Geometry defined by selected points.
- Returns:
- int
Index of new cloud, -1 if creation failed.