File: qwt3d_gridmapping.h

package info (click to toggle)
qwtplot3d 0.2.7%2Bsvn191-7
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 1,304 kB
  • ctags: 1,968
  • sloc: cpp: 8,913; ansic: 5,078; python: 95; makefile: 66; sh: 1
file content (34 lines) | stat: -rw-r--r-- 909 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 */