44 #ifdef CHECK_MEMORY_LEAKS
46 #endif // CHECK_MEMORY_LEAKS
74 myDetector(detector), myPosition(pos) {
101 ret->
mkItem(
"lane",
false, myDetector.getLane()->getID());
111 glPushName(getGlID());
117 glTranslated(0, 0, getType());
118 glTranslated(myFGPosition.x(), myFGPosition.y(), 0);
119 glRotated(myFGRotation, 0, 0, 1);
122 glVertex2d(0 - 1.0, 2);
123 glVertex2d(-1.0, -2);
127 glTranslated(0, 0, .01);
129 glVertex2d(0, 2 - .1);
130 glVertex2d(0, -2 + .1);
136 glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
138 glVertex2f(0 - 1.0, 2);
139 glVertex2f(-1.0, -2);
143 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
148 glRotated(90, 0, 0, -1);
156 drawName(getCenteringBoundary().getCenter(), s.
scale, s.
addName);