Skip to content
Snippets Groups Projects
Verified Commit b642b02e authored by Mohcine Chraibi's avatar Mohcine Chraibi
Browse files

parsting txt - continued

parent 47b5f920
No related branches found
No related tags found
No related merge requests found
......@@ -1314,6 +1314,20 @@ bool SaxParser::ParseTxtFormat(const QString &fileName, SyncData* dataset, doubl
else
qDebug()<<"INFo: frame rate: "<<*fps<<endl; //exit(0);
}
// third line geometry
line = in.readLine();
std::string geometry_filename="";
if(line.split(":").size()==2)
{
bool ok;
geometry_filename=line.split(":")[1].toDouble(&ok);
if(!ok) {
qDebug()<<"WARNING: Could not parse geometry file."<<endl;
}
else
qDebug()<<"INFO: geometry file: "<<geometry_filename<<endl; //exit(0);
}
// 4th line max frame
line = in.readLine();
int maxFrame=1000;
if(line.split(":").size()==2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment