1 #ifndef ANIMABLE_FONCTIONEL_I_H_
2 #define ANIMABLE_FONCTIONEL_I_H_
9 #include "DomaineMath.h"
11 /*----------------------------------------------------------------------*\
13 \*---------------------------------------------------------------------*/
15 /*--------------------------------------*\
17 \*-------------------------------------*/
19 class AnimableFonctionel_I
22 virtual ~AnimableFonctionel_I() {}
24 virtual void runGPU(uchar4
* ptrDevPixels
,const DomaineMath
& domaineMath
)=0;
25 virtual void animationStep(void)=0;
27 virtual int getW(void)=0;
28 virtual int getH(void)=0;
29 virtual DomaineMath
* getDomaineMathInit(void)=0;
32 * Ancienne version de l'interface.
34 virtual float getT(void) { return 0.0; };
36 virtual std::vector
<std::string
> getNames() { std::vector
<std::string
> def
; def
.push_back("t = "); return def
; }
37 virtual void getValues(float* values
) { values
[0] = this->getT(); }
39 virtual std::string
getTitle(void)=0;
44 /*----------------------------------------------------------------------*\
46 \*---------------------------------------------------------------------*/