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
6
7
11class QWT3D_EXPORT Qwt3DGridMapping : public Qwt3DMapping
12{
13public:
14 // Constructs Qwt3DGridMapping object
16 ~Qwt3DGridMapping() override;
17
18 // Sets number of rows and columns
19 void setMesh(unsigned int columns, unsigned int rows);
20 // Sets u-v domain boundaries
21 void setDomain(double minu, double maxu, double minv, double maxv);
22 // Restrict the mappings range to the parallelepiped
23 void restrictRange(ParallelEpiped const&);
24
25protected:
26 QWT_DECLARE_PRIVATE(Qwt3DGridMapping)
27
28 ParallelEpiped& range();
29 const ParallelEpiped& range() const;
30
31 unsigned int meshU() const;
32 unsigned int meshV() const;
33
34 double minU() const;
35 double maxU() const;
36 double minV() const;
37 double maxV() const;
38};
39
40
41#endif
Abstract base class for mappings acting on rectangular grids
Definition qwt3d_gridmapping.h:12
Abstract base class for general mappings
Definition qwt3d_mapping.h:14
Parallelepiped spanned by 2 Triples
Definition qwt3d_types.h:334