tomwer.gui.utils.buttons.TapeMeasureToolButton#
- class tomwer.gui.utils.buttons.TapeMeasureToolButton(parent=None, plot=None, pixel_size_mm=None)#
Button to active measurement between two point of the plot
- class TapeMeasureROI(parent=None, pixel_size_m=None)#
- 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_m)#
- setPixelSize(pixel_size_m)#
- setPlot(plot)#
Set the plot connected to the widget
- Parameters:
plot –
PlotWidget
instance on which to operate.