+#ifndef RIPPLING_0_MATH_H_\r
+#define RIPPLING_0_MATH_H_\r
+\r
+#include <math.h>\r
+#include "MathTools.h"\r
+\r
+/*----------------------------------------------------------------------*\\r
+ |* Declaration *|\r
+ \*---------------------------------------------------------------------*/\r
+\r
+/*--------------------------------------*\\r
+ |* Public *|\r
+ \*-------------------------------------*/\r
+\r
+class Rippling0Math\r
+ {\r
+\r
+ /*--------------------------------------*\\r
+ |* Constructor *|\r
+ \*-------------------------------------*/\r
+\r
+ public:\r
+\r
+ __device__\r
+ Rippling0Math(int w, int h)\r
+ {\r
+ // TODO\r
+ }\r
+\r
+ __device__\r
+ Rippling0Math(const Rippling0Math& source)\r
+ {\r
+ // TODO\r
+ }\r
+\r
+ /*--------------------------------------*\\r
+ |* Methodes *|\r
+ \*-------------------------------------*/\r
+\r
+ public:\r
+\r
+ /**\r
+ * x=pixelI\r
+ * y=pixelJ\r
+ */\r
+ __device__\r
+ void color(int i, int j, float t, uchar4* ptrColor)\r
+ {\r
+ // Debug (a mettre en commentaire)\r
+ {\r
+ unsigned char levelGris = 128; //in [0.255] (debug image)\r
+ ptrColor->x = levelGris;\r
+ ptrColor->y = levelGris;\r
+ ptrColor->z = levelGris;\r
+ }\r
+\r
+ // Vrai problem\r
+ {\r
+ // TODO\r
+ }\r
+\r
+ //color.w = 255; // opaque\r
+ }\r
+\r
+ private:\r
+\r
+ /*--------------------------------------*\\r
+ |* Attributs *|\r
+ \*-------------------------------------*/\r
+\r
+ private:\r
+\r
+ };\r
+\r
+#endif \r
+\r
+/*----------------------------------------------------------------------*\\r
+ |* End *|\r
+ \*---------------------------------------------------------------------*/\r