Début du TP convolution. Pour l'instant uniquement lecture d'une vidéo.
[GPU.git] / WCudaMSE / Student_Cuda_Image / src / cpp / core / 06_Convolution / ImageConvolutionCuda.h
diff --git a/WCudaMSE/Student_Cuda_Image/src/cpp/core/06_Convolution/ImageConvolutionCuda.h b/WCudaMSE/Student_Cuda_Image/src/cpp/core/06_Convolution/ImageConvolutionCuda.h
new file mode 100644 (file)
index 0000000..fb35821
--- /dev/null
@@ -0,0 +1,24 @@
+
+#ifndef IMAGE_CONVOLUTION_CUDA_H
+#define IMAGE_CONVOLUTION_CUDA_H
+
+#include "Image.h"
+#include "CaptureVideo.h"
+
+class ImageConvolutionCuda : public Image
+    {
+    public:
+        ImageConvolutionCuda(Animable_I* ptrAnimable, CaptureVideo* captureur ,ColorRGB_01* ptrColorTitreRGB = new ColorRGB_01(1, 0, 0));
+
+        virtual ~ImageConvolutionCuda();
+
+    public:
+        void fillImageGL(uchar4* ptrDevImageGL, int w, int h); // override
+        //void animationStep(bool& isNeedUpdateView); // override
+        //void paintPrimitives(Graphic2Ds& graphic2D); // override
+
+    private:
+        CaptureVideo* captureur;
+    };
+
+#endif