diff --git a/GUI/Model/Beam/SourceItems.h b/GUI/Model/Beam/SourceItems.h index e44c0399ddc95a8e5946ecb8e3e5c20eace6c1e2..636f32e18fec6dc2e7fab139ca4eeb0c5204e9b9 100644 --- a/GUI/Model/Beam/SourceItems.h +++ b/GUI/Model/Beam/SourceItems.h @@ -37,21 +37,18 @@ public: const DoubleProperty& intensity() const { return m_intensity; } void setIntensity(double v) { m_intensity.setDVal(v); } - void setWavelength(double value); BeamDistributionItem* wavelengthItem() const; + void setWavelength(double value); - void setAzimuthalAngle(double value); BeamDistributionItem* azimuthalAngleItem() const; - - bool expandBeamParameters = true; + void setAzimuthalAngle(double value); PolyItem<FootprintCatalog>& footprintSelection() { return m_footprint; } - + void setFootprint(const IFootprint* footprint); void setGaussianFootprint(double value); void setSquareFootprint(double value); - void setFootprint(const IFootprint* footprint); - + bool expandBeamParameters = true; bool expandFootprint = true; void writeTo(QXmlStreamWriter* w) const; @@ -60,11 +57,9 @@ public: protected: SourceItem(); + DoubleProperty m_intensity; std::unique_ptr<BeamDistributionItem> m_wavelength_item; std::unique_ptr<BeamDistributionItem> m_azimuthal_angle_item; - - DoubleProperty m_intensity; - PolyItem<FootprintCatalog> m_footprint; };