5#include "qwt3d_types.h"
6#include "qwt3d_autoscaler.h"
7#include "qwt3d_autoptr.h"
38 virtual QString ticLabel(
unsigned int idx)
const;
40 virtual void setLimits(
double start,
double stop);
42 virtual void setMajors(
int val) { majorintervals_p = val; }
44 virtual void setMinors(
int val)
46 minorintervals_p = val;
48 virtual void setMajorLimits(
double start,
double stop);
51 int majors()
const {
return majorintervals_p; }
53 int minors()
const {
return minorintervals_p; }
56 virtual Scale *clone()
const = 0;
58 virtual void calculate() = 0;
59 virtual int autoscale(
double &a,
double &b,
double start,
double stop,
int ivals);
61 std::vector<double> majors_p, minors_p;
62 double start_p, stop_p;
63 int majorintervals_p, minorintervals_p;
64 double mstart_p, mstop_p;
67 void destroy()
const {
delete this; }
85 int autoscale(
double &a,
double &b,
double start,
double stop,
int ivals);
107 QString ticLabel(
unsigned int idx)
const;
108 void setMinors(
int val);
116 void setupCounter(
double &k,
int &step);
带标题的自动缩放坐标轴
Definition qwt3d_axis.h:26
线性刻度的自动美化缩放器
Definition qwt3d_autoscaler.h:42
坐标轴编号的标准(1:1)映射类
Definition qwt3d_scale.h:80
log10 对数刻度
Definition qwt3d_scale.h:102
非可视化刻度类,封装刻度线生成
Definition qwt3d_scale.h:31
提供原始指针深拷贝的简单自动指针
Definition qwt3d_autoptr.h:31