45 #ifdef CHECK_MEMORY_LEAKS
47 #endif // CHECK_MEMORY_LEAKS
76 myDetector(detector), myPosition(pos) {
104 ret->
mkItem(
"lane",
false, myDetector.getLane()->getID());
114 glPushName(getGlID());
120 glTranslated(0, 0, getType());
121 glTranslated(myFGPosition.x(), myFGPosition.y(), 0);
122 glRotated(myFGRotation, 0, 0, 1);
125 glVertex2d(0 - 1.0, 2);
126 glVertex2d(-1.0, -2);
130 glTranslated(0, 0, .01);
132 glVertex2d(0, 2 - .1);
133 glVertex2d(0, -2 + .1);
139 glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
141 glVertex2f(0 - 1.0, 2);
142 glVertex2f(-1.0, -2);
146 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
151 glRotated(90, 0, 0, -1);
159 drawName(getCenteringBoundary().getCenter(), s.
scale, s.
addName);