46 #ifdef CHECK_MEMORY_LEAKS
48 #endif // CHECK_MEMORY_LEAKS
76 myDetector(detector), myPosition(pos) {
103 ret->
mkItem(
"lane",
false, myDetector.getLane()->getID());
113 glPushName(getGlID());
119 glTranslated(0, 0, getType());
120 glTranslated(myFGPosition.x(), myFGPosition.y(), 0);
121 glRotated(myFGRotation, 0, 0, 1);
124 glVertex2d(0 - 1.0, 2);
125 glVertex2d(-1.0, -2);
129 glTranslated(0, 0, .01);
131 glVertex2d(0, 2 - .1);
132 glVertex2d(0, -2 + .1);
138 glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
140 glVertex2f(0 - 1.0, 2);
141 glVertex2f(-1.0, -2);
145 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
150 glRotated(90, 0, 0, -1);
158 drawName(getCenteringBoundary().getCenter(), s.
scale, s.
addName);