2 #define HELLO_FONCTIONEL_H_
5 #include "AnimableFonctionel_I.h"
7 #include "VariateurF.h"
9 /*----------------------------------------------------------------------*\
11 \*---------------------------------------------------------------------*/
13 /*--------------------------------------*\
15 \*-------------------------------------*/
17 class Damier
: public AnimableFonctionel_I
19 /*--------------------------------------*\
21 \*-------------------------------------*/
25 Damier(int w
, int h
, float dt
, int n
);
26 virtual ~Damier(void);
28 /*--------------------------------------*\
30 \*-------------------------------------*/
41 * Call periodicly by the API
43 virtual void animationStep(void);
45 void runGPU(uchar4
* ptrDevPixels
, const DomaineMath
& domaineMath
); // Override
50 float getT(void); // Override
51 int getW(void); // Override
52 int getH(void); // Override
53 DomaineMath
* getDomaineMathInit(void); // Override
54 string
getTitle(void); // Override
58 /*--------------------------------------*\
60 \*-------------------------------------*/
72 float t
; // para animation
73 VariateurF variateurAnimation
; // varier t
74 DomaineMath
* ptrDomaineMathInit
;
82 /*----------------------------------------------------------------------*\
84 \*---------------------------------------------------------------------*/