1 #ifndef RIPPLING_IMAGE_H_
2 #define RIPPLING_IMAGE_H_
4 #include "ImageMOOs_A.h"
5 #include "RipplingMOO.h"
7 /*----------------------------------------------------------------------*\
9 \*---------------------------------------------------------------------*/
11 /*--------------------------------------*\
13 \*-------------------------------------*/
15 class RipplingImage
: public ImageMOOs_A
18 /*--------------------------------------*\
20 \*-------------------------------------*/
24 RipplingImage(unsigned int w
, unsigned int h
, float dt
= 1);
25 virtual ~RipplingImage(void);
27 /*--------------------------------------*\
29 \*-------------------------------------*/
38 * Override, call periodicly by the api
40 virtual void fillImageGL(uchar4
* ptrTabPixels
, int w
, int h
);
43 * Override, call periodicly by the api
45 virtual void animationStep(bool& isNeedUpdateView
);
48 * Override, call periodicly by the api
50 virtual void paintPrimitives(Graphic2Ds
& graphic2D
);
54 /*--------------------------------------*\
56 \*-------------------------------------*/
61 RipplingMOO
* ptrRipplingMOO
;
66 /*----------------------------------------------------------------------*\
68 \*---------------------------------------------------------------------*/