Public Member Functions
QwtTransform Class Reference

A transformation between coordinate systems. More...

#include <qwt_transform.h>

Inheritance diagram for QwtTransform:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Detailed Description

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:

Definition at line 35 of file qwt_transform.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 24 of file qwt_transform.cpp.

Destructor.

Definition at line 29 of file qwt_transform.cpp.


Member Function Documentation

double QwtTransform::bounded ( double  value) const [virtual]

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

Parameters:
valueValue to be bounded
Returns:
value unmodified

Reimplemented in QwtLogTransform.

Definition at line 37 of file qwt_transform.cpp.

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

Virtualized copy operation.

Implemented in QwtPowerTransform, QwtLogTransform, and QwtNullTransform.

virtual double QwtTransform::invTransform ( double  value) const [pure virtual]

Inverse transformation function

Parameters:
valueValue
Returns:
Modified value
See also:
transform()

Implemented in QwtPowerTransform, QwtLogTransform, and QwtNullTransform.

virtual double QwtTransform::transform ( double  value) const [pure virtual]

Transformation function

Parameters:
valueValue
Returns:
Modified value
See also:
invTransform()

Implemented in QwtPowerTransform, QwtLogTransform, and QwtNullTransform.


The documentation for this class was generated from the following files:


plotjuggler
Author(s): Davide Faconti
autogenerated on Wed Jul 3 2019 19:28:06