DataContainerInteractor#

DataContainerInteractor mediates between a DataContainer and the GUI: it owns the VTK pickers, the tree-widget representation of the container, and the geometry operations exposed in the ribbon. MosaicData holds two of them, data for point clouds and models for fitted models.

Constructor#

DataContainerInteractor

Handle interaction between GUI and DataContainer

Interaction Modes#

The interactor switches between three pointer modes (viewing, drawing, and picking) and owns the area picker used for box selection.

Selection#

Data Management#

DataContainerInteractor.add(*args, **kwargs)

DataContainerInteractor.add_selection(...[, add])

Add new cloud from selected points.

DataContainerInteractor.merge()

DataContainerInteractor.remove()

DataContainerInteractor.update(container[, ...])

Replace the underlying container and rebuild the tree.

DataContainerInteractor.undo()

Geometry Operations#

These methods are dispatched to GeometryOperations via the operation registry. They apply the named operation to every selected geometry, optionally as a background task.

DataContainerInteractor.cluster(**kwargs)

Apply cluster operation using GeometryOperations.

DataContainerInteractor.skeletonize(**kwargs)

Apply skeletonize operation using GeometryOperations.

DataContainerInteractor.downsample(**kwargs)

Apply downsample operation using GeometryOperations.

DataContainerInteractor.remove_outliers(**kwargs)

Apply remove_outliers operation using GeometryOperations.

DataContainerInteractor.compute_normals(**kwargs)

Apply compute_normals operation using GeometryOperations.

DataContainerInteractor.duplicate(**kwargs)

Apply duplicate operation using GeometryOperations.

DataContainerInteractor.visibility(**kwargs)

Apply visibility operation using GeometryOperations.

Visualization#