BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 85 of file ProfileItems.h.
Public Member Functions | |
virtual | ~Profile2DItem ()=default |
virtual std::unique_ptr< IProfile2D > | createProfile () const =0 |
DoubleDescriptor | gamma () const |
DoubleDescriptor | omegaX () const |
DoubleDescriptor | omegaY () const |
virtual void | serialize (Streamer &s) |
void | setGamma (double gamma) |
void | setOmegaX (double omega_x) |
void | setOmegaY (double omega_y) |
virtual DoubleDescriptors | valueDescriptors () const |
Protected Member Functions | |
Profile2DItem () | |
Protected Attributes | |
DoubleProperty | m_gamma |
DoubleProperty | m_omegaX |
DoubleProperty | m_omegaY |
|
virtualdefault |
|
protected |
Definition at line 107 of file ProfileItems.cpp.
References degree, DoubleProperty::init(), m_gamma, m_omegaX, m_omegaY, and nanometer.
|
pure virtual |
Implemented in Profile2DVoigtItem, Profile2DConeItem, Profile2DGateItem, Profile2DGaussItem, and Profile2DCauchyItem.
Referenced by Interference2DLatticeItem::createInterference(), and Interference2DParaCrystalItem::createInterference().
DoubleDescriptor Profile2DItem::gamma | ( | ) | const |
Definition at line 147 of file ProfileItems.cpp.
References m_gamma.
Referenced by Profile2DCauchyItem::createProfile(), Profile2DGaussItem::createProfile(), Profile2DGateItem::createProfile(), Profile2DConeItem::createProfile(), Profile2DVoigtItem::createProfile(), setGamma(), valueDescriptors(), and Profile2DVoigtItem::valueDescriptors().
DoubleDescriptor Profile2DItem::omegaX | ( | ) | const |
Definition at line 127 of file ProfileItems.cpp.
References m_omegaX.
Referenced by Profile2DCauchyItem::createProfile(), Profile2DGaussItem::createProfile(), Profile2DGateItem::createProfile(), Profile2DConeItem::createProfile(), Profile2DVoigtItem::createProfile(), valueDescriptors(), and Profile2DVoigtItem::valueDescriptors().
DoubleDescriptor Profile2DItem::omegaY | ( | ) | const |
Definition at line 137 of file ProfileItems.cpp.
References m_omegaY.
Referenced by Profile2DCauchyItem::createProfile(), Profile2DGaussItem::createProfile(), Profile2DGateItem::createProfile(), Profile2DConeItem::createProfile(), Profile2DVoigtItem::createProfile(), valueDescriptors(), and Profile2DVoigtItem::valueDescriptors().
|
virtual |
Reimplemented in Profile2DVoigtItem.
Definition at line 119 of file ProfileItems.cpp.
References Streamer::assertVersion(), m_gamma, m_omegaX, m_omegaY, and Serialize::rwProperty().
void Profile2DItem::setGamma | ( | double | gamma | ) |
Definition at line 152 of file ProfileItems.cpp.
References gamma(), m_gamma, and DoubleProperty::set().
void Profile2DItem::setOmegaX | ( | double | omega_x | ) |
Definition at line 132 of file ProfileItems.cpp.
References m_omegaX, and DoubleProperty::set().
void Profile2DItem::setOmegaY | ( | double | omega_y | ) |
Definition at line 142 of file ProfileItems.cpp.
References m_omegaY, and DoubleProperty::set().
|
virtual |
Reimplemented in Profile2DVoigtItem.
Definition at line 157 of file ProfileItems.cpp.
References gamma(), omegaX(), and omegaY().
Referenced by LayerEditorUtils::doubleDescriptorsOfItem().
|
protected |
Definition at line 106 of file ProfileItems.h.
Referenced by Profile2DItem(), gamma(), serialize(), Profile2DVoigtItem::serialize(), and setGamma().
|
protected |
Definition at line 104 of file ProfileItems.h.
Referenced by Profile2DItem(), omegaX(), serialize(), Profile2DVoigtItem::serialize(), and setOmegaX().
|
protected |
Definition at line 105 of file ProfileItems.h.
Referenced by Profile2DItem(), omegaY(), serialize(), Profile2DVoigtItem::serialize(), and setOmegaY().