QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
QwtLogTransform Class Reference

Logarithmic transformation. More...

#include <qwt_transform.h>

Inheritance diagram for QwtLogTransform:
QwtTransform

Public Member Functions

 QwtLogTransform ()
 Constructor.
 
virtual ~QwtLogTransform ()
 Destructor.
 
virtual double transform (double value) const override
 Transformation function - log(value)
 
virtual double invTransform (double value) const override
 Inverse transformation function - exp(value)
 
virtual double bounded (double value) const override
 Bounded function - qBound(LogMin, value, LogMax)
 
virtual QwtTransformcopy () const override
 Clone of the transformation.
 
- Public Member Functions inherited from QwtTransform
 QwtTransform ()
 Constructor.
 
virtual ~QwtTransform ()
 Destructor.
 

Static Public Attributes

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

Detailed Description

Logarithmic transformation.

Constructor & Destructor Documentation

◆ QwtLogTransform()

QwtLogTransform::QwtLogTransform ( )

Constructor.

Default constructor .

◆ ~QwtLogTransform()

QwtLogTransform::~QwtLogTransform ( )
virtual

Destructor.

Destructor .

Member Function Documentation

◆ bounded()

double QwtLogTransform::bounded ( double  value) const
overridevirtual

Bounded function - qBound(LogMin, value, LogMax)

Bounded function.

Reimplemented from QwtTransform.

◆ copy()

QwtTransform * QwtLogTransform::copy ( ) const
overridevirtual

Clone of the transformation.

Implements QwtTransform.

◆ invTransform()

double QwtLogTransform::invTransform ( double  value) const
overridevirtual

Inverse transformation function - exp(value)

Inverse transform function.

Implements QwtTransform.

◆ transform()

double QwtLogTransform::transform ( double  value) const
overridevirtual

Transformation function - log(value)

Transform function.

Implements QwtTransform.

Member Data Documentation

◆ LogMax

const double QwtLogTransform::LogMax = 1.0e150
static

Largest allowed value for logarithmic scales: 1.0e150.

Largest allowed value for logarithmic scales: 1.0e150

◆ LogMin

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

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

Smallest allowed value for logarithmic scales: 1.0e-150


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