Go to the documentation of this file.
22 : m_lowerBound( lowerBound )
23 , m_upperBound( upperBound )
35 : m_lowerBound( interval.minValue() )
36 , m_upperBound( interval.maxValue() )
53 : m_lowerBound( lowerBound )
54 , m_upperBound( upperBound )
75 : m_lowerBound( lowerBound )
76 , m_upperBound( upperBound )
191 return ( !( *
this == other ) );
217 return value >= min && value <= max;
233 const int size2 =
size / 2;
235 for (
int j = 0; j < size2; j++ )
264 double lowerBound,
double upperBound )
const
277 for (
int i = 0; i <
ticks.size(); i++ )
279 const double tick =
ticks[i];
280 if ( tick >= min && tick <= max )
281 boundedTicks += tick;
284 sd.
setTicks( tickType, boundedTicks );
317 #ifndef QT_NO_DEBUG_STREAM
void setLowerBound(double)
@ MediumTick
Medium ticks.
QwtScaleDiv(double lowerBound=0.0, double upperBound=0.0)
double lowerBound() const
void setInterval(double lowerBound, double upperBound)
bool contains(double value) const
QList< double > ticks(int tickType) const
span_constexpr std::size_t size(span< T, Extent > const &spn)
A class representing an interval.
@ NTickTypes
Number of valid tick types.
bool isIncreasing() const
Check if the scale division is increasing( lowerBound() <= upperBound() )
QList< double > m_ticks[NTickTypes]
double upperBound() const
void setUpperBound(double)
bool operator==(const QwtScaleDiv &) const
Equality operator.
bool isEmpty() const
Check if the scale division is empty( lowerBound() == upperBound() )
void setTicks(int tickType, const QList< double > &)
QwtScaleDiv inverted() const
QDebug operator<<(QDebug debug, const QwtScaleDiv &scaleDiv)
A class representing a scale division.
bool operator!=(const QwtScaleDiv &) const
Inequality.
QwtScaleDiv bounded(double lowerBound, double upperBound) const
QwtInterval interval() const
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:46