EpicsRoiFull

Module for EpicsRoiFull

../../../_images/epics_roi_full.png
class pcdswidgets.imaging.common.epics_roi_full.EpicsRoiFull(*args, **kwargs)[source]

Interactive ROI overlay widget for EPICS area-detector cameras.

Provides draw, center-select, move/resize, and color/thickness controls for a rectangular ROI overlaid on a PyDMImageView.

ROI geometry is synchronised with EPICS PVs via PyDMSpinbox channels.

get_style_state() → dict[source]

Return this ROI’s color/thickness/visibility, for persistence.

get_view_saver_properties() → dict[source]

Resolved ViewSaver getter/setter pairs for this widget’s saved state.

getter returns a QSettings-storable value setter accepts and applies raw stored value

Connect this ROI widget to a parent’s PyDMImageView.

Called by the parent widget at adoption time. Creates the ROI overlay item, attaches it to the ViewBox.

property roi_spinboxes

(x, y, width_x, width_y).

Type:

Coordinate control spinboxes in geometry order

set_style_state(state: dict) → None[source]

Apply a previously-saved style_state.