X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=WCudaMSE%2FAPI_Bilat_Image_GL%2FINC%2Fcpu%2FGLImages_CPU.h;fp=WCudaMSE%2FAPI_Bilat_Image_GL%2FINC%2Fcpu%2FGLImages_CPU.h;h=379dc2937b4e987cd56952519737ae64a4770bab;hb=8d08c12b29c2a14684f35c023ee39e694bb80d25;hp=0000000000000000000000000000000000000000;hpb=226de81f7e1f1fbf4ac79d0d089e8a05ec7159a0;p=GPU.git diff --git a/WCudaMSE/API_Bilat_Image_GL/INC/cpu/GLImages_CPU.h b/WCudaMSE/API_Bilat_Image_GL/INC/cpu/GLImages_CPU.h new file mode 100755 index 0000000..379dc29 --- /dev/null +++ b/WCudaMSE/API_Bilat_Image_GL/INC/cpu/GLImages_CPU.h @@ -0,0 +1,73 @@ +#ifndef GLIMAGES_CPU_H +#define GLIMAGES_CPU_H + +#include "envGLImage.h" +#include "GLImages_A.h" +#include "ImageMOOs_A_CPU.h" + +/*----------------------------------------------------------------------*\ + |* Declaration *| + \*---------------------------------------------------------------------*/ + +/*--------------------------------------*\ + |* Public *| + \*-------------------------------------*/ + +namespace cpu + { + + class CBI_GLIMAGE GLImages: public GLImages_A + { + /*--------------------------------------*\ + |* Constructor *| + \*-------------------------------------*/ + public: + + /** + * (pxFrame,pyFrame) is the position of the upper left corner of the frame in screen space. + */ + GLImages(cpu::ImageMOOs_A* ptrImageMOO, bool isAnimationEnable = true); + + /*--------------------------------------*\ + |* Destructor *| + \*-------------------------------------*/ + public : + + virtual ~GLImages(); + + /*--------------------------------------*\ + |* Methodes *| + \*-------------------------------------*/ + + + protected: + /** + * Override + */ + virtual void fillPBO(); + + /*--------------------------------------*\ + |* Get *| + \*-------------------------------------*/ + + public: + + cpu::ImageMOOs_A* getPtrImageMOO(); + + /*--------------------------------------*\ + |* Attributs *| + \*-------------------------------------*/ + + private: + + // Tools + cpu::uchar4* ptrTabPixels; + + }; + } +#endif + +/*----------------------------------------------------------------------*\ + |* End *| + \*---------------------------------------------------------------------*/ +