QWT API (中文) 7.0.1
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
qwt3d_parametricsurface.h
1#ifndef qwt3d_parametricsurface_h
2#define qwt3d_parametricsurface_h
3
4#include "qwt3d_gridmapping.h"
5
6namespace Qwt3D {
7
8class SurfacePlot;
9
19class QWT3D_EXPORT ParametricSurface : public GridMapping
20{
21
22public:
23 // Constructs ParametricSurface object w/o assigned SurfacePlot
25 // Constructs ParametricSurface object and assigns a SurfacePlot
26 explicit ParametricSurface(Qwt3D::SurfacePlot &plotWidget);
27 // Constructs ParametricSurface object and assigns a SurfacePlot
28 explicit ParametricSurface(Qwt3D::SurfacePlot *plotWidget);
29 // Overwrite this
30 virtual Qwt3D::Triple operator()(double u, double v) = 0;
31 // Assigns a new SurfacePlot and creates a data representation for it
32 virtual bool create(Qwt3D::SurfacePlot &plotWidget);
33 // Creates data representation for the actual assigned SurfacePlot
34 virtual bool create();
35 // Assigns the object to another widget - call before create()
36 void assign(Qwt3D::SurfacePlot &plotWidget);
37 // Assigns the object to another widget - call before create()
38 void assign(Qwt3D::SurfacePlot *plotWidget);
39 // Provide information about periodicity of the 'u' resp. 'v' domains
40 void setPeriodic(bool u, bool v);
41
42private:
43 bool uperiodic_, vperiodic_;
44};
45
46} // ns
47
48#endif /* include guarded */
作用于矩形网格的映射抽象基类
Definition qwt3d_gridmapping.h:20
参数化表面的抽象基类
Definition qwt3d_parametricsurface.h:20
表示表面的类
Definition qwt3d_surfaceplot.h:22
三元组 [x,y,z]
Definition qwt3d_types.h:240