15 #ifndef BORNAGAIN_CORE_DETECTOR_SIMULATIONAREA_H
16 #define BORNAGAIN_CORE_DETECTOR_SIMULATIONAREA_H
37 virtual bool isMasked(
size_t index)
const;
39 size_t totalSize()
const;
52 inline size_t SimulationArea::totalSize()
const
Defines class SimulationAreaIterator.
Abstract detector interface.
An iterator for SimulationArea.
Holds iteration logic over active detector channels in the presence of masked areas and RegionOfInter...
virtual bool isMasked(size_t index) const
returns true if given iterator index correspond to masked detector channel
size_t detectorIndex(size_t index) const
Return detector index from iterator index.
size_t roiIndex(size_t index) const
Return index in ROI map from iterator index.
Holds iteration logic over active detector channels in the presence of ROI.
virtual bool isMasked(size_t) const
returns true if given iterator index correspond to masked detector channel