15 #ifndef BORNAGAIN_GUI_COREGUI_MODELS_SPHERICALDETECTORITEM_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_SPHERICALDETECTORITEM_H
28 int xSize()
const override;
29 int ySize()
const override;
Defines classes DetectorItems.
virtual void setXSize(int nx)=0
sets the size of x-axis of the detector
virtual int xSize() const =0
returns the size of x-axis of the detector
virtual std::unique_ptr< IDetector2D > createDomainDetector() const =0
virtual double axesToDomainUnitsFactor() const
Scales the values provided by axes (to perform deg->rad conversion on the way to domain).
virtual int ySize() const =0
returns the size of y-axis of the detector
virtual void setYSize(int ny)=0
sets the size of y-axis of the detector
static const QString P_ALPHA_AXIS
static const QString P_PHI_AXIS