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

QwtTransform - A transformation between coordinate systems.

#include <qwt_transform.h>

Inherited by QwtLogTransform, QwtNullTransform, and QwtPowerTransform.


QwtTransform ()
Constructor. virtual ~QwtTransform ()
Destructor. virtual double bounded (double value) const
virtual double transform (double value) const =0
virtual double invTransform (double value) const =0
virtual QwtTransform * copy () const =0
Virtualized copy operation.

A transformation between coordinate systems.

QwtTransform manipulates values, when being mapped between the scale and the paint device coordinate system.

A transformation consists of 2 methods:

where one is is the inverse function of the other.

When p1, p2 are the boundaries of the paint device coordinates and s1, s2 the boundaries of the scale, QwtScaleMap uses the following calculations:

Modify value to be a valid value for the transformation. The default implementation does nothing.

Parameters:

value Value to be bounded

Returns:

value unmodified

Reimplemented in QwtLogTransform.

Inverse transformation function

Parameters:

value Value

Returns:

Modified value

See also:

transform()

Implemented in QwtPowerTransform, QwtLogTransform, and QwtNullTransform.

Transformation function

Parameters:

value Value

Returns:

Modified value

See also:

invTransform()

Implemented in QwtPowerTransform, QwtLogTransform, and QwtNullTransform.

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

Wed Jan 2 2019 Version 6.1.4