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, 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.

get_image_region() tuple[None, None] | tuple[np.ndarray, Any][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

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