Eclipse SUMO - Simulation of Urban MObility
GUIVisualizationSettings.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-2020 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials are made available under the
5 // terms of the Eclipse Public License 2.0 which is available at
6 // https://www.eclipse.org/legal/epl-2.0/
7 // This Source Code may also be made available under the following Secondary
8 // Licenses when the conditions for such availability set forth in the Eclipse
9 // Public License 2.0 are satisfied: GNU General Public License, version 2
10 // or later which is available at
11 // https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12 // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13 /****************************************************************************/
20 // Stores the information about how to visualize structures
21 /****************************************************************************/
22 #pragma once
23 #include <config.h>
24 
25 #include <string>
26 #include <vector>
27 #include <map>
28 #include <utils/common/RGBColor.h>
29 #include <utils/common/ToString.h>
31 
32 
33 // ===========================================================================
34 // class declarations
35 // ===========================================================================
36 class BaseSchemeInfoSource;
37 class OutputDevice;
39 class GUIGlObject;
40 
41 
42 // ===========================================================================
43 // class definitions
44 // ===========================================================================
45 
46 // cannot declare this as inner class because it needs to be used in forward
47 // declaration (@todo fix inclusion order by removing references to guisim!)
49 
51  GUIVisualizationTextSettings(bool _show, double _size, RGBColor _color, RGBColor _bgColor = RGBColor(128, 0, 0, 0), bool _constSize = true);
52 
54  bool operator==(const GUIVisualizationTextSettings& other);
55 
57  bool operator!=(const GUIVisualizationTextSettings& other);
58 
60  void print(OutputDevice& dev, const std::string& name) const;
61 
63  double scaledSize(double scale, double constFactor = 0.1) const;
64 
66  bool show;
67 
69  double size;
70 
73 
76 
78  bool constSize;
79 };
80 
81 
84 
86  GUIVisualizationSizeSettings(double _minSize, double _exaggeration = 1.0, bool _constantSize = false, bool _constantSizeSelected = false);
87 
89  double getExaggeration(const GUIVisualizationSettings& s, const GUIGlObject* o, double factor = 20) const;
90 
92  bool operator==(const GUIVisualizationSizeSettings& other);
93 
95  bool operator!=(const GUIVisualizationSizeSettings& other);
96 
98  void print(OutputDevice& dev, const std::string& name) const;
99 
101  double minSize;
102 
104  double exaggeration;
105 
108 
111 };
112 
113 
116 
119 
121  bool operator==(const GUIVisualizationColorSettings& other);
122 
124  bool operator!=(const GUIVisualizationColorSettings& other);
125 
128 
131 
134 
137 
140 
143 
146 
149 
152 
155 
158 
161 
164 
167 
169  static const RGBColor editShape;
170 
172  static const RGBColor crossing;
173 
176 
178  static const RGBColor crossingInvalid;
179 
181  static const RGBColor stops;
182 
184  static const RGBColor vehicleTrips;
185 
187  static const RGBColor personStops;
188 
190  static const RGBColor personTrip;
191 
193  static const RGBColor walk;
194 
196  static const RGBColor ride;
197 };
198 
199 
202 
204  static const RGBColor possible;
205 
207  static const RGBColor source;
208 
210  static const RGBColor target;
211 
213  static const RGBColor special;
214 
216  static const RGBColor conflict;
217 };
218 
221 
223  static const double junctionBubbleRadius;
224 
226  static const double junctionGeometryPointRadius;
227 
229  static const double edgeGeometryPointRadius;
230 
232  static const double connectionGeometryPointRadius;
233 
235  static const double crossingGeometryPointRadius;
236 
238  static const double polygonGeometryPointRadius;
239 
241  static const double polygonContourWidth;
242 
244  static const double polylineWidth;
245 };
246 
249 
251  static const double connectionWidth;
252 };
253 
254 
257 
259  static const RGBColor rerouterColor;
260 
262  static const double rerouterSize;
263 
265  static const RGBColor VSSColor;
266 
268  static const double VSSSize;
269 
271  static const RGBColor calibratorColor;
272 
274  static const double calibratorWidth;
275 
277  static const double calibratorHeight;
278 
280  static const RGBColor routeProbeColor;
281 
283  static const double routeProbeSize;
284 
286  static const RGBColor vaporizerColor;
287 
289  static const double vaporizerSize;
290 };
291 
292 
295 
297  static const RGBColor E1Color;
298 
300  static const double E1Width;
301 
303  static const double E1Height;
304 
306  static const RGBColor E1InstantColor;
307 
309  static const double E1InstantWidth;
310 
312  static const double E1InstantHeight;
313 
315  static const RGBColor E2Color;
316 
318  static const double E2Width;
319 
321  static const double E3Size;
322 
324  static const RGBColor E3EntryColor;
325 
327  static const RGBColor E3ExitColor;
328 
330  static const double E3EntryExitWidth;
331 
333  static const double E3EntryExitHeight;
334 };
335 
336 
339 
341  static const double stoppingPlaceSignOffset;
342 
344  static const double busStopWidth;
345 
347  static const RGBColor busStopColor;
348 
351 
353  static const double containerStopWidth;
354 
357 
360 
362  static const double chargingStationWidth;
363 
366 
369 
372 
375 
378 
381 
384 };
385 
386 
389 
391  static const double segmentWidth;
392 
394  static const double segmentLength;
395 
398 
401 
403  static const RGBColor firstFrontColor;
404 
407 };
408 
409 
412 
414  static const double route;
415 
417  static const double trip;
418 
420  static const double personTrip;
421 
423  static const double walk;
424 
426  static const double ride;
427 };
428 
429 
432 
434  static const double connectionsDemandMode;
435 
437  static const double laneTextures;
438 
440  static const double lockIcon;
441 
443  static const double additionalTextures;
444 
446  static const double geometryPointsDetails;
447 
449  static const double geometryPointsText;
450 
452  static const double stoppingPlaceDetails;
453 
455  static const double stoppingPlaceText;
456 
458  static const double detectorDetails;
459 
461  static const double detectorText;
462 
464  static const double calibratorText;
465 
467  static const double stopsDetails;
468 
470  static const double stopsText;
471 
473  static const double vehicleTriangles;
474 
476  static const double vehicleBoxes;
477 
479  static const double vehicleShapes;
480 
482  static const double personTriangles;
483 
485  static const double personCircles;
486 
488  static const double personShapes;
489 
491  static const double personExaggeration;
492 };
493 
494 
500 
501 public:
503  GUIVisualizationSettings(bool _netedit = false);
504 
506  void initNeteditDefaults();
507  void initSumoGuiDefaults();
508 
512  void save(OutputDevice& dev) const;
513 
517  int getLaneEdgeMode() const;
518 
522  int getLaneEdgeScaleMode() const;
523 
528 
533 
535  bool operator==(const GUIVisualizationSettings& vs2);
536 
538  static const RGBColor& getLinkColor(const LinkState& ls);
539 
541  double getTextAngle(double objectAngle) const;
542 
544  bool flippedTextAngle(double objectAngle) const;
545 
547  bool drawAdditionals(const double exaggeration) const;
548 
550  bool drawDetail(const double detail, const double exaggeration) const;
551 
553  int getCircleResolution() const;
554 
556  bool drawDottedContour() const;
557 
559  bool drawMovingGeometryPoint(const double exaggeration, const double radius) const;
560 
562  std::string name;
563 
565  bool netedit;
566 
568  double angle;
569 
571  bool dither;
572 
574  bool fps;
575 
578 
581 
583  bool showGrid;
584 
588 
589 
592 
595 
598 
600  static bool UseMesoSim;
601 
604 
607 
610 
613 
616 
619 
621  bool showRails;
622 
623  // Setting bundles for optional drawing names with size and color
625 
628 
631 
633  double laneMinSize;
634 
637 
640 
643 
645  std::string edgeParam, laneParam;
647  std::string vehicleParam;
649  std::string vehicleTextParam;
650 
652  std::string edgeData;
653 
658 
661 
664 
667 
670 
673 
676 
679 
682 
685 
686  // Setting bundles for controling the size of the drawn vehicles
688 
689  // Setting bundles for optional drawing vehicle names or color value
691 
693 
694 
697 
700 
703 
704  // Setting bundles for controling the size of the drawn persons
706 
707  // Setting bundles for optional drawing person names
710 
711 
714 
717 
720 
721  // Setting bundles for controling the size of the drawn containers
723 
724  // Setting bundles for optional drawing container names
727 
728 
731 
734 
735  // Setting bundles for optional drawing junction names and indices
737 
744  // Setting bundles for controling the size of the drawn junction
747 
748 
751 
753  // @todo decouple addExageration for POIs, Polygons, Triggers etc
754  int addMode;
755  // Setting bundles for controling the size of additional items
757  // Setting bundles for optional drawing additional names
759  // Setting bundles for optional drawing additional full names
762 
763 
766 
769 
770  // Setting bundles for controling the size of the drawn POIs
772 
773  // Setting bundles for optional drawing poi names
775 
776  // Setting bundles for optional drawing poi types
778 
779  // Setting bundles for optional drawing poi text
781 
783  std::string poiTextParam;
784 
787 
788  // Setting bundles for controling the size of the drawn polygons
790 
791  // Setting bundles for optional drawing polygon names
793 
794  // Setting bundles for optional drawing polygon types
797 
800 
803 
806 
808  double scale;
809 
811  bool gaming;
812 
815 
818 
821 
824 
827 
830 
833 
838  bool lefthand;
839 
845 
847  static const std::string SCHEME_NAME_EDGE_PARAM_NUMERICAL;
848  static const std::string SCHEME_NAME_LANE_PARAM_NUMERICAL;
849  static const std::string SCHEME_NAME_PARAM_NUMERICAL;
850  static const std::string SCHEME_NAME_EDGEDATA_NUMERICAL;
851  static const std::string SCHEME_NAME_SELECTION;
852  static const std::string SCHEME_NAME_TYPE;
853  static const std::string SCHEME_NAME_PERMISSION_CODE;
854 
855  static const double MISSING_DATA;
856 
859 
862 
865 
868 
871 
874 
877 
880 
883 
886 };
LinkState
The right-of-way state of a link between two lanes used when constructing a NBTrafficLightLogic,...
Stores the information about how to visualize structures.
GUIVisualizationTextSettings addName
GUIVisualizationTextSettings tlsPhaseIndex
GUIVisualizationTextSettings vehicleName
GUIVisualizationTextSettings junctionName
void initNeteditDefaults()
init default settings
bool operator==(const GUIVisualizationSettings &vs2)
Comparison operator.
RGBColor backgroundColor
The background color to use.
GUIVisualizationSettings(bool _netedit=false)
constructor
GUIVisualizationSizeSettings vehicleSize
GUIVisualizationSizeSettings containerSize
bool showBlinker
Information whether vehicle blinkers shall be drawn.
GUIVisualizationTextSettings internalEdgeName
GUIVisualizationSizeSettings junctionSize
bool drawBoundaries
enable or disable draw boundaries
static const std::string SCHEME_NAME_EDGEDATA_NUMERICAL
bool showBikeMarkings
Information whether bicycle lane marking shall be drawn.
GUIScaler laneScaler
The lane scaler.
bool dither
Information whether dithering shall be enabled.
GUIColorer vehicleColorer
The vehicle colorer.
GUIVisualizationTextSettings personValue
bool drawForRectangleSelection
whether drawing is performed for the purpose of selecting objects using a rectangle
GUIVisualizationDetailSettings detailSettings
detail settings
bool showLinkRules
Information whether link rules (colored bars) shall be drawn.
GUIVisualizationTextSettings poiType
GUIVisualizationSizeSettings addSize
static const std::string SCHEME_NAME_SELECTION
std::string name
The name of this setting.
GUIColorer edgeColorer
The mesoscopic edge colorer.
int containerQuality
The quality of container drawing.
GUIVisualizationTextSettings internalJunctionName
GUIVisualizationSizeSettings poiSize
bool drawJunctionShape
whether the shape of the junction should be drawn
std::string edgeData
key for coloring by edgeData
bool disableLaneIcons
whether drawing is performed in left-hand networks
bool flippedTextAngle(double objectAngle) const
return wether the text was flipped for reading at the given angle
int personQuality
The quality of person drawing.
GUIColorer poiColorer
The POI colorer.
GUIVisualizationWidthSettings widthSettings
width settings
GUIVisualizationTextSettings poiName
GUIVisualizationTextSettings vehicleValue
GUIColorer polyColorer
The polygon colorer.
int vehicleQuality
The quality of vehicle drawing.
GUIVisualizationTextSettings drawLinkJunctionIndex
bool drawForPositionSelection
whether drawing is performed for the purpose of selecting objects with a single click
bool gaming
whether the application is in gaming mode or not
static const std::string SCHEME_NAME_LANE_PARAM_NUMERICAL
GUIVisualizationTextSettings addFullName
GUIVisualizationTextSettings edgeValue
bool fps
Information whether frames-per-second should be drawn.
std::string vehicleParam
key for coloring by vehicle parameter
bool showRails
Information whether rails shall be drawn.
GUIVisualizationCandidateColorSettings candidateColorSettings
candidate color settings
GUIVisualizationSizeSettings personSize
double laneWidthExaggeration
The lane exaggeration (upscale thickness)
GUIVisualizationTextSettings cwaEdgeName
bool lefthand
whether drawing is performed in left-hand networks
GUIVisualizationTextSettings junctionID
std::string vehicleTextParam
key for rendering vehicle textual parameter
bool drawDottedContour() const
check if dotted contour can be drawn
bool drawAdditionals(const double exaggeration) const
check if additionals must be drawn
bool drawMovingGeometryPoint(const double exaggeration, const double radius) const
check if moving geometry point can be draw
bool showLane2Lane
Information whether lane-to-lane arrows shall be drawn.
GUIVisualizationColorSettings colorSettings
color settings
bool showSublanes
Whether to show sublane boundaries.
GUIVisualizationConnectionSettings connectionSettings
connection settings
bool showGrid
Information whether a grid shall be shown.
static const std::string SCHEME_NAME_TYPE
bool showVehicleColorLegend
Information whether the vehicle color legend shall be drawn.
static const RGBColor & getLinkColor(const LinkState &ls)
map from LinkState to color constants
bool hideConnectors
flag to show or hidde connectors
static bool UseMesoSim
this should be set at the same time as MSGlobals::gUseMesoSim
GUIColorer personColorer
The person colorer.
void save(OutputDevice &dev) const
Writes the settings into an output device.
GUIVisualizationDottedContourSettings dottedContourSettings
dotted contour settings
GUIScaleScheme & getLaneEdgeScaleScheme()
Returns the current lane (edge) scaling schme.
int getLaneEdgeMode() const
Returns the number of the active lane (edge) coloring schme.
double scale
information about a lane's width (temporary, used for a single view)
bool forceDrawForRectangleSelection
flag to force draw for rectangle selection (see drawForRectangleSelection)
bool netedit
Whether the settings are for Netedit.
bool showLaneDirection
Whether to show direction indicators for lanes.
bool edgeValueHideCheck
value below which edge data value should not be rendered
GUIColorScheme & getLaneEdgeScheme()
Returns the current lane (edge) coloring schme.
bool forceDrawDottedContour
flag to force draw dotted contour
GUIScaler edgeScaler
The mesoscopic edge scaler.
GUIVisualizationStoppingPlaceSettings stoppingPlaceSettings
StoppingPlace settings.
bool drawDetail(const double detail, const double exaggeration) const
check if details can be drawn for the given GUIVisualizationDetailSettings and current scale and exxa...
bool drawMinGap
Information whether the minimum gap shall be drawn.
GUIVisualizationTextSettings streetName
GUIVisualizationTextSettings poiText
GUIVisualizationTextSettings vehicleText
int getLaneEdgeScaleMode() const
Returns the number of the active lane (edge) scaling schme.
bool showLinkDecals
Information whether link textures (arrows) shall be drawn.
GUIColorer laneColorer
The lane colorer.
GUIVisualizationTextSettings polyName
bool laneShowBorders
Information whether lane borders shall be drawn.
GUIVisualizationTextSettings tlsPhaseName
GUIVisualizationTextSettings edgeName
bool showSizeLegend
Information whether the size legend shall be drawn.
double laneMinSize
The minimum visual lane width for drawing.
GUIVisualizationTextSettings drawLinkTLIndex
GUIVisualizationTextSettings containerName
GUIVisualizationSizeSettings polySize
GUIColorer containerColorer
The container colorer.
double gridXSize
Information about the grid spacings.
GUIVisualizationAdditionalSettings additionalSettings
Additional settings.
bool showBTRange
Information whether the communication range shall be drawn.
bool forceDrawForPositionSelection
flag to force draw for position selection (see drawForPositionSelection)
GUIVisualizationTextSettings personName
bool showColorLegend
Information whether the edge color legend shall be drawn.
std::string poiTextParam
key for rendering poi textual parameter
int getCircleResolution() const
function to calculate circle resolution for all circles drawn in drawGL(...) functions
bool showRouteIndex
Information whether the route index should be shown.
bool drawCrossingsAndWalkingareas
whether crosings and walkingareas shall be drawn
static const std::string SCHEME_NAME_EDGE_PARAM_NUMERICAL
scheme names
double selectorFrameScale
the current selection scaling in NETEDIT (set in SelectorFrame)
bool spreadSuperposed
Whether to improve visualisation of superposed (rail) edges.
int addMode
The additional structures visualization scheme.
GUIVisualizationDetectorSettings detectorSettings
Detector settings.
GUIColorer junctionColorer
The junction colorer.
static const std::string SCHEME_NAME_PERMISSION_CODE
static const std::string SCHEME_NAME_PARAM_NUMERICAL
std::string edgeParam
key for coloring by edge parameter
bool drawBrakeGap
Information whether the brake gap shall be drawn.
bool drawLaneChangePreference
Information whether the lane change preference shall be drawn.
double getTextAngle(double objectAngle) const
return an angle that is suitable for reading text aligned with the given angle (degrees)
GUIVisualizationTextSettings polyType
GUIVisualizationNeteditSizeSettings neteditSizeSettings
netedit size settings
double angle
The current view rotation angle.
Static storage of an output device and its base (abstract) implementation.
Definition: OutputDevice.h:60
static const double routeProbeSize
RouteProbe size.
static const RGBColor calibratorColor
color for Calibrators
static const double calibratorWidth
Calibrator width.
static const double vaporizerSize
Vaporizer size.
static const double rerouterSize
rerouter size
static const double calibratorHeight
Calibrator height.
static const RGBColor VSSColor
color for VSS
static const RGBColor vaporizerColor
color for vaporizers
static const RGBColor rerouterColor
color for rerouters
static const RGBColor routeProbeColor
color for route probes
struct for candidate color settings
static const RGBColor special
color for selected special candidate element (Usually selected using shift+click)
static const RGBColor conflict
color for selected conflict candidate element (Usually selected using ctrl+click)
static const RGBColor target
color for selected candidate target
static const RGBColor possible
color for possible candidate element
static const RGBColor source
color for selected candidate source
static const RGBColor crossingInvalid
color for invalid crossing
static const RGBColor personStops
color for personStops
RGBColor selectionColor
basic selection color
static const RGBColor ride
color for rides
static const RGBColor crossing
color for crossings
RGBColor selectedEdgeColor
edge selection color
RGBColor selectedPersonPlanColor
person plan selection color (Rides, Walks, personStops...)
static const RGBColor SUMO_color_DEADEND_SHOW
color for highlighthing deadends
RGBColor selectedCrossingColor
crossings selection color
static const RGBColor vehicleTrips
color for vehicle trips
RGBColor selectedLaneColor
lane selection color
static const RGBColor editShape
color for edited shapes (Junctions, crossings and connections)
RGBColor selectedRouteColor
route selection color (used for routes and vehicle stops)
RGBColor selectedEdgeDataColor
edge data selection color
bool operator==(const GUIVisualizationColorSettings &other)
equality comparator
static const RGBColor crossingPriority
color for priority crossing
RGBColor selectedProhibitionColor
prohibition selection color
static const RGBColor stops
color for Stops
RGBColor selectedConnectionColor
connection selection color
RGBColor selectedAdditionalColor
additional selection color (busStops, Detectors...)
bool operator!=(const GUIVisualizationColorSettings &other)
inequality comparator
static const RGBColor personTrip
color for personStops
RGBColor selectedVehicleColor
vehicle selection color
static const RGBColor walk
color for walks
RGBColor selectedPersonColor
person selection color
static const RGBColor childConnections
color for child connections between parents and child elements
static const double connectionWidth
connection width
static const double laneTextures
details for lane textures
static const double additionalTextures
details for additional textures
static const double lockIcon
lock icons
static const double vehicleTriangles
details for draw person as triangles
static const double vehicleShapes
details for draw person as shapes
static const double detectorDetails
details for detectors
static const double personShapes
details for draw person as person shapes
static const double stoppingPlaceDetails
details for stopping places
static const double connectionsDemandMode
draw connections in demand mode
static const double detectorText
details for detector texts
static const double stoppingPlaceText
details for stopping place texts
static const double stopsText
details for stop texts
static const double personTriangles
details for draw person as triangles
static const double stopsDetails
details for stops
static const double geometryPointsDetails
details for Geometry Points
static const double vehicleBoxes
details for draw person as boxes
static const double calibratorText
details for calibrator text
static const double personCircles
details for draw person as circles
static const double personExaggeration
Exaggeration for persons (only used in NETEDIT)
static const double geometryPointsText
details for Geometry Points Texts
static const double E3EntryExitWidth
E3 Entry/Exit detector width.
static const RGBColor E2Color
color for E2 detectors
static const double E1InstantHeight
E1 Instant detector heights.
static const double E2Width
E2 detector widths.
static const RGBColor E3ExitColor
color for Exits
static const double E3Size
E3 detector size.
static const RGBColor E1Color
color for E1 detectors
static const double E1Width
E1 detector widths.
static const RGBColor E3EntryColor
color for Entrys
static const double E1InstantWidth
E1 Instant detector widths.
static const double E3EntryExitHeight
E3 Entry/Exit detector height.
static const RGBColor E1InstantColor
color for E1 Instant detectors
static const double E1Height
E1 Instant detector heights.
struct for dotted contour settings
static const RGBColor firstFrontColor
first color of dotted front contour
static const RGBColor firstInspectedColor
first color of dotted inspected contour
static const RGBColor secondFrontColor
second color of dotted front contour
static const double segmentWidth
width of dotted contour segments
static const RGBColor secondInspectedColor
second color of dotted inspectedcontour
static const double segmentLength
length of dotted contour segments
static const double crossingGeometryPointRadius
moving crossing geometry point radius
static const double polygonGeometryPointRadius
moving geometry point radius
static const double connectionGeometryPointRadius
moving connection geometry point radius
static const double junctionGeometryPointRadius
moving junction geometry point radius
static const double junctionBubbleRadius
junction buuble radius
static const double polygonContourWidth
polygon contour width
static const double polylineWidth
poly line width
static const double edgeGeometryPointRadius
moving edge geometry point radius
bool operator!=(const GUIVisualizationSizeSettings &other)
inequality comparator
double getExaggeration(const GUIVisualizationSettings &s, const GUIGlObject *o, double factor=20) const
return the drawing size including exaggeration and constantSize values
GUIVisualizationSizeSettings(double _minSize, double _exaggeration=1.0, bool _constantSize=false, bool _constantSizeSelected=false)
constructor
double exaggeration
The size exaggeration (upscale)
bool constantSize
whether the object shall be drawn with constant size regardless of zoom
void print(OutputDevice &dev, const std::string &name) const
print values in output device
double minSize
The minimum size to draw this object.
bool operator==(const GUIVisualizationSizeSettings &other)
equality comparator
bool constantSizeSelected
whether only selected objects shall be drawn with constant
struct for stoppingPlace settings
static const RGBColor parkingAreaColorSign
color for parkingArea sign
static const RGBColor containerStopColorSign
color for containerStop signs
static const double stoppingPlaceSignOffset
busStop offset
static const RGBColor chargingStationColor
color for chargingStations
static const RGBColor chargingStationColorSign
color for chargingStation sign
static const double chargingStationWidth
chargingStation width
static const double busStopWidth
busStop width
static const RGBColor containerStopColor
color for containerStops
static const RGBColor busStopColorSign
color for busStops signs
static const RGBColor parkingSpaceColor
color for parkingSpace innen
static const RGBColor parkingSpaceColorContour
color for parkingSpace contour
static const double containerStopWidth
containerStop width
static const RGBColor busStopColor
color for busStops
static const RGBColor chargingStationColorCharge
color for chargingStation during charging
static const RGBColor parkingAreaColor
color for parkingAreas
GUIVisualizationTextSettings(bool _show, double _size, RGBColor _color, RGBColor _bgColor=RGBColor(128, 0, 0, 0), bool _constSize=true)
constructor
void print(OutputDevice &dev, const std::string &name) const
print values in output device
bool operator==(const GUIVisualizationTextSettings &other)
equality comparator
RGBColor bgColor
background text color
bool operator!=(const GUIVisualizationTextSettings &other)
inequality comparator
double scaledSize(double scale, double constFactor=0.1) const
get scale size
bool constSize
@brif flag to avoid size changes
static const double walk
width for walks
static const double trip
width for trips
static const double personTrip
width for person trips
static const double ride
width for rides
static const double route
width for routes