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

线性刻度的自动美化缩放器 更多...

#include <qwt3d_autoscaler.h>

类 Qwt3D::LinearAutoScaler 继承关系图:
Qwt3D::AutoScaler

Protected 成员函数

 LinearAutoScaler ()
 Initializes with an {1,2,5} sequence of mantissas
 
 LinearAutoScaler (std::vector< double > &mantisses)
 Initialize with interval [0,1] and one requested interval
 
AutoScalerclone () const
 
int execute (double &a, double &b, double start, double stop, int ivals)
 

友元

class LinearScale
 

详细描述

线性刻度的自动美化缩放器

构造及析构函数说明

◆ LinearAutoScaler()

LinearAutoScaler::LinearAutoScaler ( std::vector< double > &  mantisse)
explicitprotected

Initialize with interval [0,1] and one requested interval

val mantisse A increasing ordered vector of values representing mantisse values between 1 and 9.

成员函数说明

◆ clone()

AutoScaler * Qwt3D::LinearAutoScaler::clone ( ) const
inlineprotectedvirtual

实现了 Qwt3D::AutoScaler.

◆ execute()

int LinearAutoScaler::execute ( double &  a,
double &  b,
double  start,
double  stop,
int  ivals 
)
protectedvirtual
  \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.

实现了 Qwt3D::AutoScaler.


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