summaryrefslogtreecommitdiffstats
path: root/lib/tqwtplot3d/include/qwt3d_gridmapping.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/include/qwt3d_gridmapping.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/include/qwt3d_gridmapping.h')
-rw-r--r--lib/tqwtplot3d/include/qwt3d_gridmapping.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/tqwtplot3d/include/qwt3d_gridmapping.h b/lib/tqwtplot3d/include/qwt3d_gridmapping.h
new file mode 100644
index 0000000..c7893e5
--- /dev/null
+++ b/lib/tqwtplot3d/include/qwt3d_gridmapping.h
@@ -0,0 +1,34 @@
+#ifndef qwt3d_gridmapping_h__2004_03_06_12_31_begin_guarded_code
+#define qwt3d_gridmapping_h__2004_03_06_12_31_begin_guarded_code
+
+#include "qwt3d_mapping.h"
+
+namespace Qwt3D
+{
+
+class SurfacePlot;
+
+
+//! Abstract base class for mappings acting on rectangular grids
+/**
+
+*/
+class QWT3D_EXPORT GridMapping : public Mapping
+{
+public:
+ GridMapping(); //!< Constructs GridMapping object w/o assigned SurfacePlot.
+
+ void setMesh(unsigned int columns, unsigned int rows); //!< Sets number of rows and columns.
+ void setDomain(double minu, double maxu, double minv, double maxv); //!< Sets u-v domain boundaries.
+ void restrictRange(Qwt3D::ParallelEpiped const&); //!< Restrict the mappings range to the parallelepiped
+
+protected:
+ Qwt3D::ParallelEpiped range_p;
+ Qwt3D::SurfacePlot* plotwidget_p;
+ unsigned int umesh_p, vmesh_p;
+ double minu_p, maxu_p, minv_p, maxv_p;
+};
+
+} // ns
+
+#endif /* include guarded */