mantidimaging.gui.widgets.line_profile_plot.view module#

class mantidimaging.gui.widgets.line_profile_plot.view.ImageViewLineROI(image_view: MIMiniImageView | MIImageView, reset_menu_name: str | None = None)[source]#

Bases: LineSegmentROI

checkPointMove(_handle, pos: QPoint, _modifiers) → bool[source]#

When handles move, they must ask the ROI if the move is acceptable. By default, this always returns True. Subclasses may wish override.

cleanup()[source]#
get_image_region() → tuple[np.ndarray, np.ndarray] | None[source]#
reset() → None[source]#
reset_is_needed() → bool[source]#
class mantidimaging.gui.widgets.line_profile_plot.view.LineProfilePlot(image_view: MIMiniImageView | MIImageView)[source]#

Bases: GraphicsLayout

cleanup()[source]#
clear_plot() → None[source]#
reset() → None[source]#
update(self, rect: QRectF = QRectF())[source]#
update(self, ax: float, ay: float, width: float, height: float) → None