source: pacpusframework/branches/2.0-beta1/include/extlib/qwtplot3d/qwt3d_parametricsurface.h@ 89

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: 1.5 KB
Line 
1#ifndef qwt3d_parametricsurface_h__2004_03_05_23_43_begin_guarded_code
2#define qwt3d_parametricsurface_h__2004_03_05_23_43_begin_guarded_code
3
4#include "qwt3d_gridmapping.h"
5
6namespace Qwt3D
7{
8
9class SurfacePlot;
10
11
12//! Abstract base class for parametric surfaces
13/**
14
15*/
16class QWT3D_EXPORT ParametricSurface : public GridMapping
17{
18
19public:
20 ParametricSurface(); //!< Constructs ParametricSurface object w/o assigned SurfacePlot.
21 //! Constructs ParametricSurface object and assigns a SurfacePlot
22 explicit ParametricSurface(Qwt3D::SurfacePlot& plotWidget);
23 //! Constructs ParametricSurface object and assigns a SurfacePlot
24 explicit ParametricSurface(Qwt3D::SurfacePlot* plotWidget);
25 //! Overwrite this
26 virtual Qwt3D::Triple operator()(double u, double v) = 0;
27 //! Assigns a new SurfacePlot and creates a data representation for it.
28 virtual bool create(Qwt3D::SurfacePlot& plotWidget);
29 //! Creates data representation for the actual assigned SurfacePlot.
30 virtual bool create();
31 //! Assigns the object to another widget. To see the changes, you have to call this function before create().
32 void assign(Qwt3D::SurfacePlot& plotWidget);
33 //! Assigns the object to another widget. To see the changes, you have to call this function before create().
34 void assign(Qwt3D::SurfacePlot* plotWidget);
35 //! Provide information about periodicity of the 'u' resp. 'v' domains.
36 void setPeriodic(bool u, bool v);
37
38private:
39 bool uperiodic_, vperiodic_;
40};
41
42} // ns
43
44#endif /* include guarded */
Note: See TracBrowser for help on using the repository browser.