Skip to content

Refactoring Del ROIs #1124

Description

@Teranis

Currently del ROIs just hide deleted cells. While this is nice while dragging them around, once dropped, it would be good to actually delete them from the lab to reduce instability when, for example, loading data in one's own analysis pipeline and switching mode Igor style. Deleted cells will be saved in a separate file so they can later be re-added.

The following functions will be/have been adapted/will be checked.

Make sure delROImoving, delROImovingFinished and delROIstartedMoving are properly connected

Keys are nice (UUID)

  • applyDelROI
  • gui_clickedDelRoi
  • gui_getHoveredSegmentsPolyLineRoi
  • gui_getHoveredHandlesPolyLineRoi
  • removeAlldelROIsCurrentFrame
  • removeDelROI
  • removeDelROIFromFutureFrames
  • updateDelROIinFutureFrames
  • addDelROI
  • addRoiToDelRoiInfo (also used for poly line)
  • addPointsPolyLineRoi
  • createDelPolyLineRoi
  • addDelPolyLineRoi_cb
  • createDelROI
  • delROIstartedMoving
  • delROImoving
  • delROImovingFinished
  • restoreAnnotDelROI
  • restoreDelROIimg1
  • getDelRoisIDs
  • getStoredDelRoiIDs
  • getDelROIlab
  • getDelRoiMask
  • initDelRoiLab
  • moveDelRoisToLeft
  • applyDelROIimg1
  • applyDelROIs
  • setDelRoiState
  • addExistingDelROIs

To-dos:

  • Remove current functionalities except for the visual representation of the ROIs
  • Add support for both screens?

Metadata

Metadata

Assignees

Labels

🎈 EnhancementEnhancement to an existing feature
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions