segmentation
- class trame_slicer.app.logic.segmentation.BaseEffectLogic(server: Server, slicer_app: SlicerApp, state_type: type[T], effect_type: type[U])
Bases:
BaseSegmentationLogic[T],Generic[T,U],ABC- property effect: U
- set_active()
- class trame_slicer.app.logic.segmentation.BaseSegmentationLogic(server: Server, slicer_app: SlicerApp, state_type: type[T] | None)
Bases:
BaseLogic[T],Generic[T],ABC- property active_effect
- property segmentation_editor
- abstractmethod set_ui(ui: SegmentEditorUI)
- class trame_slicer.app.logic.segmentation.BrushEffectLogic(server: Server, slicer_app: SlicerApp, state_type: type[T], effect_type: type[U])
Bases:
BaseEffectLogic[TBrush,U],Generic[TBrush,U]- set_ui(ui: SegmentEditorUI)
- class trame_slicer.app.logic.segmentation.DrawEffectLogic(server: Server, slicer_app: SlicerApp)
Bases:
BaseEffectLogic[DrawEffectState,U],Generic[U]- property effect: SegmentationEffectDraw
- set_ui(ui: SegmentEditorUI)
- class trame_slicer.app.logic.segmentation.IslandsEffectLogic(server: Server, slicer_app: SlicerApp)
Bases:
BaseEffectLogic[IslandsState,SegmentationEffectIslands]- set_effect_ui(islands_ui: IslandsEffectUI) None
- set_ui(ui: SegmentEditorUI) None
- class trame_slicer.app.logic.segmentation.LogicalOperatorsEffectLogic(server: Server, slicer_app: SlicerApp)
Bases:
BaseEffectLogic[LogicalOperatorsState,SegmentationEffectLogicalOperators]- set_effect_ui(logical_operators_ui: LogicalOperatorsEffectUI)
- set_ui(ui: SegmentEditorUI)
- class trame_slicer.app.logic.segmentation.PaintEraseEffectLogic(server: Server, slicer_app: SlicerApp, effect_type: type[U])
Bases:
BrushEffectLogic[PaintEffectState,U]
- class trame_slicer.app.logic.segmentation.ScissorsEffectLogic(server: Server, slicer_app: SlicerApp)
Bases:
BaseEffectLogic[ScissorsEffectState,U],Generic[U]- property effect: SegmentationEffectScissors
- set_ui(ui: SegmentEditorUI)
- class trame_slicer.app.logic.segmentation.SegmentEditLogic(server: Server, slicer_app: SlicerApp)
Bases:
BaseSegmentationLogic[SegmentEditState]- set_ui(ui: SegmentEditUI)
- show_color_dialog()
- class trame_slicer.app.logic.segmentation.SegmentEditorLogic(server: Server, slicer_app: SlicerApp)
Bases:
BaseSegmentationLogic[SegmentEditorState]- set_ui(ui: SegmentEditorUI)
- class trame_slicer.app.logic.segmentation.SegmentMaskSelectLogic(state: TypedState[DynamicSelectState], segmentation_editor: SegmentationEditor)
Bases:
AbstractDynamicSelectLogic[SegmentMaskModeSelectItem]
- class trame_slicer.app.logic.segmentation.SmoothingEffectLogic(server: Server, slicer_app: SlicerApp)
Bases:
BrushEffectLogic[SmoothingState,SegmentationEffectSmoothing]- set_effect_ui(smoothing_ui: SmoothingEffectUI)
- set_smoothing_mode(mode: SmoothingEffectMode)
- set_ui(ui: SegmentEditorUI)
- class trame_slicer.app.logic.segmentation.ThresholdEffectLogic(server: Server, slicer_app: SlicerApp)
Bases:
BaseEffectLogic[ThresholdState,SegmentationEffectThreshold]- set_effect_ui(threshold_ui: ThresholdEffectUI)
- set_ui(ui: SegmentEditorUI)
- class trame_slicer.app.logic.segmentation.VolumeIntensityRangeMaskEffectLogic(server: Server, slicer_app: SlicerApp)
Bases:
BaseEffectLogic[VolumeIntensityRangeMaskState,SegmentationEffectVolumeIntensityMask]- set_ui(ui: SegmentEditorUI)
trame_slicer.app.logic.segmentation.base_segmentation_logic module
trame_slicer.app.logic.segmentation.brush_effect_logic module
- class trame_slicer.app.logic.segmentation.brush_effect_logic.BrushEffectLogic(server: Server, slicer_app: SlicerApp, state_type: type[T], effect_type: type[U])
Bases:
BaseEffectLogic[TBrush,U],Generic[TBrush,U]- set_ui(ui: SegmentEditorUI)
trame_slicer.app.logic.segmentation.draw_effect_logic module
- class trame_slicer.app.logic.segmentation.draw_effect_logic.DrawEffectLogic(server: Server, slicer_app: SlicerApp)
Bases:
BaseEffectLogic[DrawEffectState,U],Generic[U]- property effect: SegmentationEffectDraw
- set_ui(ui: SegmentEditorUI)
trame_slicer.app.logic.segmentation.islands_effect_logic module
- class trame_slicer.app.logic.segmentation.islands_effect_logic.IslandsEffectLogic(server: Server, slicer_app: SlicerApp)
Bases:
BaseEffectLogic[IslandsState,SegmentationEffectIslands]- set_ui(ui: SegmentEditorUI) None
- set_effect_ui(islands_ui: IslandsEffectUI) None
trame_slicer.app.logic.segmentation.logical_operators_effect_logic module
- class trame_slicer.app.logic.segmentation.logical_operators_effect_logic.LogicalOperatorsEffectLogic(server: Server, slicer_app: SlicerApp)
Bases:
BaseEffectLogic[LogicalOperatorsState,SegmentationEffectLogicalOperators]- set_ui(ui: SegmentEditorUI)
- set_effect_ui(logical_operators_ui: LogicalOperatorsEffectUI)
trame_slicer.app.logic.segmentation.paint_erase_effect_logic module
- class trame_slicer.app.logic.segmentation.paint_erase_effect_logic.PaintEraseEffectLogic(server: Server, slicer_app: SlicerApp, effect_type: type[U])
Bases:
BrushEffectLogic[PaintEffectState,U]
- class trame_slicer.app.logic.segmentation.paint_erase_effect_logic.PaintEffectLogic(server: Server, slicer_app: SlicerApp)
trame_slicer.app.logic.segmentation.scissors_effect_logic module
- class trame_slicer.app.logic.segmentation.scissors_effect_logic.ScissorsEffectLogic(server: Server, slicer_app: SlicerApp)
Bases:
BaseEffectLogic[ScissorsEffectState,U],Generic[U]- property effect: SegmentationEffectScissors
- set_ui(ui: SegmentEditorUI)
trame_slicer.app.logic.segmentation.segment_edit_logic module
- class trame_slicer.app.logic.segmentation.segment_edit_logic.SegmentEditLogic(server: Server, slicer_app: SlicerApp)
Bases:
BaseSegmentationLogic[SegmentEditState]- set_ui(ui: SegmentEditUI)
- show_color_dialog()
trame_slicer.app.logic.segmentation.segment_editor_logic module
- class trame_slicer.app.logic.segmentation.segment_editor_logic.SegmentEditorLogic(server: Server, slicer_app: SlicerApp)
Bases:
BaseSegmentationLogic[SegmentEditorState]- set_ui(ui: SegmentEditorUI)
trame_slicer.app.logic.segmentation.segment_mask_select_logic module
- class trame_slicer.app.logic.segmentation.segment_mask_select_logic.SegmentMaskModeSelectItem(editable_area: 'SegmentationEditableAreaMode' = <SegmentationEditableAreaMode.EVERYWHERE: 0>, segment_id: 'str' = '', segment_name: 'str' = '')
Bases:
IDynamicSelectItem- editable_area: SegmentationEditableAreaMode = 0
- matches(other: SegmentMaskModeSelectItem) bool
- class trame_slicer.app.logic.segmentation.segment_mask_select_logic.SegmentMaskSelectLogic(state: TypedState[DynamicSelectState], segmentation_editor: SegmentationEditor)
Bases:
AbstractDynamicSelectLogic[SegmentMaskModeSelectItem]
trame_slicer.app.logic.segmentation.smoothing_effect_logic module
- class trame_slicer.app.logic.segmentation.smoothing_effect_logic.SmoothingEffectLogic(server: Server, slicer_app: SlicerApp)
Bases:
BrushEffectLogic[SmoothingState,SegmentationEffectSmoothing]- set_ui(ui: SegmentEditorUI)
- set_effect_ui(smoothing_ui: SmoothingEffectUI)
- set_smoothing_mode(mode: SmoothingEffectMode)
trame_slicer.app.logic.segmentation.threshold_effect_logic module
- class trame_slicer.app.logic.segmentation.threshold_effect_logic.ThresholdEffectLogic(server: Server, slicer_app: SlicerApp)
Bases:
BaseEffectLogic[ThresholdState,SegmentationEffectThreshold]- set_ui(ui: SegmentEditorUI)
- set_effect_ui(threshold_ui: ThresholdEffectUI)
trame_slicer.app.logic.segmentation.volume_intensity_range_mask_effect_logic module
- class trame_slicer.app.logic.segmentation.volume_intensity_range_mask_effect_logic.VolumeIntensityRangeMaskEffectLogic(server: Server, slicer_app: SlicerApp)
Bases:
BaseEffectLogic[VolumeIntensityRangeMaskState,SegmentationEffectVolumeIntensityMask]- set_ui(ui: SegmentEditorUI)