Qwt User's Guide 6.1.2

- Main Page
- Related Pages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
QwtPowerTransform Class Reference

A transformation using pow() More...

`#include <qwt_transform.h>`

Inheritance diagram for QwtPowerTransform:
[legend]

## Public Member Functions
| QwtPowerTransform (double exponent)
virtual | ~QwtPowerTransform ()
| Destructor.
virtual double | transform (double value) const
virtual double | invTransform (double value) const
virtual QwtTransform * | copy () const
Public Member Functions inherited from QwtTransform
| QwtTransform ()
| Constructor.
virtual | ~QwtTransform ()
| Destructor.
virtual double | bounded (double value) const

## Detailed Description

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 & Destructor Documentation

QwtPowerTransform::QwtPowerTransform | ( | double | exponent | ) |

Constructor

Parameters

  exponent | Exponent

## Member Function Documentation

QwtTransform * QwtPowerTransform::copy | ( |  | ) | const
| virtual

Returns
  Clone of the transformation

Implements QwtTransform.

double QwtPowerTransform::invTransform | ( | double | value | ) | const
| virtual

Parameters

  value | Value to be transformed

Returns
  Inverse exponentiation preserving the sign

Implements QwtTransform.

double QwtPowerTransform::transform | ( | double | value | ) | const
| virtual

Parameters

  value | Value to be transformed

Returns
  Exponentiation preserving the sign

Implements QwtTransform.