summaryrefslogtreecommitdiffstats
path: root/lib/tqwtplot3d/examples/enrichments/src/enrichments.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-11 14:15:27 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-07-11 14:15:27 -0500
commitb85a292ce06475d560bfa1195b63a8bfe211f22d (patch)
tree463d71be55ff807513139f1de106aef6bdd7b4db /lib/tqwtplot3d/examples/enrichments/src/enrichments.h
parentce039289815e2802fdeca8d384126c807ca9cb58 (diff)
downloadulab-b85a292ce06475d560bfa1195b63a8bfe211f22d.tar.gz
ulab-b85a292ce06475d560bfa1195b63a8bfe211f22d.zip
Add 0.2.7 release of qwtplot3d for future TQt3 conversion and use
Diffstat (limited to 'lib/tqwtplot3d/examples/enrichments/src/enrichments.h')
-rw-r--r--lib/tqwtplot3d/examples/enrichments/src/enrichments.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/tqwtplot3d/examples/enrichments/src/enrichments.h b/lib/tqwtplot3d/examples/enrichments/src/enrichments.h
new file mode 100644
index 0000000..2a47968
--- /dev/null
+++ b/lib/tqwtplot3d/examples/enrichments/src/enrichments.h
@@ -0,0 +1,31 @@
+#ifndef enrichments_h__2004_02_25_13_58_begin_guarded_code
+#define enrichments_h__2004_02_25_13_58_begin_guarded_code
+
+#include "qwt3d_plot.h"
+
+
+class Bar : public Qwt3D::VertexEnrichment
+{
+public:
+ Bar();
+ Bar(double rad, double level);
+
+ Qwt3D::Enrichment* clone() const {return new Bar(*this);}
+
+ void configure(double rad, double level);
+ void drawBegin();
+ void drawEnd();
+ void draw(Qwt3D::Triple const&);
+
+private:
+ double level_, radius_;
+ double diag_;
+};
+
+class Label3D
+{
+public:
+ void draw(Qwt3D::Triple const&, double w, double h);
+};
+
+#endif