Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / Student_OMP_Image / src / cpp / core / 01_Rippling / a_image / RipplingImage.h
diff --git a/WCudaMSE/Student_OMP_Image/src/cpp/core/01_Rippling/a_image/RipplingImage.h b/WCudaMSE/Student_OMP_Image/src/cpp/core/01_Rippling/a_image/RipplingImage.h
new file mode 100755 (executable)
index 0000000..1bfd143
--- /dev/null
@@ -0,0 +1,68 @@
+#ifndef RIPPLING_IMAGE_H_\r
+#define RIPPLING_IMAGE_H_\r
+\r
+#include "ImageMOOs_A.h"\r
+#include "RipplingMOO.h"\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    Declaration                                     *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |*            Public                  *|\r
+ \*-------------------------------------*/\r
+\r
+class RipplingImage: public ImageMOOs_A\r
+    {\r
+\r
+       /*--------------------------------------*\\r
+       |*              Constructeur            *|\r
+        \*-------------------------------------*/\r
+\r
+    public:\r
+\r
+       RipplingImage(unsigned int w, unsigned int h, float dt = 1);\r
+       virtual ~RipplingImage(void);\r
+\r
+       /*--------------------------------------*\\r
+       |*              Methode                 *|\r
+        \*-------------------------------------*/\r
+\r
+    protected:\r
+\r
+       /*----------------*\\r
+       |*  Override      *|\r
+       \*---------------*/\r
+\r
+       /**\r
+        * Override, call periodicly by the api\r
+        */\r
+       virtual void fillImageGL(uchar4* ptrTabPixels, int w, int h);\r
+\r
+       /**\r
+        * Override, call periodicly by the api\r
+        */\r
+       virtual void animationStep(bool& isNeedUpdateView);\r
+\r
+       /**\r
+        * Override, call periodicly by the api\r
+        */\r
+       virtual void paintPrimitives(Graphic2Ds& graphic2D);\r
+\r
+\r
+\r
+       /*--------------------------------------*\\r
+       |*              Attribut                *|\r
+        \*-------------------------------------*/\r
+\r
+    private:\r
+\r
+       // Tools\r
+       RipplingMOO* ptrRipplingMOO;\r
+    };\r
+\r
+#endif\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |*                    End                                             *|\r
+ \*---------------------------------------------------------------------*/\r