mosaic.widgets.ScaleBarWidget#
- class ScaleBarWidget(renderer, interactor)[source]#
Bases:
objectVTK Scale Bar widget for adding distance indicators to the vtk viewer.
Methods
__init__(renderer, interactor)hide()set_label_format(format_string)Set the format string for the scale labels.
set_units(units)Set the units for the scale bar.
show()