30 #ifndef LN_SCALE_ENGINE_H 31 #define LN_SCALE_ENGINE_H 33 #include <qwt_scale_engine.h> 34 #include <qwt_scale_map.h> 40 double &x1,
double &x2,
double &stepSize)
const;
42 virtual QwtScaleDiv
divideScale(
double x1,
double x2,
43 int numMajorSteps,
int numMinorSteps,
44 double stepSize = 0.0)
const;
49 QwtDoubleInterval
ln(
const QwtDoubleInterval&)
const;
52 QwtDoubleInterval
align(
const QwtDoubleInterval&,
53 double stepSize)
const;
56 const QwtDoubleInterval &,
double stepSize,
int maxMinSteps,
57 QwtValueList ticks[QwtScaleDiv::NTickTypes])
const;
60 int maxMinMark,
double step)
const;
63 const QwtDoubleInterval &interval,
double stepSize)
const;
virtual QwtScaleDiv divideScale(double x1, double x2, int numMajorSteps, int numMinorSteps, double stepSize=0.0) const
Calculate a scale division.
Definition: LnScaleEngine.cpp:99
virtual QwtScaleTransformation * transformation() const
Definition: LnScaleEngine.cpp:35
QwtDoubleInterval ln(const QwtDoubleInterval &) const
Definition: LnScaleEngine.cpp:225
QwtValueList buildMajorTicks(const QwtDoubleInterval &interval, double stepSize) const
Definition: LnScaleEngine.cpp:154
virtual void autoScale(int maxSteps, double &x1, double &x2, double &stepSize) const
Definition: LnScaleEngine.cpp:48
void buildTicks(const QwtDoubleInterval &, double stepSize, int maxMinSteps, QwtValueList ticks[QwtScaleDiv::NTickTypes]) const
Definition: LnScaleEngine.cpp:140
QwtDoubleInterval align(const QwtDoubleInterval &, double stepSize) const
Align an interval to a step size.
Definition: LnScaleEngine.cpp:210
Definition: LnScaleEngine.h:36
QwtValueList buildMinorTicks(const QwtValueList &majorTicks, int maxMinMark, double step) const
Definition: LnScaleEngine.cpp:179