68 #ifdef CHECK_MEMORY_LEAKS
70 #endif // CHECK_MEMORY_LEAKS
80 GUINet& net, FXGLVisual* glVis,
95 for (std::vector<std::string>::const_iterator i = names.begin(); i != names.end(); ++i) {
105 "\tLocate Junction\tLocate a junction within the network.",
107 ICON_ABOVE_TEXT | FRAME_THICK | FRAME_RAISED);
110 "\tLocate Street\tLocate a street within the network.",
112 ICON_ABOVE_TEXT | FRAME_THICK | FRAME_RAISED);
117 "\tLocate Vehicle\tLocate a vehicle within the network.",
119 ICON_ABOVE_TEXT | FRAME_THICK | FRAME_RAISED);
123 "\tLocate TLS\tLocate a tls within the network.",
125 ICON_ABOVE_TEXT | FRAME_THICK | FRAME_RAISED);
128 "\tLocate Additional\tLocate an additional structure within the network.",
130 ICON_ABOVE_TEXT | FRAME_THICK | FRAME_RAISED);
133 "\tLocate POI\tLocate a POI within the network.",
135 ICON_ABOVE_TEXT | FRAME_THICK | FRAME_RAISED);
138 "\tLocate Polygon\tLocate a Polygon within the network.",
140 ICON_ABOVE_TEXT | FRAME_THICK | FRAME_RAISED);
165 glMatrixMode(GL_MODELVIEW);
167 glDisable(GL_TEXTURE_2D);
168 glDisable(GL_ALPHA_TEST);
170 glEnable(GL_DEPTH_TEST);
181 glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
184 minB[0] = bound.
xmin();
185 minB[1] = bound.
ymin();
186 maxB[0] = bound.
xmax();
187 maxB[1] = bound.
ymax();
189 glEnable(GL_POLYGON_OFFSET_FILL);
190 glEnable(GL_POLYGON_OFFSET_LINE);
193 glTranslated(0, 0, -.01);
197 glTranslated(0, 0, .01);
248 const std::vector<MSTrafficLightLogic*>& logics = tlsControl.
getAllLogics();
250 SUMOReal minDist = std::numeric_limits<SUMOReal>::infinity();
251 for (std::vector<MSTrafficLightLogic*>::const_iterator i = logics.begin(); i != logics.end(); ++i) {
257 if (lanes.size() > 0) {
258 const Position& endPos = lanes[0]->getShape().getEnd();
268 const std::vector<MSTrafficLightLogic*> logics = vars.
getAllLogics();
269 if (logics.size() > 1) {
271 for (
unsigned int i = 0; i < logics.size() - 1; i++) {
272 if (minTll->
getProgramID() == logics[i]->getProgramID()) {
277 if (l == logics[0]) {