QWT API (中文) 7.0.1
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
qwt3d_function.h
1#ifndef qwt3d_function_h
2#define qwt3d_function_h
3
4#include "qwt3d_gridmapping.h"
5
6namespace Qwt3D {
7
8class SurfacePlot;
9
25class QWT3D_EXPORT Function : public GridMapping
26{
27
28public:
29 // Constructs Function object w/o assigned SurfacePlot
30 Function();
31 // Constructs Function object and assigns a SurfacePlot
32 explicit Function(Qwt3D::SurfacePlot &plotWidget);
33 // Constructs Function object and assigns a SurfacePlot
34 explicit Function(Qwt3D::SurfacePlot *plotWidget);
35 // Overwrite this
36 virtual double operator()(double x, double y) = 0;
37
38 // Sets minimal z value
39 void setMinZ(double val);
40 // Sets maximal z value
41 void setMaxZ(double val);
42
43 // Assigns a new SurfacePlot and creates a data representation for it
44 virtual bool create(Qwt3D::SurfacePlot &plotWidget);
45 // Creates data representation for the actual assigned SurfacePlot
46 virtual bool create();
47 // Assigns the object to another widget - call before create()
48 void assign(Qwt3D::SurfacePlot &plotWidget);
49 // Assigns the object to another widget - call before create()
50 void assign(Qwt3D::SurfacePlot *plotWidget);
51};
52
53} // ns
54
55#endif /* include guarded */
数学函数的抽象基类
Definition qwt3d_function.h:26
作用于矩形网格的映射抽象基类
Definition qwt3d_gridmapping.h:20
表示表面的类
Definition qwt3d_surfaceplot.h:22