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(...)

Remove the given geometries from the container and notify listeners.

DataContainerInteractor.update([tree_state])

Resync the tree widget after the session swapped containers.

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.

Visualization#