Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Student_OMP_Image / src / cpp / core / 01_Rippling / d_provider / RipplingProvider.cpp
diff --git a/WCudaMSE/Student_OMP_Image/src/cpp/core/01_Rippling/d_provider/RipplingProvider.cpp b/WCudaMSE/Student_OMP_Image/src/cpp/core/01_Rippling/d_provider/RipplingProvider.cpp
new file mode 100755 (executable)
index 0000000..a1fabe3
--- /dev/null
@@ -0,0 +1,49 @@
+#include "RipplingProvider.h"\r
+\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Declaration                                     *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Imported                *|\r
+ \*-------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Public                  *|\r
+ \*-------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Private                 *|\r
+ \*-------------------------------------*/\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Implementation                                  *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Public                  *|\r
+ \*-------------------------------------*/\r
+\r
+/*-----------------*\\r
+ |*    static     *|\r
+ \*----------------*/\r
+\r
+RipplingImage* RipplingProvider::create()\r
+    {\r
+    float dt = 1;\r
+\r
+    int dw = 16 * 60; // =32*30=960\r
+    int dh = 16 * 60; // =32*30=960\r
+\r
+    return new RipplingImage(dw, dh, dt);\r
+    }\r
+\r
+\r
+/*--------------------------------------*\\r
+ |*            Private                 *|\r
+ \*-------------------------------------*/\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    End                                             *|\r
+ \*---------------------------------------------------------------------*/\r