Public Member Functions | Static Public Attributes
QwtLogTransform Class Reference

Logarithmic transformation. More...

#include <qwt_transform.h>

Inheritance diagram for QwtLogTransform:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual double bounded (double value) const
virtual QwtTransformcopy () const
virtual double invTransform (double value) const
 QwtLogTransform ()
 Constructor.
virtual double transform (double value) const
virtual ~QwtLogTransform ()
 Destructor.

Static Public Attributes

static const double LogMax = 1.0e150
 Largest allowed value for logarithmic scales: 1.0e150.
static const double LogMin = 1.0e-150
 Smallest allowed value for logarithmic scales: 1.0e-150.

Detailed Description

Logarithmic transformation.

QwtLogTransform modifies the values using log() and exp().

Note:
In the calculations of QwtScaleMap the base of the log function has no effect on the mapping. So QwtLogTransform can be used for log2(), log10() or any other logarithmic scale.

Definition at line 100 of file qwt_transform.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 78 of file qwt_transform.cpp.

Destructor.

Definition at line 84 of file qwt_transform.cpp.


Member Function Documentation

double QwtLogTransform::bounded ( double  value) const [virtual]
Parameters:
valueValue to be bounded
Returns:
qBound( LogMin, value, LogMax )

Reimplemented from QwtTransform.

Definition at line 110 of file qwt_transform.cpp.

QwtTransform * QwtLogTransform::copy ( ) const [virtual]
Returns:
Clone of the transformation

Implements QwtTransform.

Definition at line 116 of file qwt_transform.cpp.

double QwtLogTransform::invTransform ( double  value) const [virtual]
Parameters:
valueValue to be transformed
Returns:
exp( value )

Implements QwtTransform.

Definition at line 101 of file qwt_transform.cpp.

double QwtLogTransform::transform ( double  value) const [virtual]
Parameters:
valueValue to be transformed
Returns:
log( value )

Implements QwtTransform.

Definition at line 92 of file qwt_transform.cpp.


Member Data Documentation

const double QwtLogTransform::LogMax = 1.0e150 [static]

Largest allowed value for logarithmic scales: 1.0e150.

Definition at line 114 of file qwt_transform.h.

const double QwtLogTransform::LogMin = 1.0e-150 [static]

Smallest allowed value for logarithmic scales: 1.0e-150.

Definition at line 113 of file qwt_transform.h.


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