BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ParticleCoreShellItem.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Models/ParticleCoreShellItem.h
6 //! @brief Defines class ParticleCoreShellItem
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_GUI_COREGUI_MODELS_PARTICLECORESHELLITEM_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_PARTICLECORESHELLITEM_H
17 
19 
20 class ParticleCoreShell;
21 class VectorItem;
22 
23 class BA_CORE_API_ ParticleCoreShellItem : public SessionGraphicsItem {
24 public:
25  static const QString T_CORE;
26  static const QString T_SHELL;
27 
29 
30  VectorItem* positionItem() const;
31 
32  std::unique_ptr<ParticleCoreShell> createParticleCoreShell() const;
33  QVector<SessionItem*> materialPropertyItems();
34 };
35 
36 #endif // BORNAGAIN_GUI_COREGUI_MODELS_PARTICLECORESHELLITEM_H
Defines class SessionGraphicsItem.
static const QString T_CORE
static const QString T_SHELL
A particle with a core/shell geometry.
QVector< SessionItem * > materialPropertyItems(SessionItem *item)
Gather material property items from a given item.