BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 127 of file InstrumentItems.h.
Public Member Functions | |
DepthProbeInstrumentItem () | |
virtual bool | alignedWith (const RealDataItem *item) const |
AXIS_PROPERTY (zAxis) | |
BackgroundItem * | backgroundItem () const |
SelectionDescriptor< BackgroundItem * > | backgroundSelection () const |
SpecularBeamItem * | beamItem () const override |
ICoordSystem * | createCoordSystem () const override |
InstrumentItem * | createCopy () const |
Creates an exact copy; also ID is the same! More... | |
DepthProbeSimulation * | createSimulation (const MultiLayer &sample) const |
QString | defaultName () const override |
The default user visible name when creating an instrument. More... | |
QString | description () const |
DOUBLE_PROPERTY (analyzerTotalTransmission, AnalyzerTotalTransmission) | |
QString | id () const |
virtual void | importMasks (const MaskContainerItem *) |
QString | instrumentName () const |
QString | instrumentType () const override |
The type as how to show it on the UI. Do not use for type checking or similar! More... | |
template<typename T > | |
bool | is () const |
void | serialize (Streamer &s) override |
template<typename T > | |
T * | setBackgroundType () |
void | setDescription (const QString &description) |
void | setId (const QString &id) |
void | setInstrumentName (const QString &instrumentName) |
void | setWithPolarizerAnalyzer (bool with) |
std::vector< int > | shape () const override |
void | updateToRealData (const RealDataItem *item) override |
VECTOR_PROPERTY (analyzerDirection, AnalyzerDirection) | |
VECTOR_PROPERTY (polarization, Polarization) | |
bool | withPolarizerAnalyzer () const |
Protected Member Functions | |
template<typename T > | |
T * | beam () const |
Protected Attributes | |
SelectionProperty< BackgroundItem * > | m_backgroundItem |
std::unique_ptr< BeamItem > | m_beamItem |
QString | m_description |
QString | m_id |
QString | m_name |
bool | m_withPolarizerAnalyzer |
DepthProbeInstrumentItem::DepthProbeInstrumentItem | ( | ) |
Definition at line 254 of file InstrumentItems.cpp.
References beamItem(), SpecularBeamItem::inclinationAxis(), InstrumentItem::m_beamItem, nanometer, and BasicAxisItem::setLowerBound().
|
virtualinherited |
Reimplemented in SpecularInstrumentItem.
Definition at line 129 of file InstrumentItems.cpp.
References RealDataItem::shape(), and InstrumentItem::shape().
Referenced by LinkInstrumentManager::onInstrumentChanged(), and SimulationView::validateSimulationSetup().
DepthProbeInstrumentItem::AXIS_PROPERTY | ( | zAxis | ) |
|
inherited |
Definition at line 119 of file InstrumentItems.cpp.
References SelectionProperty< T >::get(), and InstrumentItem::m_backgroundItem.
|
inherited |
Definition at line 124 of file InstrumentItems.cpp.
References InstrumentItem::m_backgroundItem.
Referenced by EnvironmentEditor::EnvironmentEditor(), and EnvironmentEditor::createBackgroundWidgets().
|
protectedinherited |
Definition at line 145 of file InstrumentItems.cpp.
References InstrumentItem::m_beamItem.
Referenced by SpecularInstrumentItem::createCoordSystem(), Instrument2DItem::createInstrument(), Instrument2DItem::createOffspecSimulation(), and Instrument2DItem::createScatteringSimulation().
|
overridevirtual |
Reimplemented from InstrumentItem.
Definition at line 277 of file InstrumentItems.cpp.
Referenced by DepthProbeInstrumentEditor::DepthProbeInstrumentEditor(), DepthProbeInstrumentItem(), and createSimulation().
|
overridevirtual |
Implements InstrumentItem.
Definition at line 323 of file InstrumentItems.cpp.
|
inherited |
Creates an exact copy; also ID is the same!
Definition at line 76 of file InstrumentItems.cpp.
References GUI::Util::copyContents(), InstrumentItemCatalog::create(), and InstrumentItemCatalog::type().
Referenced by JobItem::copyInstrumentIntoJob(), and InstrumentCollection::insertCopy().
DepthProbeSimulation * DepthProbeInstrumentItem::createSimulation | ( | const MultiLayer & | sample | ) | const |
Definition at line 302 of file InstrumentItems.cpp.
References beamItem(), BasicAxisItem::createAxis(), and SpecularBeamItem::inclinationAxis().
|
overridevirtual |
The default user visible name when creating an instrument.
Implements InstrumentItem.
Definition at line 292 of file InstrumentItems.cpp.
|
inherited |
Definition at line 104 of file InstrumentItems.cpp.
References InstrumentItem::m_description.
Referenced by InstrumentItem::setDescription().
|
inherited |
|
inherited |
Definition at line 84 of file InstrumentItems.cpp.
References InstrumentItem::m_id.
Referenced by RealDataItem::linkToInstrument(), LinkInstrumentManager::onInstrumentChanged(), and InstrumentItem::setId().
|
inlinevirtualinherited |
|
inherited |
Definition at line 99 of file InstrumentItems.cpp.
References InstrumentItem::m_name.
Referenced by InstrumentListModel::copyInstrument(), InstrumentListModel::data(), InstrumentLibraryEditor::execAdd(), InstrumentItem::setInstrumentName(), InstrumentsEditController::setInstrumentName(), and GUI::Model::JobFunctions::setupJobItemInstrument().
|
overridevirtual |
The type as how to show it on the UI. Do not use for type checking or similar!
Implements InstrumentItem.
Definition at line 297 of file InstrumentItems.cpp.
|
inlineinherited |
Definition at line 61 of file InstrumentItems.h.
Referenced by JobResultsPresenter::defaultActivePresentationsOfInstrument(), JobResultsPresenter::defaultPresentationOfInstrument(), JobResultsPresenter::fitPresentationOfInstrument(), GUI::Model::JobFunctions::initDataView(), InstrumentsTreeModel::instrumentType(), JobItem::isSpecularJob(), GUI::Model::JobFunctions::setupJobItemForFit(), and GUI::Model::JobFunctions::setupJobItemOutput().
|
overridevirtual |
Reimplemented from InstrumentItem.
Definition at line 270 of file InstrumentItems.cpp.
References Streamer::assertVersion().
|
inherited |
Definition at line 205 of file InstrumentItems.h.
References SelectionProperty< T >::get(), InstrumentItem::m_backgroundItem, and SelectionProperty< T >::set().
|
inherited |
Definition at line 109 of file InstrumentItems.cpp.
References InstrumentItem::description(), and InstrumentItem::m_description.
Referenced by InstrumentView::onInstrumentdescriptionEdited(), and InstrumentsTreeModel::setData().
|
inherited |
Definition at line 89 of file InstrumentItems.cpp.
References InstrumentItem::id(), and InstrumentItem::m_id.
Referenced by InstrumentCollection::insertCopy().
|
inherited |
Definition at line 94 of file InstrumentItems.cpp.
References InstrumentItem::instrumentName(), and InstrumentItem::m_name.
Referenced by InstrumentsEditController::addCopy(), InstrumentsTreeModel::setData(), InstrumentsEditController::setInstrumentName(), and GUI::Model::JobFunctions::setupJobItemInstrument().
|
inherited |
Definition at line 139 of file InstrumentItems.cpp.
References InstrumentItem::m_withPolarizerAnalyzer.
Referenced by PolarizationAnalysisEditor::PolarizationAnalysisEditor().
|
overridevirtual |
Implements InstrumentItem.
Definition at line 282 of file InstrumentItems.cpp.
|
overridevirtual |
Implements InstrumentItem.
Definition at line 287 of file InstrumentItems.cpp.
|
inherited |
|
inherited |
|
inherited |
Definition at line 134 of file InstrumentItems.cpp.
References InstrumentItem::m_withPolarizerAnalyzer.
Referenced by PolarizationAnalysisEditor::PolarizationAnalysisEditor(), and ParameterTreeBuilder::addPolarization().
|
protectedinherited |
Definition at line 106 of file InstrumentItems.h.
Referenced by InstrumentItem::InstrumentItem(), InstrumentItem::backgroundItem(), InstrumentItem::backgroundSelection(), InstrumentItem::serialize(), and InstrumentItem::setBackgroundType().
|
protectedinherited |
Definition at line 107 of file InstrumentItems.h.
Referenced by DepthProbeInstrumentItem(), Instrument2DItem::Instrument2DItem(), SpecularInstrumentItem::SpecularInstrumentItem(), InstrumentItem::beam(), InstrumentItem::beamItem(), and InstrumentItem::serialize().
|
protectedinherited |
Definition at line 104 of file InstrumentItems.h.
Referenced by InstrumentItem::description(), InstrumentItem::serialize(), and InstrumentItem::setDescription().
|
protectedinherited |
Definition at line 102 of file InstrumentItems.h.
Referenced by InstrumentItem::InstrumentItem(), InstrumentItem::id(), InstrumentItem::serialize(), and InstrumentItem::setId().
|
protectedinherited |
Definition at line 103 of file InstrumentItems.h.
Referenced by InstrumentItem::instrumentName(), InstrumentItem::serialize(), and InstrumentItem::setInstrumentName().
|
protectedinherited |
Definition at line 105 of file InstrumentItems.h.
Referenced by InstrumentItem::serialize(), InstrumentItem::setWithPolarizerAnalyzer(), and InstrumentItem::withPolarizerAnalyzer().