15 #ifndef BORNAGAIN_GUI_MODEL_DEVICE_SPECULARBEAMINCLINATIONITEM_H
16 #define BORNAGAIN_GUI_MODEL_DEVICE_SPECULARBEAMINCLINATIONITEM_H
Defines class BeamDistributionItem.
Defines pointwise axis item.
The BeamDistributionItem handles wavelength, inclination and azimuthal parameter distribution for Bea...
Abstract base class for instrument-specific item classes.
BeamInclinationAxisItem contains inclination angle axis for specular/off-specular simulations and als...
const InstrumentItem * m_owningInstrument
double scaleFactor() const override
bool m_currentAxisIsUniformAxis
void initUniformAxis(const IAxis &axis)
bool uniformAlphaAxisSelected() const
True if uniform axis is selected.
void selectPointwiseAxis()
BasicAxisItem * alphaAxis() const
The currently selected axis.
bool pointwiseAlphaAxisDefined() const
True if a pointwise axis was defined.
std::unique_ptr< BasicAxisItem > m_uniformAlphaAxis
bool pointwiseAlphaAxisSelected() const
True if pointwise axis is selected.
SpecularBeamInclinationItem(const InstrumentItem *owningInstrument)
void serialize(Streamer &s) override
std::unique_ptr< PointwiseAxisItem > m_pointwiseAlphaAxis
void initPointwiseAxis(const IAxis &axis, QString units)
Supports serialization to or deserialization from QXmlStream.