QwtPowerTransform(3) Qwt User's Guide QwtPowerTransform(3)

QwtPowerTransform - A transformation using pow()

#include <qwt_transform.h>

Inherits QwtTransform.


QwtPowerTransform (double exponent)
virtual ~QwtPowerTransform ()
Destructor. virtual double transform (double value) const override
virtual double invTransform (double value) const override
virtual QwtTransform * copy () const override

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.

Constructor

Parameters

exponent Exponent

Definition at line 121 of file qwt_transform.cpp.

QwtTransform * QwtPowerTransform::copy () const [override], [virtual]

Returns

Clone of the transformation

Implements QwtTransform.

Definition at line 158 of file qwt_transform.cpp.

Parameters

value Value to be transformed

Returns

Inverse exponentiation preserving the sign

Implements QwtTransform.

Definition at line 149 of file qwt_transform.cpp.

Parameters

value Value to be transformed

Returns

Exponentiation preserving the sign

Implements QwtTransform.

Definition at line 136 of file qwt_transform.cpp.

Generated automatically by Doxygen for Qwt User's Guide from the source code.

Sun Jul 18 2021 Version 6.2.0