Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Graph2D / INC / model / CurveDiscret.h
1 #ifndef CURVEDISCRET_H_
2 #define CURVEDISCRET_H_
3
4 #include "Polylines.h"
5
6 /*----------------------------------------------------------------------*\
7 |* Declaration *|
8 \*---------------------------------------------------------------------*/
9
10 /*--------------------------------------*\
11 |* Public *|
12 \*-------------------------------------*/
13
14 class CBI_GRAPH CurveDiscret : public Polylines
15 {
16 public:
17
18 CurveDiscret(Title title, Apparance apparance, shared_array<float> tabValues, int nbPoints);
19
20 virtual ~CurveDiscret();
21
22 void setTabValues(shared_array<float> tabValues);
23
24 private :
25
26 static shared_array<Point> toTabPoint(shared_array<float> tabValues, int nbPoints);
27 };
28
29 #endif
30
31 /*----------------------------------------------------------------------*\
32 |* End *|
33 \*---------------------------------------------------------------------*/