15 #ifndef BORNAGAIN_GUI_MODEL_SAMPLE_FORMFACTORITEMS_H
16 #define BORNAGAIN_GUI_MODEL_SAMPLE_FORMFACTORITEMS_H
26 #define FF_PROPERTY(nameLower, nameUpper) \
28 DoubleProperty m_##nameLower; \
31 DoubleDescriptor nameLower() const { return m_##nameLower; } \
32 void set##nameUpper(double v) { m_##nameLower.set(v); }
57 return {length(), width(), height(), alpha()};
61 return {&m_length, &m_width, &m_height, &m_alpha};
77 return {&m_length, &m_width, &m_height};
93 return {&m_length, &m_width, &m_height};
109 return {&m_length, &m_width, &m_height};
125 return {&m_radius, &m_height, &m_alpha};
141 return {&m_baseEdge, &m_height, &m_alpha};
157 return {length(), height(), heightRatio(), alpha()};
161 return {&m_length, &m_height, &m_heightRatio, &m_alpha};
200 return {&m_radiusX, &m_radiusY, &m_height};
239 return {&m_radiusX, &m_radiusY, &m_height};
290 return {&m_baseEdge, &m_height, &m_alpha};
306 return {&m_length, &m_width, &m_height};
322 return {&m_length, &m_width, &m_height};
338 return {&m_length, &m_width, &m_height};
354 return {length(), width(), height(), asymmetry()};
358 return {&m_length, &m_width, &m_height, &m_asymmetry};
374 return {length(), width(), height(), asymmetry()};
378 return {&m_length, &m_width, &m_height, &m_asymmetry};
394 return {length(), width(), height(), asymmetry()};
398 return {&m_length, &m_width, &m_height, &m_asymmetry};
414 return {&m_baseEdge, &m_height, &m_alpha};
429 return {&m_length, &m_removedLength};
445 return {&m_radius, &m_height, &m_removedTop};
461 return {radius(), height(), heightFlattening(), removedTop()};
465 return {&m_radius, &m_height, &m_heightFlattening, &m_removedTop};
480 return {&m_length, &m_removedLength};
496 return {radius(), length(), sliceBottom(), sliceTop()};
500 return {&m_radius, &m_length, &m_sliceBottom, &m_sliceTop};
QList< DoubleDescriptor > DoubleDescriptors
Defines class DoubleProperty.
std::unique_ptr< IFormFactor > createFormFactor() const override
DoubleDescriptors geometryValues() const override
QVector< DoubleProperty * > serializationProperties() override
DoubleDescriptors geometryValues() const override
std::unique_ptr< IFormFactor > createFormFactor() const override
QVector< DoubleProperty * > serializationProperties() override
QVector< DoubleProperty * > serializationProperties() override
std::unique_ptr< IFormFactor > createFormFactor() const override
DoubleDescriptors geometryValues() const override
DoubleDescriptors geometryValues() const override
std::unique_ptr< IFormFactor > createFormFactor() const override
QVector< DoubleProperty * > serializationProperties() override
std::unique_ptr< IFormFactor > createFormFactor() const override
QVector< DoubleProperty * > serializationProperties() override
DoubleDescriptors geometryValues() const override
QVector< DoubleProperty * > serializationProperties() override
std::unique_ptr< IFormFactor > createFormFactor() const override
DoubleDescriptors geometryValues() const override
DoubleDescriptors geometryValues() const override
std::unique_ptr< IFormFactor > createFormFactor() const override
QVector< DoubleProperty * > serializationProperties() override
DoubleDescriptors geometryValues() const override
QVector< DoubleProperty * > serializationProperties() override
std::unique_ptr< IFormFactor > createFormFactor() const override
CosineRippleLorentzItem()
std::unique_ptr< IFormFactor > createFormFactor() const override
DoubleDescriptors geometryValues() const override
QVector< DoubleProperty * > serializationProperties() override
DoubleDescriptors geometryValues() const override
QVector< DoubleProperty * > serializationProperties() override
std::unique_ptr< IFormFactor > createFormFactor() const override
QVector< DoubleProperty * > serializationProperties() override
DoubleDescriptors geometryValues() const override
std::unique_ptr< IFormFactor > createFormFactor() const override
QVector< DoubleProperty * > serializationProperties() override
DoubleDescriptors geometryValues() const override
std::unique_ptr< IFormFactor > createFormFactor() const override
EllipsoidalCylinderItem()
Defines info for GroupProperty, i.e. collection of model types, their labels and the name of default ...
QVector< DoubleProperty * > serializationProperties() override
DoubleDescriptors geometryValues() const override
std::unique_ptr< IFormFactor > createFormFactor() const override
std::unique_ptr< IFormFactor > createFormFactor() const override
DoubleDescriptors geometryValues() const override
QVector< DoubleProperty * > serializationProperties() override
DoubleDescriptors geometryValues() const override
QVector< DoubleProperty * > serializationProperties() override
std::unique_ptr< IFormFactor > createFormFactor() const override
std::unique_ptr< IFormFactor > createFormFactor() const override
DoubleDescriptors geometryValues() const override
QVector< DoubleProperty * > serializationProperties() override
DoubleDescriptors geometryValues() const override
QVector< DoubleProperty * > serializationProperties() override
std::unique_ptr< IFormFactor > createFormFactor() const override
PlatonicTetrahedronItem()
std::unique_ptr< IFormFactor > createFormFactor() const override
DoubleDescriptors geometryValues() const override
QVector< DoubleProperty * > serializationProperties() override
DoubleDescriptors geometryValues() const override
QVector< DoubleProperty * > serializationProperties() override
std::unique_ptr< IFormFactor > createFormFactor() const override
DoubleDescriptors geometryValues() const override
QVector< DoubleProperty * > serializationProperties() override
std::unique_ptr< IFormFactor > createFormFactor() const override
DoubleDescriptors geometryValues() const override
QVector< DoubleProperty * > serializationProperties() override
std::unique_ptr< IFormFactor > createFormFactor() const override
QVector< DoubleProperty * > serializationProperties() override
DoubleDescriptors geometryValues() const override
std::unique_ptr< IFormFactor > createFormFactor() const override
DoubleDescriptors geometryValues() const override
std::unique_ptr< IFormFactor > createFormFactor() const override
QVector< DoubleProperty * > serializationProperties() override
std::unique_ptr< IFormFactor > createFormFactor() const override
QVector< DoubleProperty * > serializationProperties() override
DoubleDescriptors geometryValues() const override
DoubleDescriptors geometryValues() const override
QVector< DoubleProperty * > serializationProperties() override
std::unique_ptr< IFormFactor > createFormFactor() const override
SawtoothRippleGaussItem()
std::unique_ptr< IFormFactor > createFormFactor() const override
QVector< DoubleProperty * > serializationProperties() override
DoubleDescriptors geometryValues() const override
SawtoothRippleLorentzItem()
DoubleDescriptors geometryValues() const override
QVector< DoubleProperty * > serializationProperties() override
std::unique_ptr< IFormFactor > createFormFactor() const override
std::unique_ptr< IFormFactor > createFormFactor() const override
DoubleDescriptors geometryValues() const override
QVector< DoubleProperty * > serializationProperties() override
Supports serialization to or deserialization from QXmlStream.
QVector< DoubleProperty * > serializationProperties() override
DoubleDescriptors geometryValues() const override
std::unique_ptr< IFormFactor > createFormFactor() const override
std::unique_ptr< IFormFactor > createFormFactor() const override
DoubleDescriptors geometryValues() const override
QVector< DoubleProperty * > serializationProperties() override
std::unique_ptr< IFormFactor > createFormFactor() const override
QVector< DoubleProperty * > serializationProperties() override
DoubleDescriptors geometryValues() const override