Skip to content
Snippets Groups Projects
Commit eee03cf0 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

class SourceItems sort public members

parent 22552d36
No related branches found
No related tags found
1 merge request!2695minor, while studying footprint and roughness items
......@@ -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;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment