BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
MesoCrystalItem.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/coregui/Models/MesoCrystalItem.h
6 //! @brief Defines class MesoCrystalItem
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_MESOCRYSTALITEM_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_MESOCRYSTALITEM_H
17 
20 
21 class IFormFactor;
22 class IParticle;
23 class MesoCrystal;
24 class VectorItem;
25 
26 class BA_CORE_API_ MesoCrystalItem : public SessionGraphicsItem {
27 public:
28  static const QString P_OUTER_SHAPE;
29  static const QString T_BASIS_PARTICLE;
30  static const QString P_VECTOR_A;
31  static const QString P_VECTOR_B;
32  static const QString P_VECTOR_C;
33 
35 
36  VectorItem* positionItem() const;
37 
38  std::unique_ptr<MesoCrystal> createMesoCrystal() const;
39 
40  QStringList translateList(const QStringList& list) const override;
41 
42  Lattice3D getLattice() const;
43  std::unique_ptr<IParticle> getBasis() const;
44  std::unique_ptr<IFormFactor> getOuterShape() const;
45 };
46 
47 #endif // BORNAGAIN_GUI_COREGUI_MODELS_MESOCRYSTALITEM_H
Defines class Lattice.
Defines class SessionGraphicsItem.
Abstract base class for all form factors.
Definition: IFormFactor.h:36
Abstract base class for Particle, ParticleComposition, ParticleCoreShell, MesoCrystal.
Definition: IParticle.h:33
A Bravais lattice, characterized by three basis vectors, and optionally an ISelectionRule.
Definition: Lattice3D.h:29
static const QString P_VECTOR_C
static const QString T_BASIS_PARTICLE
static const QString P_VECTOR_B
static const QString P_VECTOR_A
static const QString P_OUTER_SHAPE
A particle with an internal structure of smaller particles.
Definition: MesoCrystal.h:25
virtual QStringList translateList(const QStringList &list) const