BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Public Types | |
using | iterator = SimulationAreaIterator |
Public Member Functions | |
SimulationRoiArea (const IDetector *detector) | |
virtual bool | isMasked (size_t) const |
SimulationAreaIterator | begin () |
SimulationAreaIterator | end () |
size_t | totalSize () const |
size_t | roiIndex (size_t index) const |
size_t | detectorIndex (size_t index) const |
Protected Attributes | |
const IDetector * | m_detector |
size_t | m_max_index |
Holds iteration logic over active detector channels in the presence of ROI.
On the contrary to SimulationArea class, iterates also over masked areas.
Definition at line 61 of file SimulationArea.h.
|
inherited |
Definition at line 29 of file SimulationArea.h.
|
explicit |
Definition at line 69 of file SimulationArea.cpp.
|
virtual |
returns true if given iterator index correspond to masked detector channel
Reimplemented from SimulationArea.
Definition at line 71 of file SimulationArea.cpp.
|
inherited |
Definition at line 38 of file SimulationArea.cpp.
Referenced by IDetector2D::active_indices(), and IDetector::iterate().
|
inherited |
Definition at line 43 of file SimulationArea.cpp.
References SimulationArea::totalSize().
Referenced by IDetector2D::active_indices(), and IDetector::iterate().
|
inlineinherited |
Definition at line 52 of file SimulationArea.h.
References SimulationArea::m_max_index.
Referenced by SimulationArea::end(), SimulationAreaIterator::nextIndex(), and SimulationAreaIterator::SimulationAreaIterator().
|
inherited |
Return index in ROI map from iterator index.
Definition at line 54 of file SimulationArea.cpp.
Referenced by SimulationAreaIterator::roiIndex().
|
inherited |
Return detector index from iterator index.
Definition at line 59 of file SimulationArea.cpp.
References RegionOfInterest::detectorIndex(), SimulationArea::m_detector, and IDetector::regionOfInterest().
Referenced by SimulationAreaIterator::detectorIndex(), and SimulationArea::isMasked().
|
protectedinherited |
Definition at line 48 of file SimulationArea.h.
Referenced by SimulationArea::detectorIndex(), SimulationArea::isMasked(), and SimulationArea::SimulationArea().
|
protectedinherited |
Definition at line 49 of file SimulationArea.h.
Referenced by SimulationArea::SimulationArea(), and SimulationArea::totalSize().