Ajout de l'ensemble du workspace.
[GPU.git] / WCudaMSE / API_Bilat_Image_GL / INC / cpu / GLImages_CPU.h
1 #ifndef GLIMAGES_CPU_H
2 #define GLIMAGES_CPU_H
3
4 #include "envGLImage.h"
5 #include "GLImages_A.h"
6 #include "ImageMOOs_A_CPU.h"
7
8 /*----------------------------------------------------------------------*\
9 |* Declaration *|
10 \*---------------------------------------------------------------------*/
11
12 /*--------------------------------------*\
13 |* Public *|
14 \*-------------------------------------*/
15
16 namespace cpu
17 {
18
19 class CBI_GLIMAGE GLImages: public GLImages_A
20 {
21 /*--------------------------------------*\
22 |* Constructor *|
23 \*-------------------------------------*/
24 public:
25
26 /**
27 * (pxFrame,pyFrame) is the position of the upper left corner of the frame in screen space.
28 */
29 GLImages(cpu::ImageMOOs_A* ptrImageMOO, bool isAnimationEnable = true);
30
31 /*--------------------------------------*\
32 |* Destructor *|
33 \*-------------------------------------*/
34 public :
35
36 virtual ~GLImages();
37
38 /*--------------------------------------*\
39 |* Methodes *|
40 \*-------------------------------------*/
41
42
43 protected:
44 /**
45 * Override
46 */
47 virtual void fillPBO();
48
49 /*--------------------------------------*\
50 |* Get *|
51 \*-------------------------------------*/
52
53 public:
54
55 cpu::ImageMOOs_A* getPtrImageMOO();
56
57 /*--------------------------------------*\
58 |* Attributs *|
59 \*-------------------------------------*/
60
61 private:
62
63 // Tools
64 cpu::uchar4* ptrTabPixels;
65
66 };
67 }
68 #endif
69
70 /*----------------------------------------------------------------------*\
71 |* End *|
72 \*---------------------------------------------------------------------*/
73