#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
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