QwtLogScaleEngine(3)
π NAME π
okay bestie, this is the QwtLogScaleEngine(3) page from the Library Functions Manual (Qwt User's Guide energy), and the whole point is literally right here: QwtLogScaleEngine is a scale engine for logarithmic scales. no cap. β¨
π¦ SYNOPSIS π¦
#include <qwt_scale_engine.h>
Inherits QwtScaleEngine.
π Public Member Functions π
QwtLogScaleEngine (uint base=10)β constructor, with the base defaulting to10exactly as written.virtual ~QwtLogScaleEngine ()β destructor. bye bestie π«Άvirtual void autoScale (int maxNumSteps, double &x1, double &x2, double &stepSize) const overrideβ the override version; details are down in the docs below.virtual QwtScaleDiv divideScale (double x1, double x2, int maxMajorSteps, int maxMinorSteps, double stepSize=0.0) const overrideβ calculate a scale division for an interval. slay.
π Public Member Functions inherited from QwtScaleEngine π
QwtScaleEngine (uint base=10)β inherited constructor.virtual ~QwtScaleEngine ()β destructor.void setBase (uint base)β inherited, no extra description in the original, just here for completeness.uint base () constβ inherited, no extra description in the original.void setAttribute (Attribute, bool on=true)β inherited, no extra description in the original.bool testAttribute (Attribute) constβ inherited, no extra description in the original.void setAttributes (Attributes)β inherited, no extra description in the original.Attributes attributes () constβ inherited, no extra description in the original.void setReference (double)β specify a reference point.double reference () constβ inherited, no extra description in the original.void setMargins (double lower, double upper)β specify margins at the scale's endpoints.double lowerMargin () constβ inherited, no extra description in the original.double upperMargin () constβ inherited, no extra description in the original.void setTransformation (QwtTransform *)β inherited, no extra description in the original.QwtTransform * transformation () constβ inherited, no extra description in the original.
πΈ Protected Member Functions πΈ
QwtInterval align (const QwtInterval &, double stepSize) constβ align an interval to a step size.void buildTicks (const QwtInterval &, double stepSize, int maxMinorSteps, QList< double > ticks[QwtScaleDiv::NTickTypes]) constβ calculate ticks for an interval.QList< double > buildMajorTicks (const QwtInterval &interval, double stepSize) constβ calculate major ticks for an interval.void buildMinorTicks (const QList< double > &majorTicks, int maxMinorSteps, double stepSize, QList< double > &minorTicks, QList< double > &mediumTicks) constβ calculate minor/medium ticks for major ticks.
πΊ Protected Member Functions inherited from QwtScaleEngine πΊ
bool contains (const QwtInterval &, double value) constβ inherited, no extra description in the original.QList< double > strip (const QList< double > &, const QwtInterval &) constβ inherited, no extra description in the original.double divideInterval (double intervalSize, int numSteps) constβ inherited, no extra description in the original.QwtInterval buildInterval (double value) constβ build an interval around a value.
π§ Additional Inherited Members π§
π Public Types inherited from QwtScaleEngine π
enum Attribute { NoAttribute = 0x00, IncludeReference = 0x01, Symmetric = 0x02, Floating = 0x04, Inverted = 0x08 }
typedef QFlags< Attribute > Attributesβ the exact typedef, bestie, no edits.
π Detailed Description π
A scale engine for logarithmic scales. literally that's the main character description, and it is iconic. β¨
The step size is measured in decades, aight, and the major step size will be adjusted to fit the pattern $t 1,2,3,5.
β οΈ warning, bestie: the step size as well as the margins are measured in decades.
Definition at line 191 of file qwt_scale_engine.h.
β¨ Constructor & Destructor Documentation β¨
π QwtLogScaleEngine::QwtLogScaleEngine (uint base = 10) [explicit] π
Constructor.
baseβ Base of the scale engine.
See also setBase().
Definition at line 776 of file qwt_scale_engine.cpp.
π QwtLogScaleEngine::~QwtLogScaleEngine () [virtual] π
Destructor.
Definition at line 783 of file qwt_scale_engine.cpp.
π₯ Member Function Documentation π₯
π QwtInterval QwtLogScaleEngine::align (const QwtInterval & interval, double stepSize) const [protected] π
Align an interval to a step size. The limits of an interval are aligned that both are integer multiples of the step size.
intervalβ Interval.stepSizeβ Step size.
Returns: Aligned interval.
Definition at line 1106 of file qwt_scale_engine.cpp.
π void QwtLogScaleEngine::autoScale (int maxNumSteps, double & x1, double & x2, double & stepSize) const [override], [virtual] π
Align and divide an interval.
maxNumStepsβ Max. number of steps.x1β First limit of the interval (In/Out).x2β Second limit of the interval (In/Out).stepSizeβ Step size (Out).
See also QwtScaleEngine::setAttribute().
Implements QwtScaleEngine.
Definition at line 797 of file qwt_scale_engine.cpp.
π QList< double > QwtLogScaleEngine::buildMajorTicks (const QwtInterval & interval, double stepSize) const [protected] π
Calculate major ticks for an interval.
intervalβ Interval.stepSizeβ Step size.
Returns: Calculated ticks.
Definition at line 967 of file qwt_scale_engine.cpp.
π void QwtLogScaleEngine::buildMinorTicks (const QList< double > & majorTicks, int maxMinorSteps, double stepSize, QList< double > & minorTicks, QList< double > & mediumTicks) const [protected] π
Calculate minor/medium ticks for major ticks.
majorTicksβ Major ticks.maxMinorStepsβ Maximum number of minor steps.stepSizeβ Step size.minorTicksβ Array to be filled with the calculated minor ticks.mediumTicksβ Array to be filled with the calculated medium ticks.
Definition at line 1002 of file qwt_scale_engine.cpp.
π void QwtLogScaleEngine::buildTicks (const QwtInterval & interval, double stepSize, int maxMinorSteps, QList< double > ticks[QwtScaleDiv::NTickTypes]) const [protected] π
Calculate ticks for an interval.
intervalβ Interval.maxMinorStepsβ Maximum number of minor steps.stepSizeβ Step size.ticksβ Arrays to be filled with the calculated ticks.
See also buildMajorTicks(), buildMinorTicks.
Definition at line 940 of file qwt_scale_engine.cpp.
π QwtScaleDiv QwtLogScaleEngine::divideScale (double x1, double x2, int maxMajorSteps, int maxMinorSteps, double stepSize = 0.0) const [override], [virtual] π
Calculate a scale division for an interval.
x1β First interval limit.x2β Second interval limit.maxMajorStepsβ Maximum for the number of major steps.maxMinorStepsβ Maximum number of minor steps.stepSizeβ Step size. IfstepSize == 0, the engine calculates one.
Returns: Calculated scale division.
Implements QwtScaleEngine.
Definition at line 879 of file qwt_scale_engine.cpp.
π«Ά Author π«Ά
Generated automatically by Doxygen for Qwt User's Guide from the source code.
okay that's the whole page, bestie π«Ά β footer source/version is Qwt User's Guide and the manual is QwtLogScaleEngine(3); there's no date printed on this footer, so no invented date, periodt. π
π¦ where this page comes from
- alpine 3.24: qwt-doc 6.3.0-r0 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms