Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Graph2D / INC / model / CurveDiscret.h
diff --git a/WCudaMSE/API_Bilat_Graph2D/INC/model/CurveDiscret.h b/WCudaMSE/API_Bilat_Graph2D/INC/model/CurveDiscret.h
new file mode 100755 (executable)
index 0000000..3ad9bc3
--- /dev/null
@@ -0,0 +1,33 @@
+#ifndef CURVEDISCRET_H_\r
+#define CURVEDISCRET_H_\r
+\r
+#include "Polylines.h"\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Declaration                                     *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Public                  *|\r
+ \*-------------------------------------*/\r
+\r
+class CBI_GRAPH CurveDiscret : public Polylines\r
+    {\r
+    public:\r
+\r
+       CurveDiscret(Title title, Apparance apparance, shared_array<float> tabValues, int nbPoints);\r
+\r
+       virtual ~CurveDiscret();\r
+\r
+       void setTabValues(shared_array<float> tabValues);\r
+\r
+    private :\r
+\r
+       static shared_array<Point> toTabPoint(shared_array<float> tabValues, int nbPoints);\r
+    };\r
+\r
+#endif \r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    End                                             *|\r
+ \*---------------------------------------------------------------------*/\r