#include <LogitScaleEngine.h>
List of all members.
Public Member Functions |
virtual void | autoScale (int, double &x1, double &x2, double &stepSize) const |
virtual QwtScaleDiv | divideScale (double x1, double x2, int numMajorSteps, int numMinorSteps, double stepSize=0.0) const |
| Calculate a scale division.
|
virtual QwtScaleTransformation * | transformation () const |
Private Member Functions |
QwtValueList | buildMajorTicks (const QwtDoubleInterval &interval, int stepSize) const |
void | buildTicks (const QwtDoubleInterval &, int stepSize, QwtValueList ticks[QwtScaleDiv::NTickTypes]) const |
Member Function Documentation
void LogitScaleEngine::autoScale |
( |
int |
, |
|
|
double & |
x1, |
|
|
double & |
x2, |
|
|
double & |
stepSize |
|
) |
| const |
|
virtual |
Align and divide an interval
- Parameters:
-
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) |
QwtValueList LogitScaleEngine::buildMajorTicks |
( |
const QwtDoubleInterval & |
interval, |
|
|
int |
stepSize |
|
) |
| const |
|
private |
void LogitScaleEngine::buildTicks |
( |
const QwtDoubleInterval & |
interval, |
|
|
int |
stepSize, |
|
|
QwtValueList |
ticks[QwtScaleDiv::NTickTypes] |
|
) |
| const |
|
private |
QwtScaleDiv LogitScaleEngine::divideScale |
( |
double |
x1, |
|
|
double |
x2, |
|
|
int |
numMajorSteps, |
|
|
int |
numMinorSteps, |
|
|
double |
stepSize = 0.0 |
|
) |
| const |
|
virtual |
Calculate a scale division.
- Parameters:
-
x1 | First interval limit |
x2 | Second interval limit |
maxMajSteps | Maximum for the number of major steps |
maxMinSteps | Maximum number of minor steps |
stepSize | Step size. If stepSize == 0, the scaleEngine calculates one. |
References buildTicks().
QwtScaleTransformation * LogitScaleEngine::transformation |
( |
| ) |
const |
|
virtual |
Return a dummy transformation
The documentation for this class was generated from the following files: