X-Git-Url: http://git.euphorik.ch/?p=GPU.git;a=blobdiff_plain;f=WCudaMSE%2FTuto_Image%2Fsrc%2Fcpp%2Fcore%2F01_Vague%2Fb_moo%2FVagueMOO.h;h=b13a900b2d732cea405f5af436fd426f3e9124e9;hp=b0b862a1489bd610fe8882df6b52e2ba8aaf055e;hb=1ad82fc988adf2f8837584ec26873953a83dc7b8;hpb=00e3a81161ef7d45c0a4eb7f212cd6522afea394 diff --git a/WCudaMSE/Tuto_Image/src/cpp/core/01_Vague/b_moo/VagueMOO.h b/WCudaMSE/Tuto_Image/src/cpp/core/01_Vague/b_moo/VagueMOO.h index b0b862a..b13a900 100755 --- a/WCudaMSE/Tuto_Image/src/cpp/core/01_Vague/b_moo/VagueMOO.h +++ b/WCudaMSE/Tuto_Image/src/cpp/core/01_Vague/b_moo/VagueMOO.h @@ -1,63 +1,63 @@ -#ifndef VAGUE_MOO_H_ -#define VAGUE_MOO_H_ - -#include "cudaType.h" - - -/*----------------------------------------------------------------------*\ - |* Declaration *| - \*---------------------------------------------------------------------*/ - -/*--------------------------------------*\ - |* Public *| - \*-------------------------------------*/ - -class VagueMOO - { - - /*--------------------------------------*\ - |* Constructeur *| - \*-------------------------------------*/ - - public: - - VagueMOO(unsigned int w, unsigned int h, float dt); - virtual ~VagueMOO(void); - - /*--------------------------------------*\ - |* Methode *| - \*-------------------------------------*/ - - public: - - void process(uchar4* ptrTabPixels, int w, int h); - void animationStep(); - float getT(); - float getDT(); - - private: - - // Balayage image - void entrelacementOMP(uchar4* ptrTabPixels,int w, int h); - void forAutoOMP(uchar4* ptrTabPixels,int w, int h); - - /*--------------------------------------*\ - |* Attribut *| - \*-------------------------------------*/ - - private: - - // Inputs - double dt; - unsigned char w; - - // Tools - double t; - bool isEntrelacement; - }; - -#endif - -/*----------------------------------------------------------------------*\ - |* End *| - /*----------------------------------------------------------------------*/ +#ifndef VAGUE_MOO_H_ +#define VAGUE_MOO_H_ + +#include "cudaType.h" + + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +class VagueMOO + { + + /*--------------------------------------*\ + |* Constructeur *| + \*-------------------------------------*/ + + public: + + VagueMOO(unsigned int w, unsigned int h, float dt); + virtual ~VagueMOO(void); + + /*--------------------------------------*\ + |* Methode *| + \*-------------------------------------*/ + + public: + + void process(uchar4* ptrTabPixels, int w, int h); + void animationStep(); + float getT(); + float getDT(); + + private: + + // Balayage image + void entrelacementOMP(uchar4* ptrTabPixels,int w, int h); + void forAutoOMP(uchar4* ptrTabPixels,int w, int h); + + /*--------------------------------------*\ + |* Attribut *| + \*-------------------------------------*/ + + private: + + // Inputs + double dt; + unsigned char w; + + // Tools + double t; + bool isEntrelacement; + }; + +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + /*----------------------------------------------------------------------*/