15 #ifndef BORNAGAIN_GUI_COREGUI_MODELS_DETECTORITEMS_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_DETECTORITEMS_H
34 std::unique_ptr<IDetector2D> createDetector()
const;
54 void createMaskContainer();
59 void register_resolution_function();
60 void update_resolution_function_tooltips();
63 std::unique_ptr<IResolutionFunction2D> createResolutionFunction()
const;
Defines class SessionItem.
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
static const QString P_ANALYZER_EFFICIENCY
virtual std::unique_ptr< IDetector2D > createDomainDetector() const =0
static const QString P_ANALYZER_DIRECTION
virtual double axesToDomainUnitsFactor() const
Scales the values provided by axes (to perform deg->rad conversion on the way to domain).
static const QString P_RESOLUTION_FUNCTION
static const QString P_ANALYZER_TOTAL_TRANSMISSION
static const QString T_MASKS
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
Abstract 2D detector interface.
Interface providing two-dimensional resolution function.
Container holding various masks as children.