74 #ifdef CHECK_MEMORY_LEAKS
76 #endif // CHECK_MEMORY_LEAKS
86 GUINet& net, FXGLVisual* glVis,
101 for (std::vector<std::string>::const_iterator i = names.begin(); i != names.end(); ++i) {
111 "\tLocate Junction\tLocate a junction within the network.",
113 ICON_ABOVE_TEXT | FRAME_THICK | FRAME_RAISED);
116 "\tLocate Street\tLocate a street within the network.",
118 ICON_ABOVE_TEXT | FRAME_THICK | FRAME_RAISED);
123 "\tLocate Vehicle\tLocate a vehicle within the network.",
125 ICON_ABOVE_TEXT | FRAME_THICK | FRAME_RAISED);
129 "\tLocate TLS\tLocate a tls within the network.",
131 ICON_ABOVE_TEXT | FRAME_THICK | FRAME_RAISED);
134 "\tLocate Additional\tLocate an additional structure within the network.",
136 ICON_ABOVE_TEXT | FRAME_THICK | FRAME_RAISED);
139 "\tLocate Shape\tLocate a shape within the network.",
141 ICON_ABOVE_TEXT | FRAME_THICK | FRAME_RAISED);
166 glMatrixMode(GL_MODELVIEW);
168 glDisable(GL_TEXTURE_2D);
169 glDisable(GL_ALPHA_TEST);
171 glEnable(GL_DEPTH_TEST);
182 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
185 minB[0] = bound.
xmin();
186 minB[1] = bound.
ymin();
187 maxB[0] = bound.
xmax();
188 maxB[1] = bound.
ymax();
190 glEnable(GL_POLYGON_OFFSET_FILL);
191 glEnable(GL_POLYGON_OFFSET_LINE);
194 glTranslated(0, 0, -.01);
198 glTranslated(0, 0, .01);
249 const std::vector<MSTrafficLightLogic*> &logics = tlsControl.
getAllLogics();
251 SUMOReal minDist = std::numeric_limits<SUMOReal>::infinity();
252 for (std::vector<MSTrafficLightLogic*>::const_iterator i = logics.begin(); i != logics.end(); ++i) {
258 if (lanes.size() > 0) {
259 const Position& endPos = lanes[0]->getShape().getEnd();
269 const std::vector<MSTrafficLightLogic*> logics = vars.
getAllLogics();
270 if (logics.size() > 1) {
272 for (
unsigned int i = 0; i < logics.size() - 1; i++) {
273 if (minTll->
getProgramID() == logics[i]->getProgramID()) {
278 if (l == logics[0]) {