8 #ifndef _ANIM_READER_HH_
9 #define _ANIM_READER_HH_
22 AnimReader(
const char* anim_filename);
25 void FillQ(
double target_t,
int nb_q,
double *q_vec);
26 void FillQIndex(
int index,
int nb_q,
double *q_vec);
27 int getNbStep()
const {
return t_size;}
28 double getTime(
int step)
const {
return t_vec[step];}
31 bool IsFloat(std::string cur_str);
32 float StringToFloat(std::string cur_str);
33 int NbQCompute(
const char* anim_filename);
34 void IndexTime(
double target_t,
int &i0,
int &i1);
43 std::vector<double> t_vec;
45 std::vector<double*> q_tab;