ViewportInteractor#
ViewportInteractor manages VTK interaction and rendering for the
point-cloud and fitted-model panes. Access it through MosaicData.viewport.
- class ViewportInteractor(vtk_widget, panes)[source]#
Bases:
QObjectViewport-wide interaction state shared across DataContainerInteractor panes.
Interaction Modes and Selection#
Use ViewportInteractor.set_mode() with a
ViewerModes value to change how the pointer interacts
with the active pane. The current_target attribute identifies that pane.
|
Dispatch entry for interaction modes. |
Set the active interaction target and reset to viewing mode. |
|
Cycle to the next registered pane, leaving the viewport in viewing mode. |
|
|
Promote point-selection to cluster-selection on the active pane. |
Visualization#
Apply a coloring mode to every pane and render once. |
|
Toggle visibility for geometries not selected on each pane. |
|
|
Recompute interaction-LOD budgets across all panes. |
|
Synchronize VTK actors and pane tree widgets, then render. |