Definition at line 172 of file DistributionItems.h.
◆ DistributionTrapezoidItem()
DistributionTrapezoidItem::DistributionTrapezoidItem |
( |
| ) |
|
Definition at line 359 of file DistributionItems.cpp.
361 m_center.init(
"Center",
"", 1.0,
Unit::unitless, 3, RealLimits::limitless(),
"center");
363 m_middleWidth.init(
"MiddleWidth",
"", 1.0,
Unit::unitless,
"middle");
364 m_rightWidth.init(
"RightWidth",
"", 1.0,
Unit::unitless,
"right");
void addToSerialization(DoubleProperty *d)
References DistributionItem::addToSerialization(), and unitless.
◆ addToSerialization()
◆ createDistribution()
std::unique_ptr< IDistribution1D > DistributionTrapezoidItem::createDistribution |
( |
double |
scale = 1.0 | ) |
const |
|
overridevirtual |
Implements DistributionItem.
Definition at line 380 of file DistributionItems.cpp.
382 return std::make_unique<DistributionTrapezoid>(scale * center(), scale * leftWidth(),
383 scale * middleWidth(), scale * rightWidth());
◆ distributionValues()
DoubleDescriptors DistributionTrapezoidItem::distributionValues |
( |
bool |
withMean = true | ) |
const |
|
overridevirtual |
◆ DOUBLE_PROPERTY() [1/5]
DistributionTrapezoidItem::DOUBLE_PROPERTY |
( |
center |
, |
|
|
Center |
|
|
) |
| |
◆ DOUBLE_PROPERTY() [2/5]
DistributionTrapezoidItem::DOUBLE_PROPERTY |
( |
leftWidth |
, |
|
|
LeftWidth |
|
|
) |
| |
◆ DOUBLE_PROPERTY() [3/5]
DistributionTrapezoidItem::DOUBLE_PROPERTY |
( |
middleWidth |
, |
|
|
MiddleWidth |
|
|
) |
| |
◆ DOUBLE_PROPERTY() [4/5]
DistributionTrapezoidItem::DOUBLE_PROPERTY |
( |
rightWidth |
, |
|
|
RightWidth |
|
|
) |
| |
◆ DOUBLE_PROPERTY() [5/5]
DistributionItem::DOUBLE_PROPERTY |
( |
sigmaFactor |
, |
|
|
SigmaFactor |
|
|
) |
| |
|
inherited |
◆ hasSigmaFactor()
bool DistributionItem::hasSigmaFactor |
( |
| ) |
const |
|
inherited |
◆ initDistribution()
void DistributionTrapezoidItem::initDistribution |
( |
double |
value | ) |
|
|
overridevirtual |
◆ initSigmaFactor()
void DistributionItem::initSigmaFactor |
( |
| ) |
|
|
protectedinherited |
◆ is()
template<typename T >
bool DistributionItem::is |
( |
| ) |
const |
|
inlineinherited |
◆ limits()
RealLimits DistributionItem::limits |
( |
| ) |
const |
|
inherited |
◆ serialize()
void DistributionItem::serialize |
( |
Streamer & |
s | ) |
|
|
inherited |
◆ setLimits()
void DistributionItem::setLimits |
( |
const RealLimits & |
limits | ) |
|
|
virtualinherited |
◆ setUnit()
void DistributionTrapezoidItem::setUnit |
( |
const variant< QString, Unit > & |
unit | ) |
|
|
overridevirtual |
Set the unit of the distributed value.
Implements DistributionItem.
Definition at line 372 of file DistributionItems.cpp.
374 m_center.setUnit(unit);
375 m_leftWidth.setUnit(unit);
376 m_middleWidth.setUnit(unit);
377 m_rightWidth.setUnit(unit);
◆ UINT_PROPERTY()
DistributionItem::UINT_PROPERTY |
( |
numberOfSamples |
, |
|
|
NumberOfSamples |
|
|
) |
| |
|
inherited |
◆ m_limits
RealLimits DistributionItem::m_limits |
|
protectedinherited |
◆ m_serializationProperties
The documentation for this class was generated from the following files: