16 #error no need to expose this header to Swig
20 #ifndef BORNAGAIN_DEVICE_DETECTOR_SIMULATIONAREA_H
21 #define BORNAGAIN_DEVICE_DETECTOR_SIMULATIONAREA_H
41 virtual bool isMasked(
size_t index)
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.
virtual ~SimulationArea()
SimulationAreaIterator begin()
SimulationAreaIterator end()
SimulationArea(const IDetector *detector)
size_t roiIndex(size_t index) const
Return index in ROI map from iterator index.
const IDetector * m_detector
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
SimulationRoiArea(const IDetector *detector)