BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Contains set of methods to populate GUI models with content from domain.
Functions | |
InstrumentCollection * | itemizeInstruments (const ISimulation &simulation) |
SimulationOptionsItem * | itemizeOptions (const ISimulation &simulation) |
MultiLayerItem * | itemizeSample (const MultiLayer &sample, const QString &nodeName="") |
Builds GUI sample structure from a domain sample structure. More... | |
InstrumentCollection * GUI::Transform::FromCore::itemizeInstruments | ( | const ISimulation & | simulation | ) |
Definition at line 500 of file ItemizeSimulation.cpp.
References InstrumentCollection::emplace_back().
SimulationOptionsItem * GUI::Transform::FromCore::itemizeOptions | ( | const ISimulation & | simulation | ) |
Definition at line 520 of file ItemizeSimulation.cpp.
References SimulationOptionsItem::setUseMonteCarloIntegration().
MultiLayerItem * GUI::Transform::FromCore::itemizeSample | ( | const MultiLayer & | sample, |
const QString & | nodeName | ||
) |
Builds GUI sample structure from a domain sample structure.
Definition at line 634 of file ItemizeSample.cpp.
References LayerItem::addLayout(), ParticleLayoutItem::addParticle(), MaterialItems::materialItems(), ParticleLayoutItem::ownDensity(), DoubleDescriptor::set, LayerItem::setIsBottomLayer(), LayerItem::setIsTopLayer(), ItemWithMaterial::setMaterial(), and ParticleLayoutItem::weight().
Referenced by PyImportAssistant::itemizeSample(), and GUI::ExamplesFactory::itemizeSample().