15 #ifndef BORNAGAIN_GUI_MODEL_SAMPLE_INTERFERENCEITEMS_H
16 #define BORNAGAIN_GUI_MODEL_SAMPLE_INTERFERENCEITEMS_H
Defines class DoubleProperty.
Defines classes Lattice2DItems.
Defines Profile1DItem's classes.
Defines class SelectionProperty.
Defines class UIntProperty.
Describes properties of a double value which are necessary to allow GUI representation,...
Class for representing a double value, its attributes and its accessors.
SelectionProperty< Profile1DItem * > m_decayFunction
void serialize(Streamer &s) override
DoubleDescriptor length() const
DoubleProperty m_rotationAngle
Interference1DLatticeItem()
std::unique_ptr< IInterference > createInterference() const override
void setDecayFunction(Profile1DItem *p)
SelectionDescriptor< Profile1DItem * > decayFunction() const
DoubleDescriptor rotationAngle() const
void setLatticeType(Lattice2DItem *p)
bool xiIntegration() const
SelectionDescriptor< Lattice2DItem * > latticeType() const
Interference2DAbstractLatticeItem(bool xiIntegration)
SelectionProperty< Lattice2DItem * > m_latticeType
void setXiIntegration(bool xiIntegration)
Interference2DLatticeItem()
SelectionProperty< Profile2DItem * > m_decayFunction
void setDecayFunctionType(Profile2DItem *p)
void serialize(Streamer &s) override
std::unique_ptr< IInterference > createInterference() const override
SelectionDescriptor< Profile2DItem * > decayFunction() const
SelectionDescriptor< Profile2DItem * > probabilityDistribution2() const
void setDomainSize1(double size)
DoubleDescriptor dampingLength() const
void setPDF2Type(Profile2DItem *p)
void serialize(Streamer &s) override
void setDampingLength(double dampingLength)
DoubleDescriptor domainSize1() const
DoubleDescriptor domainSize2() const
std::unique_ptr< IInterference > createInterference() const override
void setPDF1Type(Profile2DItem *p)
SelectionProperty< Profile2DItem * > m_pdf1
DoubleProperty m_domainSize2
SelectionProperty< Profile2DItem * > m_pdf2
SelectionDescriptor< Profile2DItem * > probabilityDistribution1() const
void setDomainSize2(double size)
Interference2DParaCrystalItem()
DoubleProperty m_domainSize1
DoubleProperty m_dampingLength
UIntProperty m_domainSize1
void serialize(Streamer &s) override
InterferenceFinite2DLatticeItem()
void setDomainSize1(unsigned int domain_size1)
void setDomainSize2(unsigned int domain_size2)
UIntDescriptor domainSize2() const
UIntProperty m_domainSize2
std::unique_ptr< IInterference > createInterference() const override
UIntDescriptor domainSize1() const
DoubleDescriptor density() const
void serialize(Streamer &s) override
DoubleDescriptor radius() const
InterferenceHardDiskItem()
std::unique_ptr< IInterference > createInterference() const override
virtual std::unique_ptr< IInterference > createInterference() const =0
virtual void serialize(Streamer &s)=0
DoubleDescriptor positionVariance() const
virtual ~InterferenceItem()=default
DoubleProperty m_positionVariance
SelectionDescriptor< Profile1DItem * > probabilityDistribution() const
DoubleDescriptor dampingLength() const
void serialize(Streamer &s) override
void setPDFType(Profile1DItem *p)
SelectionProperty< Profile1DItem * > m_pdf
InterferenceRadialParaCrystalItem()
std::unique_ptr< IInterference > createInterference() const override
DoubleDescriptor kappa() const
DoubleProperty m_dampingLength
DoubleDescriptor domainSize() const
DoubleProperty m_domainSize
DoubleProperty m_peakDistance
DoubleDescriptor peakDistance() const
Describes a selection (various possibilities and the current one).
Supports serialization to or deserialization from QXmlStream.
Describes properties of a uint value which are necessary to allow GUI representation,...
Class for representing a uint value, its attributes and its accessors.