Last change
on this file since 89 was 89, checked in by morasjul, 11 years ago |
PACPUS 2.0 Beta deployed in new branch
Major changes:
-Add communication interface between components
-Add examples for communications interface (TestComponents)
-Move to Qt5 support
|
-
Property svn:executable
set to
*
|
File size:
943 bytes
|
Rev | Line | |
---|
[89] | 1 | #ifndef qwt3d_gridmapping_h__2004_03_06_12_31_begin_guarded_code
|
---|
| 2 | #define qwt3d_gridmapping_h__2004_03_06_12_31_begin_guarded_code
|
---|
| 3 |
|
---|
| 4 | #include "qwt3d_mapping.h"
|
---|
| 5 |
|
---|
| 6 | namespace Qwt3D
|
---|
| 7 | {
|
---|
| 8 |
|
---|
| 9 | class SurfacePlot;
|
---|
| 10 |
|
---|
| 11 |
|
---|
| 12 | //! Abstract base class for mappings acting on rectangular grids
|
---|
| 13 | /**
|
---|
| 14 |
|
---|
| 15 | */
|
---|
| 16 | class QWT3D_EXPORT GridMapping : public Mapping
|
---|
| 17 | {
|
---|
| 18 | public:
|
---|
| 19 | GridMapping(); //!< Constructs GridMapping object w/o assigned SurfacePlot.
|
---|
| 20 |
|
---|
| 21 | void setMesh(unsigned int columns, unsigned int rows); //!< Sets number of rows and columns.
|
---|
| 22 | void setDomain(double minu, double maxu, double minv, double maxv); //!< Sets u-v domain boundaries.
|
---|
| 23 | void restrictRange(Qwt3D::ParallelEpiped const&); //!< Restrict the mappings range to the parallelepiped
|
---|
| 24 |
|
---|
| 25 | protected:
|
---|
| 26 | Qwt3D::ParallelEpiped range_p;
|
---|
| 27 | Qwt3D::SurfacePlot* plotwidget_p;
|
---|
| 28 | unsigned int umesh_p, vmesh_p;
|
---|
| 29 | double minu_p, maxu_p, minv_p, maxv_p;
|
---|
| 30 | };
|
---|
| 31 |
|
---|
| 32 | } // ns
|
---|
| 33 |
|
---|
| 34 | #endif /* include guarded */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.