QWT API (中文) 7.3.0
Qt绘图库 - 中文API文档
载入中...
搜索中...
未找到
qwt3d_enrichment_std.h
1#ifndef QWT3D_ENRICHMENT_STD_H
2#define QWT3D_ENRICHMENT_STD_H
3
4#include "qwt3d_enrichment.h"
5
6namespace Qwt3D
7{
8
9class Plot3D;
10
14class QWT3D_EXPORT CrossHair : public VertexEnrichment
15{
16public:
17 CrossHair();
18 CrossHair(double rad, double linewidth, bool smooth, bool boxed);
19 CrossHair(const CrossHair& other);
20 ~CrossHair() override;
21
22 Qwt3D::Enrichment* clone() const override;
23
24 void configure(double rad, double linewidth, bool smooth, bool boxed);
25 void drawBegin() override;
26 void drawEnd() override;
27 void draw(Qwt3D::Triple const&) override;
28
29private:
30 QWT_DECLARE_PRIVATE(CrossHair)
31};
32
36class QWT3D_EXPORT Dot : public VertexEnrichment
37{
38public:
39 Dot();
40 Dot(double pointsize, bool smooth);
41 Dot(const Dot& other);
42 ~Dot() override;
43
44 Qwt3D::Enrichment* clone() const override;
45
46 void configure(double pointsize, bool smooth);
47 void drawBegin() override;
48 void drawEnd() override;
49 void draw(Qwt3D::Triple const&) override;
50
51private:
52 QWT_DECLARE_PRIVATE(Dot)
53};
54
58class QWT3D_EXPORT Cone : public VertexEnrichment
59{
60public:
61 Cone();
62 Cone(double rad, unsigned quality);
63 Cone(const Cone& other);
64 ~Cone() override;
65
66 Qwt3D::Enrichment* clone() const override;
67
68 void configure(double rad, unsigned quality);
69 void draw(Qwt3D::Triple const&) override;
70
71private:
72 QWT_DECLARE_PRIVATE(Cone)
73};
74
80class QWT3D_EXPORT Arrow : public VertexEnrichment
81{
82public:
83 Arrow();
84 Arrow(const Arrow& other);
85 ~Arrow() override;
86
87 Qwt3D::Enrichment* clone() const override;
88
89 void configure(int segs, double relconelength, double relconerad, double relstemrad);
90 void setQuality(int val);
91 void draw(Qwt3D::Triple const&) override;
92
93 void setTop(Qwt3D::Triple t);
94 void setColor(Qwt3D::RGBA rgba);
95
96private:
97 QWT_DECLARE_PRIVATE(Arrow)
98
99 double calcRotation(Qwt3D::Triple& axis, Qwt3D::FreeVector const& vec);
100};
101
102} // ns
103
104#endif // QWT3D_ENRICHMENT_STD_H
3D vector field
Definition qwt3d_enrichment_std.h:81
The Cone Style
Definition qwt3d_enrichment_std.h:59
The Cross Hair Style
Definition qwt3d_enrichment_std.h:15
The Point Style
Definition qwt3d_enrichment_std.h:37
Abstract base class for data dependent visible user objects
Definition qwt3d_enrichment.h:20
Abstract base class for vertex dependent visible user objects
Definition qwt3d_enrichment.h:62
Free vector
Definition qwt3d_types.h:323
Red-Green-Blue-Alpha value
Definition qwt3d_types.h:364
Triple [x,y,z]
Definition qwt3d_types.h:170