15 #ifndef BORNAGAIN_GUI_VIEW_MASK_MASKRESULTSPRESENTER_H
16 #define BORNAGAIN_GUI_VIEW_MASK_MASKRESULTSPRESENTER_H
19 #include <QModelIndex>
39 void updatePresenter(MaskEditorFlags::PresentationType presentationType);
Defines class MaskEditorFlags.
Updates bin values inside IntensityData to display current mask state. Returns IntensityData to origi...
QModelIndex m_maskContainerIndex
std::unique_ptr< Datafield > m_dataBackup
void setMaskContext(SessionModel *maskModel, const QModelIndex &maskContainerIndex, IntensityDataItem *intensityItem)
void updatePresenter(MaskEditorFlags::PresentationType presentationType)
void setShowMaskMode()
Update IntensityDataItem in SessionModel to represent masked areas. Corresponding bins of Datafield w...
Datafield * createMaskPresentation() const
Constructs Datafield which contains original intensity data except masked areas, and areas outside of...
IntensityDataItem * m_intensityDataItem
MaskResultsPresenter(QWidget *parent=nullptr)
SessionModel * m_maskModel
bool m_interpolation_flag_backup
void setOriginalMode()
Restores original state of IntensityDataItem.
Base class for a GUI data collection. A collection is e.g. all real data (RealDataModel)....