38 #ifdef CHECK_MEMORY_LEAKS 40 #endif // CHECK_MEMORY_LEAKS 51 : name(
""), antialiase(false), dither(false),
53 showGrid(false), gridXSize(100), gridYSize(100),
54 laneShowBorders(false), showLinkDecals(true), showRails(true),
55 edgeName(false, 50,
RGBColor(255, 128, 0, 255)),
56 internalEdgeName(false, 40,
RGBColor(128, 64, 0, 255)),
57 cwaEdgeName(false, 50,
RGBColor::MAGENTA),
58 streetName(false, 55,
RGBColor::YELLOW),
59 hideConnectors(false), laneWidthExaggeration(1),
60 vehicleQuality(0), showBlinker(true),
61 drawLaneChangePreference(false), drawMinGap(false),
62 showBTRange(false), vehicleSize(1),
63 vehicleName(false, 50,
RGBColor(204, 153, 0, 255)),
66 personName(false, 50,
RGBColor(0, 153, 204, 255)),
69 containerName(false, 50,
RGBColor(0, 153, 204, 255)),
70 drawLinkTLIndex(false, 50,
RGBColor(128, 128, 255, 255)),
71 drawLinkJunctionIndex(false, 50,
RGBColor(128, 128, 255, 255)),
72 junctionName(false, 50,
RGBColor(0, 255, 128, 255)),
73 internalJunctionName(false, 50,
RGBColor(0, 204, 128, 255)),
75 drawJunctionShape(true),
76 drawCrossingsAndWalkingareas(true),
79 addName(false, 50,
RGBColor(255, 0, 128, 255)),
80 poiSize(0), poiName(false, 50,
RGBColor(255, 0, 128, 255)),
81 poiType(false, 50,
RGBColor(255, 0, 128, 255)),
82 polySize(0), polyName(false, 50,
RGBColor(255, 0, 128, 255)),
83 polyType(false, 50,
RGBColor(255, 0, 128, 255)),
87 drawForSelecting(false) {
97 scheme =
GUIColorScheme(
"by selection (lane-/streetwise)",
RGBColor(128, 128, 128, 255),
"unselected",
true);
423 scheme =
GUIScaleScheme(
"by selection (lane-/streetwise)", 0.5,
"unselected",
true);
430 scheme =
GUIScaleScheme(
"by current occupancy (lanewise, brutto)", 0);
433 scheme =
GUIScaleScheme(
"by current occupancy (lanewise, netto)", 0);
436 scheme =
GUIScaleScheme(
"by first vehicle waiting time (lanewise)", 0);
GUIVisualizationTextSettings junctionName
OutputDevice & writeAttr(const SumoXMLAttr attr, const T &val)
writes a named attribute
static const RGBColor BLUE
bool showSizeLegend
Information whether the size legend shall be drawn.
GUIVisualizationTextSettings poiType
GUIVisualizationTextSettings streetName
float laneWidthExaggeration
The lane exaggeration (upscale thickness)
size_t getLaneEdgeMode() const
Returns the number of the active lane (edge) coloring schme.
bool showBlinker
Information whether vehicle blinkers shall be drawn.
GUIVisualizationTextSettings addName
GUIVisualizationTextSettings personName
void setAllowsNegativeValues(bool value)
GUIVisualizationTextSettings poiName
static const RGBColor WHITE
GUIColorScheme & getLaneEdgeScheme()
Returns the current lane (edge) coloring schme.
void print(OutputDevice &dev, const std::string &name) const
bool showBTRange
Information whether the communication range shall be drawn.
GUIColorer laneColorer
The lane colorer.
GUIColorer containerColorer
The container colorer.
Stores the information about how to visualize structures.
GUIColorer edgeColorer
The mesoscopic edge colorer.
vehicle is a small delivery vehicle
bool drawLaneChangePreference
Information whether the lane change preference shall be drawn.
bool showRails
Information whether rails shall be drawn.
GUIVisualizationTextSettings vehicleName
classes which (normally) do not drive on normal roads
bool operator==(const GUIVisualizationSettings &vs2)
Comparison operator.
GUIVisualizationSettings()
constructor
static const RGBColor ORANGE
GUIVisualizationTextSettings cwaEdgeName
bool laneShowBorders
Information whether lane borders shall be drawn.
static const RGBColor BLACK
const SVCPermissions SVCAll
bool dither
Information whether dithering shall be enabled.
SUMOReal scale
information about a lane's width (temporary, used for a single view)
GUIVisualizationSizeSettings polySize
GUIColorer vehicleColorer
The vehicle colorer.
GUIVisualizationTextSettings edgeName
GUIVisualizationSizeSettings addSize
void save(OutputDevice &dev) const
static const RGBColor GREEN
static const RGBColor GREY
std::string name
The name of this setting.
GUIVisualizationTextSettings internalEdgeName
bool drawMinGap
Information whether the minimum gap shall be drawn.
int addMode
The additional structures visualization scheme.
GUIVisualizationTextSettings polyType
static const RGBColor MAGENTA
GUIVisualizationTextSettings drawLinkTLIndex
GUIColorer personColorer
The person colorer.
GUIVisualizationTextSettings internalJunctionName
GUIColorer junctionColorer
The junction colorer.
SUMOReal gridXSize
Information about the grid spacings.
GUIScaler edgeScaler
The mesoscopic edge scaler.
unsigned int addColor(const T &color, const SUMOReal threshold, const std::string &name="")
vehicle is a passenger car (a "normal" car)
GUIScaleScheme & getLaneEdgeScaleScheme()
Returns the current lane (edge) scaling schme.
int containerQuality
The quality of container drawing.
RGBColor backgroundColor
The background color to use.
bool antialiase
Information whether antialiase shall be enabled.
GUIVisualizationSizeSettings poiSize
static const RGBColor YELLOW
static const RGBColor RED
GUIPropertyScheme< SUMOReal > GUIScaleScheme
bool showLinkDecals
Information whether link textures (arrows) shall be drawn.
static const RGBColor CYAN
GUIVisualizationSizeSettings containerSize
GUIVisualizationSizeSettings personSize
int personQuality
The quality of person drawing.
bool showGrid
Information whether a grid shall be shown.
bool drawCrossingsAndWalkingareas
whether crosings and walkingareas shall be drawn
bool showLane2Lane
Information whether lane-to-lane arrows shall be drawn.
Static storage of an output device and its base (abstract) implementation.
bool closeTag()
Closes the most recently opened tag.
void save(OutputDevice &dev) const
Writes the settings into an output device.
GUIVisualizationSizeSettings vehicleSize
bool drawJunctionShape
whether the shape of the junction should be drawn
GUIPropertyScheme< RGBColor > GUIColorScheme
void print(OutputDevice &dev, const std::string &name) const
int vehicleQuality
The quality of vehicle drawing.
static bool UseMesoSim
this should be set at the same time as MSGlobals::gUseMesoSim
bool drawForSelecting
whether drawing is performed for the purpose of selecting objects
GUIScaler laneScaler
The lane scaler.
GUIVisualizationTextSettings drawLinkJunctionIndex
size_t getLaneEdgeScaleMode() const
Returns the number of the active lane (edge) scaling schme.
SUMOReal getExaggeration(const GUIVisualizationSettings &s) const
return the drawing size including exaggeration and constantSize values
OutputDevice & openTag(const std::string &xmlElement)
Opens an XML tag.
void lf()
writes a line feed if applicable
GUIVisualizationTextSettings polyName
GUIVisualizationTextSettings containerName