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