Logarithmic transformation.
More...
#include <qwt_transform.h>
|
|
| QwtLogTransform () |
| | Constructor.
|
| |
|
virtual | ~QwtLogTransform () |
| | Destructor.
|
| |
| virtual double | transform (double value) const QWT_OVERRIDE |
| |
| virtual double | invTransform (double value) const QWT_OVERRIDE |
| |
| virtual double | bounded (double value) const QWT_OVERRIDE |
| |
| virtual QwtTransform * | copy () const QWT_OVERRIDE |
| |
|
| QwtTransform () |
| | Constructor.
|
| |
|
virtual | ~QwtTransform () |
| | Destructor.
|
| |
|
|
static const double | LogMin = 1.0e-150 |
| | Smallest allowed value for logarithmic scales: 1.0e-150.
|
| |
|
static const double | LogMax = 1.0e150 |
| | Largest allowed value for logarithmic scales: 1.0e150.
|
| |
Logarithmic transformation.
QwtLogTransform modifies the values using log() and exp().
- Note
- In the calculations of QwtScaleMap the base of the log function has no effect on the mapping. So QwtLogTransform can be used for log2(), log10() or any other logarithmic scale.
◆ bounded()
| double QwtLogTransform::bounded |
( |
double |
value | ) |
const |
|
virtual |
- Parameters
-
- Returns
- qBound( LogMin, value, LogMax )
Reimplemented from QwtTransform.
◆ copy()
◆ invTransform()
| double QwtLogTransform::invTransform |
( |
double |
value | ) |
const |
|
virtual |
- Parameters
-
| value | Value to be transformed |
- Returns
- exp( value )
Implements QwtTransform.
◆ transform()
| double QwtLogTransform::transform |
( |
double |
value | ) |
const |
|
virtual |
- Parameters
-
| value | Value to be transformed |
- Returns
- log( value )
Implements QwtTransform.
The documentation for this class was generated from the following files:
- /home/runner/work/QWT/QWT/src/qwt_transform.h
- /home/runner/work/QWT/QWT/src/qwt_transform.cpp