BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
ItemizeSample.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/Model/FromCore/ItemizeSample.h
6 //! @brief Defines class GUISampleBuilder
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2021
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_GUI_MODEL_FROMCORE_ITEMIZESAMPLE_H
16 #define BORNAGAIN_GUI_MODEL_FROMCORE_ITEMIZESAMPLE_H
17 
18 #include <QString>
19 
20 class MultiLayer;
21 class MultiLayerItem;
22 
23 namespace GUI::Transform::FromCore {
24 
25 //! Builds GUI sample structure from a domain sample structure.
26 MultiLayerItem* itemizeSample(const MultiLayer& sample, const QString& nodeName = "");
27 
28 } // namespace GUI::Transform::FromCore
29 
30 #endif // BORNAGAIN_GUI_MODEL_FROMCORE_ITEMIZESAMPLE_H
Contains set of methods to populate GUI models with content from domain.
MultiLayerItem * itemizeSample(const MultiLayer &sample, const QString &nodeName)
Builds GUI sample structure from a domain sample structure.