线性刻度引擎
更多...
#include <qwt_scale_engine.h>
|
| QwtInterval | align (const QwtInterval &, double stepSize) const |
| | 将区间对齐到步长
|
| |
| void | buildTicks (const QwtInterval &, double stepSize, int maxMinorSteps, QList< double > ticks[QwtScaleDiv::NTickTypes]) const |
| | 计算区间的刻度
|
| |
| QList< double > | buildMajorTicks (const QwtInterval &interval, double stepSize) const |
| | 计算区间的主刻度
|
| |
| void | buildMinorTicks (const QList< double > &majorTicks, int maxMinorSteps, double stepSize, QList< double > &minorTicks, QList< double > &mediumTicks) const |
| | 计算主刻度的次刻度/中刻度
|
| |
| bool | contains (const QwtInterval &, double value) const |
| | Check if an interval contains a value
|
| |
| QList< double > | strip (const QList< double > &, const QwtInterval &) const |
| | Strip values outside an interval
|
| |
| double | divideInterval (double intervalSize, int numSteps) const |
| | Divide an interval
|
| |
| QwtInterval | buildInterval (double value) const |
| | Build an interval around a value
|
| |
◆ QwtLinearScaleEngine()
| QwtLinearScaleEngine::QwtLinearScaleEngine |
( |
uint |
base = 10 | ) |
|
|
explicit |
◆ align()
◆ autoScale()
| void QwtLinearScaleEngine::autoScale |
( |
int |
maxNumSteps, |
|
|
double & |
x1, |
|
|
double & |
x2, |
|
|
double & |
stepSize |
|
) |
| const |
|
overridevirtual |
◆ buildMajorTicks()
| QList< double > QwtLinearScaleEngine::buildMajorTicks |
( |
const QwtInterval & |
interval, |
|
|
double |
stepSize |
|
) |
| const |
|
protected |
◆ buildMinorTicks()
| void QwtLinearScaleEngine::buildMinorTicks |
( |
const QList< double > & |
majorTicks, |
|
|
int |
maxMinorSteps, |
|
|
double |
stepSize, |
|
|
QList< double > & |
minorTicks, |
|
|
QList< double > & |
mediumTicks |
|
) |
| const |
|
protected |
◆ buildTicks()
| void QwtLinearScaleEngine::buildTicks |
( |
const QwtInterval & |
interval, |
|
|
double |
stepSize, |
|
|
int |
maxMinorSteps, |
|
|
QList< double > |
ticks[QwtScaleDiv::NTickTypes] |
|
) |
| const |
|
protected |
◆ divideScale()
| QwtScaleDiv QwtLinearScaleEngine::divideScale |
( |
double |
x1, |
|
|
double |
x2, |
|
|
int |
maxMajorSteps, |
|
|
int |
maxMinorSteps, |
|
|
double |
stepSize = 0.0 |
|
) |
| const |
|
overridevirtual |
该类的文档由以下文件生成:
- /home/runner/work/QWT/QWT/src/plot/qwt_scale_engine.h
- /home/runner/work/QWT/QWT/src/plot/qwt_scale_engine.cpp