QtiPlot 0.9.7.3
|
#include <ScaleEngine.h>
Public Types | |
enum | Type { Linear, Log10, Ln, Log2, Reciprocal, Probability, Logit } |
Public Member Functions | |
QwtScaleTransformation * | copy () const |
virtual double | invXForm (double x, double s1, double s2, double p1, double p2) const |
ScaleTransformation (const ScaleEngine *engine) | |
virtual double | xForm (double x, double, double, double p1, double p2) const |
Protected Member Functions | |
QwtScaleTransformation * | newScaleTransformation () const |
Protected Attributes | |
const ScaleEngine * | d_engine |
The scale engine that generates the transformation. |
ScaleTransformation::ScaleTransformation | ( | const ScaleEngine * | engine | ) | [inline] |
Referenced by copy().
QwtScaleTransformation * ScaleTransformation::copy | ( | ) | const |
Reimplemented in LogitScaleTransformation, ProbabilityScaleTransformation, and ReciprocalScaleTransformation.
References d_engine, and ScaleTransformation().
double ScaleTransformation::invXForm | ( | double | x, |
double | s1, | ||
double | s2, | ||
double | p1, | ||
double | p2 | ||
) | const [virtual] |
Reimplemented in LogitScaleTransformation, ProbabilityScaleTransformation, and ReciprocalScaleTransformation.
References ScaleEngine::axisBreakLeft(), ScaleEngine::axisBreakRight(), ScaleEngine::breakPosition(), ScaleEngine::breakWidth(), d_engine, ScaleEngine::hasBreak(), Linear, Ln, Log10, ScaleEngine::log10ScaleAfterBreak(), newScaleTransformation(), and ScaleEngine::type().
QwtScaleTransformation * ScaleTransformation::newScaleTransformation | ( | ) | const [protected] |
References d_engine, Linear, Ln, Log10, Log2, Logit, Probability, Reciprocal, and ScaleEngine::type().
Referenced by invXForm(), and xForm().
double ScaleTransformation::xForm | ( | double | x, |
double | s1, | ||
double | s2, | ||
double | p1, | ||
double | p2 | ||
) | const [virtual] |
Reimplemented in LogitScaleTransformation, ProbabilityScaleTransformation, and ReciprocalScaleTransformation.
References ScaleEngine::axisBreakLeft(), ScaleEngine::axisBreakRight(), ScaleEngine::breakPosition(), ScaleEngine::breakWidth(), d_engine, ScaleEngine::hasBreak(), Linear, Ln, Log10, ScaleEngine::log10ScaleAfterBreak(), Log2, newScaleTransformation(), and ScaleEngine::type().
const ScaleEngine* ScaleTransformation::d_engine [protected] |
The scale engine that generates the transformation.
Referenced by copy(), ReciprocalScaleTransformation::copy(), ProbabilityScaleTransformation::copy(), LogitScaleTransformation::copy(), invXForm(), newScaleTransformation(), and xForm().