tomwer.gui.utils.buttons.TapeMeasureROI#

class tomwer.gui.utils.buttons.TapeMeasureROI(parent=None, pixel_size=None)#

ROI dedicated to tape measure

static cast_metric_to_best_unit(value)#
Return type:

Quantity

setEndPoints(startPoint, endPoint)#

Set this line location using the ending points

Parameters:
  • startPoint (numpy.ndarray) – Staring bounding point of the line

  • endPoint (numpy.ndarray) – Ending bounding point of the line

setPixelSize(pixel_size)#