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
virtual double invTransform (double value) const
virtual QwtTransform * copy () const

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.

Constructor

Parameters:

exponent Exponent

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

Returns:

Clone of the transformation

Implements QwtTransform.

Parameters:

value Value to be transformed

Returns:

Inverse exponentiation preserving the sign

Implements QwtTransform.

Parameters:

value Value to be transformed

Returns:

Exponentiation preserving the sign

Implements QwtTransform.

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

Wed Jan 2 2019 Version 6.1.4