QWT API (中文) 7.3.0
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{
8
9class SurfacePlot;
10
14class QWT3D_EXPORT ParametricSurface : public GridMapping
15{
16 QWT_DECLARE_PRIVATE(ParametricSurface)
17
18public:
19 // Constructs ParametricSurface object w/o assigned SurfacePlot
21 // Constructs ParametricSurface object and assigns a SurfacePlot
22 explicit ParametricSurface(Qwt3D::SurfacePlot& plotWidget);
23 // Constructs ParametricSurface object and assigns a SurfacePlot
24 explicit ParametricSurface(Qwt3D::SurfacePlot* plotWidget);
25 ~ParametricSurface() override;
26 // Overwrite this
27 virtual Qwt3D::Triple operator()(double u, double v) = 0;
28 // Assigns a new SurfacePlot and creates a data representation for it
29 virtual bool create(Qwt3D::SurfacePlot& plotWidget);
30 // Creates data representation for the actual assigned SurfacePlot
31 virtual bool create();
32 // Assigns the object to another widget - call before create()
33 void assign(Qwt3D::SurfacePlot& plotWidget);
34 // Assigns the object to another widget - call before create()
35 void assign(Qwt3D::SurfacePlot* plotWidget);
36 // Provide information about periodicity of the 'u' resp. 'v' domains
37 void setPeriodic(bool u, bool v);
38};
39
40} // ns
41
42#endif // QWT3D_PARAMETRICSURFACE_H
Abstract base class for mappings acting on rectangular grids
Definition qwt3d_gridmapping.h:15
Abstract base class for parametric surfaces
Definition qwt3d_parametricsurface.h:15
A class representing surfaces
Definition qwt3d_surfaceplot.h:16
Triple [x,y,z]
Definition qwt3d_types.h:170