BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 23 of file DistributionItemCatalog.h.
Classes | |
struct | UiInfo |
Public Types | |
using | CatalogedType = DistributionItem |
enum class | Type : uint8_t { None = 0 , Gate = 1 , Lorentz = 2 , Gaussian = 3 , LogNormal = 4 , Cosine = 5 , Trapezoid = 6 } |
Static Public Member Functions | |
static DistributionItem * | create (Type type) |
Creates the item of the given type. More... | |
static QVector< Type > | symmetricTypes () |
Types of symmetric distributions. More... | |
static Type | type (const DistributionItem *item) |
Returns the enum type of the given item. More... | |
static QVector< Type > | types () |
Available types of items. More... | |
static UiInfo | uiInfo (Type t) |
UiInfo on the given type. More... | |
Definition at line 25 of file DistributionItemCatalog.h.
|
strong |
Enumerator | |
---|---|
None | |
Gate | |
Lorentz | |
Gaussian | |
LogNormal | |
Cosine | |
Trapezoid |
Definition at line 28 of file DistributionItemCatalog.h.
|
static |
Creates the item of the given type.
Definition at line 19 of file DistributionItemCatalog.cpp.
References Cosine, Gate, Gaussian, LogNormal, Lorentz, None, Trapezoid, and type().
|
static |
Types of symmetric distributions.
Contains also type "None". This list is sorted as expected in the UI (e.g. in combo box)
Definition at line 46 of file DistributionItemCatalog.cpp.
References Cosine, Gaussian, Lorentz, and None.
Referenced by BeamWavelengthItem::BeamWavelengthItem(), and SpecularBeamInclinationItem::SpecularBeamInclinationItem().
|
static |
|
static |
Available types of items.
Contains also type "None". This list is sorted as expected in the UI (e.g. in combo box)
Definition at line 40 of file DistributionItemCatalog.cpp.
References Cosine, Gate, Gaussian, LogNormal, Lorentz, None, and Trapezoid.
Referenced by BeamAzimuthalAngleItem::BeamAzimuthalAngleItem(), BeamInclinationAngleItem::BeamInclinationAngleItem(), and BeamWavelengthItem::BeamWavelengthItem().
|
static |