15 #ifndef BORNAGAIN_GUI_VIEW_REALSPACE_REALSPACEBUILDER_H
16 #define BORNAGAIN_GUI_VIEW_REALSPACE_REALSPACEBUILDER_H
42 std::variant<MultiLayerItem*, LayerItem*, ParticleLayoutItem*, ItemWithParticles*>;
44 RealSpaceBuilder(std::function<QColor(
const QString&)> fnColorFromMaterialName);
56 const QVector3D& lattice_position = {})
const;
60 const SceneGeometry& sceneGeometry,
const QVector3D& origin = {})
const;
63 const SceneGeometry& sceneGeometry,
const QVector3D& origin = {},
64 bool isTopLayer =
false)
const;
67 const SceneGeometry& sceneGeometry,
const QVector3D& origin = {})
const;
Defines GUI::RealSpace::BuilderUtils namespace.
Defines class SampleItem.
std::variant< MultiLayerItem *, LayerItem *, ParticleLayoutItem *, ItemWithParticles * > ItemForRealSpace
Defines the item types this class can handle.
std::unique_ptr< RealSpace::BuilderUtils > m_builderUtils
Size and thickness information of layers.