QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
Public 成员函数 | 静态 Public 属性 | 所有成员列表
QwtLogTransform类 参考

Logarithmic transformation 更多...

#include <qwt_transform.h>

类 QwtLogTransform 继承关系图:
QwtTransform

Public 成员函数

 QwtLogTransform ()
 Constructor
 
 ~QwtLogTransform () override
 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 成员函数 继承自 QwtTransform
 QwtTransform ()
 Constructor
 
virtual ~QwtTransform ()
 Destructor
 

静态 Public 属性

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
 

详细描述

Logarithmic transformation

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

注解
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.

构造及析构函数说明

◆ QwtLogTransform()

QwtLogTransform::QwtLogTransform ( )

Constructor

Default constructor

成员函数说明

◆ bounded()

double QwtLogTransform::bounded ( double  value) const
overridevirtual

Bounded function - qBound(LogMin, value, LogMax)

Bounded function

参数
valueValue to be bounded
返回
qBound( LogMin, value, LogMax )

重载 QwtTransform .

◆ copy()

QwtTransform * QwtLogTransform::copy ( ) const
overridevirtual

Clone of the transformation

返回
New QwtLogTransform instance

实现了 QwtTransform.

◆ invTransform()

double QwtLogTransform::invTransform ( double  value) const
overridevirtual

Inverse transformation function - exp(value)

Inverse transform function

参数
valueValue to be transformed
返回
exp( value )

实现了 QwtTransform.

◆ transform()

double QwtLogTransform::transform ( double  value) const
overridevirtual

Transformation function - log(value)

Transform function

参数
valueValue to be transformed
返回
log( value )

实现了 QwtTransform.


该类的文档由以下文件生成: