Widgets#

The widgets module provides specialized GUI components for 3D visualization, data interaction, and user interface elements within the Mosaic application.

Core Interface Components#

3D Visualization Widgets#

AxesWidget(renderer, interactor)

Widget for displaying coordinate axes in the viewport.

BoundingBoxManager(renderer, interactor, cdata)

Manager for showing bounding boxes

ScaleBarWidget(renderer, interactor)

VTK Scale Bar widget for adding distance indicators to the vtk viewer.

LegendWidget(renderer, interactor)

Widget for visualization of scalar mappings.

Volume and Time-series#

class VolumeViewer(vtk_widget, legend=None, parent=None)[source]#

Bases: QWidget

TrajectoryPlayer(cdata[, parent])

Container for trajectory rows — no header, no group box.

Interaction Control#

ViewerModes(value)

CursorModeHandler(widget)

StatusIndicator(main_window)

Ribbon Utilities#

Use RibbonToolBar.add_section to group ribbon buttons.

create_button(text, icon_name[, parent, ...])