From e8692bd013d95ee62b135f6d44354c63339e8fa3 Mon Sep 17 00:00:00 2001 From: Mohcine Chraibi <m.chraibi@fz-juelich.de> Date: Fri, 10 May 2019 16:17:59 +0200 Subject: [PATCH] add events todo --- src/SaxParser.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/SaxParser.cpp b/src/SaxParser.cpp index 55ae81d..316125e 100644 --- a/src/SaxParser.cpp +++ b/src/SaxParser.cpp @@ -361,8 +361,11 @@ bool SaxParser::startElement(const QString & /* namespaceURI */, _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 else if (qName == "crossing") { _parsingWalls=false; @@ -383,7 +386,6 @@ bool SaxParser::startElement(const QString & /* namespaceURI */, _caption=at.value(i); } } - }else if (qName == "hline") { _parsingWalls=false; _parsingCrossings=true; @@ -1578,7 +1580,7 @@ bool SaxParser::ParseTxtFormat(const QString &fileName, SyncData* dataset, doubl for( const auto & frame:dataset->GetFrames()) { frame.second->ComputePolyData(); - //cout<<"computing polydata"<<endl; + // cout<<"computing polydata " << frame.first<<endl; } //dataset->setNumberOfAgents(50); -- GitLab