47 #ifdef CHECK_MEMORY_LEAKS
49 #endif // CHECK_MEMORY_LEAKS
60 myDetector(detector) {
64 for (i = entries.begin(); i != entries.end(); ++i) {
69 for (i = exits.begin(); i != exits.end(); ++i) {
100 ret->
mkItem(
"vehicles within [#]",
true,
102 ret->
mkItem(
"mean speed [m/s]",
true,
104 ret->
mkItem(
"haltings [#]",
true,
114 glPushName(getGlID());
116 glTranslated(0, 0, getType());
118 CrossingDefinitions::const_iterator i;
120 for (i = myEntryDefinitions.begin(); i != myEntryDefinitions.end(); ++i) {
121 drawSingleCrossing((*i).myFGPosition, (*i).myFGRotation, s.
addExaggeration);
124 for (i = myExitDefinitions.begin(); i != myExitDefinitions.end(); ++i) {
125 drawSingleCrossing((*i).myFGPosition, (*i).myFGRotation, s.
addExaggeration);
128 drawName(getCenteringBoundary().getCenter(), s.
scale, s.
addName);
136 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
138 glScaled(upscale, upscale, 1);
139 glTranslated(pos.
x(), pos.
y(), 0);
140 glRotated(rot, 0, 0, 1);
146 glVertex2d(-1.7, .5);
147 glVertex2d(-1.7, -.5);
148 glVertex2d(1.7, -.5);
152 glTranslated(1.5, 0, 0);
155 glTranslated(-3, 0, 0);
183 :
MSE3Collector(id, entries, exits, haltingSpeedThreshold, haltingTimeThreshold) {}