QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
qwt3d_gridmapping.h
1#ifndef QWT3D_GRIDMAPPING_H
2#define QWT3D_GRIDMAPPING_H
3
4#include "qwt3d_mapping.h"
5
6namespace Qwt3D
7{
8
9class SurfacePlot;
10
14class QWT3D_EXPORT GridMapping : public Mapping
15{
16public:
17 // Constructs GridMapping object w/o assigned SurfacePlot
19 ~GridMapping() override;
20
21 // Sets number of rows and columns
22 void setMesh(unsigned int columns, unsigned int rows);
23 // Sets u-v domain boundaries
24 void setDomain(double minu, double maxu, double minv, double maxv);
25 // Restrict the mappings range to the parallelepiped
26 void restrictRange(Qwt3D::ParallelEpiped const&);
27
28protected:
29 QWT_DECLARE_PRIVATE(GridMapping)
30
31 // Accessors for subclasses
32 Qwt3D::SurfacePlot* plotWidget() const;
33 void setPlotWidget(Qwt3D::SurfacePlot* pw);
34
35 Qwt3D::ParallelEpiped& range();
36 const Qwt3D::ParallelEpiped& range() const;
37
38 unsigned int meshU() const;
39 unsigned int meshV() const;
40
41 double minU() const;
42 double maxU() const;
43 double minV() const;
44 double maxV() const;
45};
46
47} // ns
48
49#endif // QWT3D_GRIDMAPPING_H
Abstract base class for mappings acting on rectangular grids
Definition qwt3d_gridmapping.h:15
Abstract base class for general mappings
Definition qwt3d_mapping.h:15
A class representing surfaces
Definition qwt3d_surfaceplot.h:16
Parallelepiped spanned by 2 Triples
Definition qwt3d_types.h:303