Missing parameters file.
[GPU.git] / WCudaMSE / BilatTools_Cuda_Image / src / core / cudaImageTools / fonctionel / header / AnimableFonctionel_I.h
1 #ifndef ANIMABLE_FONCTIONEL_I_H_
2 #define ANIMABLE_FONCTIONEL_I_H_
3
4 #include <iostream>
5 #include <vector>
6 #include <string>
7
8 #include "cudaTools.h"
9 #include "DomaineMath.h"
10
11 /*----------------------------------------------------------------------*\
12 |* Declaration *|
13 \*---------------------------------------------------------------------*/
14
15 /*--------------------------------------*\
16 |* Public *|
17 \*-------------------------------------*/
18
19 class AnimableFonctionel_I
20 {
21 public:
22 virtual ~AnimableFonctionel_I() {}
23
24 virtual void runGPU(uchar4* ptrDevPixels,const DomaineMath& domaineMath)=0;
25 virtual void animationStep(void)=0;
26
27 virtual int getW(void)=0;
28 virtual int getH(void)=0;
29 virtual DomaineMath* getDomaineMathInit(void)=0;
30
31 /**
32 * Ancienne version de l'interface.
33 */
34 virtual float getT(void) { return 0.0; };
35
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(); }
38
39 virtual std::string getTitle(void)=0;
40 };
41
42 #endif
43
44 /*----------------------------------------------------------------------*\
45 |* End *|
46 \*---------------------------------------------------------------------*/
47