A transformation using pow()
More...
#include <qwt_transform.h>
A transformation using pow()
QwtPowerTransform preserves the sign of a value. F.e. a transformation with a factor of 2 transforms a value of -3 to -9 and v.v. Thus QwtPowerTransform can be used for scales including negative values.
Definition at line 125 of file qwt_transform.h.
QwtPowerTransform::QwtPowerTransform |
( |
double |
exponent | ) |
|
|
explicit |
QwtPowerTransform::~QwtPowerTransform |
( |
| ) |
|
|
virtual |
double QwtPowerTransform::invTransform |
( |
double |
value | ) |
const |
|
virtual |
- Parameters
-
value | Value to be transformed |
- Returns
- Inverse exponentiation preserving the sign
Implements QwtTransform.
Definition at line 153 of file qwt_transform.cpp.
double QwtPowerTransform::transform |
( |
double |
value | ) |
const |
|
virtual |
const double QwtPowerTransform::d_exponent |
|
private |
The documentation for this class was generated from the following files: