Cleanage.
[GPU.git] / WCudaMSE / BilatTools_Cuda_Image / src / core / cudaImageTools / bitmap / header / Animable_I.h
index b421793..e50d301 100755 (executable)
@@ -1,10 +1,10 @@
 #ifndef ANIMABLE_I_H_\r
 #define ANIMABLE_I_H_\r
 \r
-#include <iostream>\r
-#include "cudaTools.h"\r
+#include <string>\r
+#include <vector>\r
 \r
-using std::string;\r
+#include "cudaTools.h"\r
 \r
 /*----------------------------------------------------------------------*\\r
  |*                    Declaration                                     *|\r
@@ -25,12 +25,15 @@ class Animable_I
        virtual int getW()=0;\r
        virtual int getH()=0;\r
 \r
-       /**\r
-        * getParaAnimation\r
-        */\r
-       virtual float getT() = 0;\r
+        /**\r
+         * Ancienne version de l'interface.\r
+         */\r
+       virtual float getT() { return 0.0; };\r
+\r
+        virtual std::vector<std::string> getNames() { std::vector<std::string> def; def.push_back("t = "); return def; }\r
+        virtual void getValues(float* values) { values[0] = this->getT(); }\r
 \r
-       virtual string getTitle() = 0;\r
+       virtual std::string getTitle() = 0;\r
     };\r
 \r
 #endif\r