50 #ifdef CHECK_MEMORY_LEAKS
52 #endif // CHECK_MEMORY_LEAKS
81 myDetector(detector), myPosition(pos) {
109 ret->
mkItem(
"lane",
false, myDetector.getLane()->getID());
119 glPushName(getGlID());
125 glTranslated(0, 0, getType());
126 glTranslated(myFGPosition.x(), myFGPosition.y(), 0);
127 glRotated(myFGRotation, 0, 0, 1);
130 glVertex2d(0 - 1.0, 2);
131 glVertex2d(-1.0, -2);
135 glTranslated(0, 0, .01);
137 glVertex2d(0, 2 - .1);
138 glVertex2d(0, -2 + .1);
144 glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
146 glVertex2f(0 - 1.0, 2);
147 glVertex2f(-1.0, -2);
151 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
156 glRotated(90, 0, 0, -1);
164 drawName(getCenteringBoundary().getCenter(), s.
scale, s.
addName);