A transformation using pow() More...
#include <qwt_transform.h>
Public Member Functions | |
virtual QwtTransform * | copy () const |
virtual double | invTransform (double value) const |
QwtPowerTransform (double exponent) | |
virtual double | transform (double value) const |
virtual | ~QwtPowerTransform () |
Destructor. | |
Private Attributes | |
const double | d_exponent |
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] |
Destructor.
Definition at line 132 of file qwt_transform.cpp.
QwtTransform * QwtPowerTransform::copy | ( | ) | const [virtual] |
Implements QwtTransform.
Definition at line 162 of file qwt_transform.cpp.
double QwtPowerTransform::invTransform | ( | double | value | ) | const [virtual] |
value | Value to be transformed |
Implements QwtTransform.
Definition at line 153 of file qwt_transform.cpp.
double QwtPowerTransform::transform | ( | double | value | ) | const [virtual] |
value | Value to be transformed |
Implements QwtTransform.
Definition at line 140 of file qwt_transform.cpp.
const double QwtPowerTransform::d_exponent [private] |
Definition at line 137 of file qwt_transform.h.