21 #ifndef GUIVisualizationSettings_h 22 #define GUIVisualizationSettings_h 45 class BaseSchemeInfoSource;
65 return show == other.
show &&
70 return !((*this) == other);
83 minSize(_minSize), exaggeration(_exaggeration), constantSize(_constantSize) {}
98 return !((*this) == other);
102 dev.
writeAttr(name +
"_minSize", minSize);
103 dev.
writeAttr(name +
"_exaggeration", exaggeration);
104 dev.
writeAttr(name +
"_constantSize", constantSize);
303 void initNeteditDefaults();
304 void initSumoGuiDefaults();
314 int getLaneEdgeMode()
const;
319 int getLaneEdgeScaleMode()
const;
GUIVisualizationSizeSettings junctionSize
GUIVisualizationTextSettings junctionName
OutputDevice & writeAttr(const SumoXMLAttr attr, const T &val)
writes a named attribute
bool showSizeLegend
Information whether the size legend shall be drawn.
double scale
information about a lane's width (temporary, used for a single view)
GUIVisualizationTextSettings poiType
GUIVisualizationTextSettings streetName
double laneWidthExaggeration
The lane exaggeration (upscale thickness)
bool showBlinker
Information whether vehicle blinkers shall be drawn.
GUIVisualizationTextSettings addName
GUIVisualizationTextSettings personName
GUIVisualizationTextSettings poiName
bool gaming
whether the application is in gaming mode or not
bool operator!=(const GUIVisualizationTextSettings &other)
bool showBTRange
Information whether the communication range shall be drawn.
double exaggeration
The size exaggeration (upscale)
bool operator==(const GUIVisualizationTextSettings &other)
GUIColorer laneColorer
The lane colorer.
GUIColorer containerColorer
The container colorer.
bool operator==(const GUIVisualizationSizeSettings &other)
Stores the information about how to visualize structures.
GUIColorer edgeColorer
The mesoscopic edge colorer.
bool drawLaneChangePreference
Information whether the lane change preference shall be drawn.
bool showRails
Information whether rails shall be drawn.
GUIVisualizationTextSettings vehicleName
int editMode
the current NETEDIT mode (temporary)
bool showLaneDirection
Whether to show direction indicators for lanes.
void print(OutputDevice &dev, const std::string &name) const
bool laneShowBorders
Information whether lane borders shall be drawn.
bool netedit
Whether the settings are for Netedit.
bool showLinkRules
Information whether link rules (colored bars) shall be drawn.
bool dither
Information whether dithering shall be enabled.
GUIVisualizationSizeSettings polySize
GUIColorer vehicleColorer
The vehicle colorer.
GUIVisualizationSizeSettings addSize
std::string name
The name of this setting.
double minSize
The minimum size to draw this object.
bool drawMinGap
Information whether the minimum gap shall be drawn.
int addMode
The additional structures visualization scheme.
GUIVisualizationTextSettings polyType
bool showSublanes
Whether to show sublane boundaries.
LinkState
The right-of-way state of a link between two lanes used when constructing a NBTrafficLightLogic, in MSLink and GNEInternalLane.
GUIColorer personColorer
The person colorer.
GUIColorer junctionColorer
The junction colorer.
static const RGBColor SUMO_color_E3Entry
double laneMinSize
The minimum visual lane width for drawing.
GUIScaler edgeScaler
The mesoscopic edge scaler.
int containerQuality
The quality of container drawing.
RGBColor backgroundColor
The background color to use.
void print(OutputDevice &dev, const std::string &name) const
GUIVisualizationSizeSettings poiSize
bool showLinkDecals
Information whether link textures (arrows) shall be drawn.
double selectionScale
the current selection scaling in NETEDIT (temporary)
GUIVisualizationSizeSettings(double _minSize, double _exaggeration=1.0, bool _constantSize=false)
GUIVisualizationSizeSettings containerSize
GUIVisualizationTextSettings addFullName
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.
bool operator!=(const GUIVisualizationSizeSettings &other)
Static storage of an output device and its base (abstract) implementation.
static const RGBColor SUMO_color_E3Exit
GUIVisualizationSizeSettings vehicleSize
bool drawJunctionShape
whether the shape of the junction should be drawn
int vehicleQuality
The quality of vehicle drawing.
static bool UseMesoSim
this should be set at the same time as MSGlobals::gUseMesoSim
int editAdditionalMode
the current NETEDIT additional mode (temporary)
bool drawForSelecting
whether drawing is performed for the purpose of selecting objects
GUIScaler laneScaler
The lane scaler.
GUIVisualizationTextSettings(bool _show, double _size, RGBColor _color)
GUIVisualizationTextSettings polyName
GUIVisualizationTextSettings containerName