15 #ifndef BORNAGAIN_GUI_MODEL_SAMPLE_MESOCRYSTALITEM_H
16 #define BORNAGAIN_GUI_MODEL_SAMPLE_MESOCRYSTALITEM_H
22 #include "Sample/Lattice/Lattice3D.h"
38 std::unique_ptr<IParticle>
getBasis()
const;
Defines abstract item with a material property.
Defines class SelectionProperty.
Defines class VectorProperty.
void setRawDataVectorA(const R3 &vector_a)
void setOuterShape(FormFactorItem *p)
std::unique_ptr< IFormFactor > getOuterShape() const
void setRawDataVectorC(const R3 &vector_c)
VectorDescriptor vectorB() const
VectorDescriptor vectorC() const
void setRawDataVectorB(const R3 &vector_b)
void setBasis(ItemWithParticles *basis)
const MaterialItems * m_materials
std::unique_ptr< MesoCrystal > createMesoCrystal() const
SelectionProperty< FormFactorItem * > m_outerShape
std::unique_ptr< IParticle > getBasis() const
VectorDescriptor vectorA() const
SelectionDescriptor< FormFactorItem * > outerShape() const
Lattice3D getLattice() const
MesoCrystalItem(const MaterialItems *materials)
void serialize(Streamer &s) override
SelectionProperty< ItemWithParticles * > m_basisParticle
ItemWithParticles * basisParticle() const
QVector< ItemWithParticles * > containedItemsWithParticles() const override
Return full hierarchical contained items with particles.
Describes a selection (various possibilities and the current one).
Supports serialization to or deserialization from QXmlStream.
Describes properties of a 3D vector, consisting of three double values.
Holds a 3D vector of type R3 as well as additional info like label, tooltip.