42 #ifdef CHECK_MEMORY_LEAKS
44 #endif // CHECK_MEMORY_LEAKS
55 myDetector(detector) {
59 for (i = entries.begin(); i != entries.end(); ++i) {
64 for (i = exits.begin(); i != exits.end(); ++i) {
91 ret->
mkItem(
"vehicles within [#]",
true,
93 ret->
mkItem(
"mean speed [m/s]",
true,
95 ret->
mkItem(
"haltings [#]",
true,
105 glPushName(getGlID());
107 glTranslated(0, 0, getType());
109 CrossingDefinitions::const_iterator i;
111 for (i = myEntryDefinitions.begin(); i != myEntryDefinitions.end(); ++i) {
112 drawSingleCrossing((*i).myFGPosition, (*i).myFGRotation, s.
addExaggeration);
115 for (i = myExitDefinitions.begin(); i != myExitDefinitions.end(); ++i) {
116 drawSingleCrossing((*i).myFGPosition, (*i).myFGRotation, s.
addExaggeration);
119 drawName(getCenteringBoundary().getCenter(), s.
scale, s.
addName);
127 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
129 glScaled(upscale, upscale, 1);
130 glTranslated(pos.
x(), pos.
y(), 0);
131 glRotated(rot, 0, 0, 1);
137 glVertex2d(-1.7, .5);
138 glVertex2d(-1.7, -.5);
139 glVertex2d(1.7, -.5);
143 glTranslated(1.5, 0, 0);
146 glTranslated(-3, 0, 0);
174 :
MSE3Collector(id, entries, exits, haltingSpeedThreshold, haltingTimeThreshold) {}