add events todo

parent c20f71ed
...@@ -361,8 +361,11 @@ bool SaxParser::startElement(const QString & /* namespaceURI */, ...@@ -361,8 +361,11 @@ bool SaxParser::startElement(const QString & /* namespaceURI */,
_caption=at.value(i); _caption=at.value(i);
} }
} }
} }
// <event time="9" type="door" state="open" id="0" caption="door0" />
// call void GeometryFactory::ChangeExitsColor(double* color)
// _geoFactory.ChangeExitsColor(Qt::red);
//FIXME //FIXME
else if (qName == "crossing") { else if (qName == "crossing") {
_parsingWalls=false; _parsingWalls=false;
...@@ -383,7 +386,6 @@ bool SaxParser::startElement(const QString & /* namespaceURI */, ...@@ -383,7 +386,6 @@ bool SaxParser::startElement(const QString & /* namespaceURI */,
_caption=at.value(i); _caption=at.value(i);
} }
} }
}else if (qName == "hline") { }else if (qName == "hline") {
_parsingWalls=false; _parsingWalls=false;
_parsingCrossings=true; _parsingCrossings=true;
...@@ -1578,7 +1580,7 @@ bool SaxParser::ParseTxtFormat(const QString &fileName, SyncData* dataset, doubl ...@@ -1578,7 +1580,7 @@ bool SaxParser::ParseTxtFormat(const QString &fileName, SyncData* dataset, doubl
for( const auto & frame:dataset->GetFrames()) for( const auto & frame:dataset->GetFrames())
{ {
frame.second->ComputePolyData(); frame.second->ComputePolyData();
//cout<<"computing polydata"<<endl; // cout<<"computing polydata " << frame.first<<endl;
} }
//dataset->setNumberOfAgents(50); //dataset->setNumberOfAgents(50);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment