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) {
80 Line l(v.front(), v.back());
95 ret->
mkItem(
"vehicles within [#]",
true,
97 ret->
mkItem(
"mean speed [m/s]",
true,
99 ret->
mkItem(
"haltings [#]",
true,
109 glPushName(getGlID());
111 glTranslated(0, 0, getType());
113 CrossingDefinitions::const_iterator i;
115 for (i = myEntryDefinitions.begin(); i != myEntryDefinitions.end(); ++i) {
116 drawSingleCrossing((*i).myFGPosition, (*i).myFGRotation, s.
addExaggeration);
119 for (i = myExitDefinitions.begin(); i != myExitDefinitions.end(); ++i) {
120 drawSingleCrossing((*i).myFGPosition, (*i).myFGRotation, s.
addExaggeration);
123 drawName(getCenteringBoundary().getCenter(), s.
scale, s.
addName);
131 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
133 glScaled(upscale, upscale, 1);
134 glTranslated(pos.
x(), pos.
y(), 0);
135 glRotated(rot, 0, 0, 1);
141 glVertex2d(-1.7, .5);
142 glVertex2d(-1.7, -.5);
143 glVertex2d(1.7, -.5);
147 glTranslated(1.5, 0, 0);
150 glTranslated(-3, 0, 0);
178 :
MSE3Collector(id, entries, exits, haltingSpeedThreshold, haltingTimeThreshold) {}