15 #ifndef BORNAGAIN_GUI_COREGUI_MODELS_GUIDOMAINSAMPLEVISITOR_H
16 #define BORNAGAIN_GUI_COREGUI_MODELS_GUIDOMAINSAMPLEVISITOR_H
36 const MultiLayer& sample,
const QString& sample_name =
"");
Defines interface class INodeVisitor.
A crystal structure, defined by a Bravais lattice, a basis, and a position variance.
The ExternalProperty class defines custom QVariant property to carry the text, color and an identifie...
Visits domain sample tree to build GUI presentation.
SessionItem * populateSampleModel(SampleModel *sampleModel, MaterialModel *materialModel, const MultiLayer &sample, const QString &sample_name="")
virtual void visit(const BasicLattice2D *)
ExternalProperty createMaterialFromDomain(const Material *)
void buildAbundanceInfo(SessionItem *particleItem)
SampleModel * m_sampleModel
~GUIDomainSampleVisitor()
SessionItem * InsertIParticle(const IParticle *p_particle, QString model_type)
QMap< SessionItem *, const ISampleNode * > m_itemToSample
QMap< QString, double > m_propertyToValue
MaterialModel * m_materialModel
void buildPositionInfo(SessionItem *particleItem, const IParticle *sample)
QMap< QString, bool > m_sample_encountered
QMap< int, SessionItem * > m_levelToParentItem
Visitor interface to visit ISampleNode objects.
virtual void visit(const BasicLattice2D *)
Abstract base class for Particle, ParticleComposition, ParticleCoreShell, MesoCrystal.
Interference function of a 1D lattice.
Interference function of a 2D lattice.
Interference function of a 2D paracrystal.
Interference function of a finite 2D lattice.
Percus-Yevick hard disk interference function.
Interference function of radial paracrystal.
A layer in a MultiLayer sample.
A wrapper for underlying material implementation.
A particle with an internal structure of smaller particles.
Our sample model: a stack of layers one below the other.
A composition of particles at fixed positions.
A particle with a core/shell geometry.
A particle type that is a parametric distribution of IParticle's.
Decorator class that adds particles to ISampleNode objects.
A particle with a form factor and refractive index.
A sequence of rotations about the z-x'-z'' axes.
A rotation about the x axis.
A rotation about the y axis.
A rotation about the z axis.
Main model to hold sample items.