15 #ifndef BORNAGAIN_GUI_MODEL_DEVICE_SPHERICALDETECTORITEM_H
16 #define BORNAGAIN_GUI_MODEL_DEVICE_SPHERICALDETECTORITEM_H
27 int xSize()
const override;
28 int ySize()
const override;
Defines class AxisProperty.
Defines classes DetectorItems.
int xSize() const override
Returns the size of x-axis of the detector.
void setYSize(size_t ny) override
sets the size of y-axis of the detector
std::unique_ptr< IDetector > createDomainDetector() const override
int ySize() const override
Returns the size of y-axis of the detector.
void serialize(Streamer &s) override
void setXSize(size_t nx) override
sets the size of x-axis of the detector
double axesToCoreUnitsFactor() const override
Scales the values provided by axes (to perform deg->rad conversion on the way to domain).
Supports serialization to or deserialization from QXmlStream.