tomwer.gui.reconstruction.saaxis.sliceselector.SliceSelector#
- class tomwer.gui.reconstruction.saaxis.sliceselector.SliceSelector(parent=None, insert=True, invert_y_axis=False)#
Allow definition of n slices with a volume slice selector and spin boxes
- Parameters:
insert (
bool
) – if True add spin boxes at the beginning of the layout otherwise append theminvert_y_axis (
bool
) – will be provided to silx plot
- addSlice(value, name, color)#
- clearSlices()#
- getSlicesRange()#
- Return type:
tuple
- getSlicesValue()#
- Return type:
dict
- setSliceValue(name, value)#
- setSlicesRange(min_index, max_index)#
- sigSlicesChanged#
signal emitted when slices value change