15 #ifndef BORNAGAIN_GUI_COREGUI_MODELS_RECTANGULARDETECTORITEM_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_RECTANGULARDETECTORITEM_H
38 void setDetectorAlignment(
const QString& alignment);
40 int xSize()
const override;
41 int ySize()
const override;
52 void update_properties_appearance();
Defines classes DetectorItems.
Defines basic vectors in Z^3, R^3, C^3.
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 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_X_AXIS
static const QString P_DIRECTION
static const QString P_Y_AXIS
static const QString P_V0
static const QString P_NORMAL
static const QString P_DBEAM_V0
static const QString P_DISTANCE
static const QString P_ALIGNMENT
static const QString P_U0
static const QString P_DBEAM_U0