QWT API (English) 7.3.0
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
qwt3d_enrichment_std.h
1#ifndef QWT3D_ENRICHMENT_STD_H
2#define QWT3D_ENRICHMENT_STD_H
3
4#include "qwt3d_enrichment.h"
5
6
7
11class QWT3D_EXPORT Qwt3DCrossHair : public Qwt3DVertexEnrichment
12{
13public:
15 Qwt3DCrossHair(double rad, double linewidth, bool smooth, bool boxed);
16 Qwt3DCrossHair(const Qwt3DCrossHair& other);
17 ~Qwt3DCrossHair() override;
18
19 Qwt3DEnrichment* clone() const override;
20
21 void configure(double rad, double linewidth, bool smooth, bool boxed);
22 void drawBegin() override;
23 void drawEnd() override;
24 void draw(Triple const&) override;
25
26private:
27 QWT_DECLARE_PRIVATE(Qwt3DCrossHair)
28};
29
33class QWT3D_EXPORT Qwt3DDot : public Qwt3DVertexEnrichment
34{
35public:
36 Qwt3DDot();
37 Qwt3DDot(double pointsize, bool smooth);
38 Qwt3DDot(const Qwt3DDot& other);
39 ~Qwt3DDot() override;
40
41 Qwt3DEnrichment* clone() const override;
42
43 void configure(double pointsize, bool smooth);
44 void drawBegin() override;
45 void drawEnd() override;
46 void draw(Triple const&) override;
47
48private:
49 QWT_DECLARE_PRIVATE(Qwt3DDot)
50};
51
55class QWT3D_EXPORT Qwt3DCone : public Qwt3DVertexEnrichment
56{
57public:
58 Qwt3DCone();
59 Qwt3DCone(double rad, unsigned quality);
60 Qwt3DCone(const Qwt3DCone& other);
61 ~Qwt3DCone() override;
62
63 Qwt3DEnrichment* clone() const override;
64
65 void configure(double rad, unsigned quality);
66 void draw(Triple const&) override;
67
68private:
69 QWT_DECLARE_PRIVATE(Qwt3DCone)
70};
71
77class QWT3D_EXPORT Qwt3DArrow : public Qwt3DVertexEnrichment
78{
79public:
80 Qwt3DArrow();
81 Qwt3DArrow(const Qwt3DArrow& other);
82 ~Qwt3DArrow() override;
83
84 Qwt3DEnrichment* clone() const override;
85
86 void configure(int segs, double relconelength, double relconerad, double relstemrad);
87 void setQuality(int val);
88 void draw(Triple const&) override;
89
90 void setTop(Triple t);
91 void setColor(RGBA rgba);
92
93private:
94 QWT_DECLARE_PRIVATE(Qwt3DArrow)
95
96 double calcRotation(Triple& axis, FreeVector const& vec);
97};
98
99
100#endif // QWT3D_ENRICHMENT_STD_H
3D vector field
Definition qwt3d_enrichment_std.h:78
The Cone Style.
Definition qwt3d_enrichment_std.h:56
The Cross Hair Style.
Definition qwt3d_enrichment_std.h:12
The Point Style.
Definition qwt3d_enrichment_std.h:34
Abstract base class for data dependent visible user objects.
Definition qwt3d_enrichment.h:15
Abstract base class for vertex dependent visible user objects.
Definition qwt3d_enrichment.h:49
Free vector.
Definition qwt3d_types.h:354
Red-Green-Blue-Alpha value.
Definition qwt3d_types.h:395
Triple [x,y,z].
Definition qwt3d_types.h:201