QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
| Protected 成员函数 | 友元 | 所有成员列表
Qwt3DLinearAutoScaler类 参考

Automatic beautifying of linear scales 更多...

#include <qwt3d_autoscaler.h>

类 Qwt3DLinearAutoScaler 继承关系图:
Qwt3DAutoScaler

class  PrivateData
 

Protected 成员函数

 Qwt3DLinearAutoScaler (std::vector< double > &mantisses)
 
Qwt3DAutoScalerclone () const override
 Returns a deep copy of this autoscaler
 
int execute (double &a, double &b, double start, double stop, int ivals) override
 
void copyStateFrom (const Qwt3DLinearAutoScaler &other)
 

友元

class Qwt3DLinearScale
 

详细描述

Automatic beautifying of linear scales

成员函数说明

◆ clone()

Qwt3DAutoScaler * Qwt3DLinearAutoScaler::clone ( ) const
overrideprotectedvirtual

Returns a deep copy of this autoscaler

返回
A new Qwt3DLinearAutoScaler with identical state

实现了 Qwt3DAutoScaler.

◆ execute()

int Qwt3DLinearAutoScaler::execute ( double &  a,
double &  b,
double  start,
double  stop,
int  ivals 
)
overrideprotectedvirtual
  @brief Does the actual scaling
  @return Number of intervals after rescaling. This will in the most cases differ
  from the requested interval number!  Always >0.
  @param a Start value after scaling (always >= start)
  @param b Stop value after scaling  (always <= stop)
参数
startStart value
stopStop value
ivalsRequested intervals
返回
Number of intervals after autoscaling
  If the given interval has zero length the function returns the current
  interval number and a and b remain unchanged.

实现了 Qwt3DAutoScaler.


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