Improvement on graphical detector mask selection
This feature improves on the detector mask selection in SubframeExperiment:
- The graphical detector masks (detector widget) will appear as selected (dashed line) if the corresponding masks in the mask table (SubframeExperiment) are checked
- The mask entries int the table (SubframeExperiment) get selected (checkbox state) if the graphical masks areas (detector widget) get selected with selection tool
- BoxMasks and EllipseMask have now a boolean flag to store whether they have been selected or not
- Corresponding methods to this new mask selection feature are available through DataSet
- As a side effect: by moving the selection information directly to they masks themselves (instead of holding these information in SubframeExperiment) the change from/to datasets are now unproblematic since masks are saved within the different DataSets independently
- Color of Ellipse detector mask is changed from green to red to be consistent
- Previous way of selection detector masks has been removed (vector container in SubframeExperiment)
- fixed a bug with an uninitialized ptr variable in Subframe Experiment