Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Graph2D / INC / model / Polylines.h
1 #ifndef POLYLINES_H_
2 #define POLYLINES_H_
3
4 #include "CurveParametric.h"
5
6
7 /*----------------------------------------------------------------------*\
8 |* Declaration *|
9 \*---------------------------------------------------------------------*/
10
11 /*--------------------------------------*\
12 |* Public *|
13 \*-------------------------------------*/
14
15 class CBI_GRAPH Polylines: public CurveParametric
16 {
17 public:
18 Polylines(Title title, Apparance apparance, shared_array<Point> tabPoint, int nbPoints);
19
20 virtual ~Polylines();
21
22 virtual Domaine computeDomaine(const Domaine& graphDomaine) const;
23
24 void setTabPoint(shared_array<Point> tabPoint);
25
26 /**
27 * Override
28 * Return the input Polylines tabPoints.
29 */
30 virtual shared_array<Point> getTabPoints() const;
31
32 virtual inline int getNbPoints() const
33 {
34 return nbPoints;
35 }
36
37 virtual Interval getIntervalLanda() const;
38
39 /**
40 * landa in intervalLand
41 */
42 virtual float x(double landa) const;
43
44 /**
45 * landa in intervalLand
46 */
47 virtual float y(double landa) const;
48
49 private:
50 shared_array<Point> tabPoint;
51 int nbPoints;
52 };
53
54 #endif
55
56 /*----------------------------------------------------------------------*\
57 |* End *|
58 \*---------------------------------------------------------------------*/