mosaic.container.DataContainer.add_selection#

DataContainer.add_selection(selected_point_ids)[source]#

Add new cloud from selected points.

Parameters:
selected_point_idsdict

Mapping of vtkActor to selected point IDs.

Returns:
int

Index of new cloud, -1 if creation failed.