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.

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#

TrajectoryPlayer(cdata[, parent])

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

Interaction Control#

ViewerModes(value)

CursorModeHandler(widget)

StatusIndicator(main_window)

Ribbon Utilities#

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