22 #ifndef GUIVisualizationSettings_h 23 #define GUIVisualizationSettings_h 46 class BaseSchemeInfoSource;
66 return show == other.
show &&
71 return !((*this) == other);
84 minSize(_minSize), exaggeration(_exaggeration), constantSize(_constantSize) {}
99 return !((*this) == other);
103 dev.
writeAttr(name +
"_minSize", minSize);
104 dev.
writeAttr(name +
"_exaggeration", exaggeration);
105 dev.
writeAttr(name +
"_constantSize", constantSize);
308 int getLaneEdgeMode()
const;
313 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.
GUIVisualizationTextSettings poiType
GUIVisualizationTextSettings streetName
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.
bool operator==(const GUIVisualizationTextSettings &other)
GUIColorer laneColorer
The lane colorer.
SUMOReal laneWidthExaggeration
The lane exaggeration (upscale thickness)
GUIColorer containerColorer
The container colorer.
bool operator==(const GUIVisualizationSizeSettings &other)
Stores the information about how to visualize structures.
SUMOReal minSize
The minimum size to draw this object.
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 showLinkRules
Information whether link rules (colored bars) shall be drawn.
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.
GUIVisualizationSizeSettings addSize
SUMOReal selectionScale
the current selection scaling in NETEDIT (temporary)
std::string name
The name of this setting.
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.
SUMOReal exaggeration
The size exaggeration (upscale)
GUIColorer personColorer
The person colorer.
GUIColorer junctionColorer
The junction colorer.
GUIVisualizationSizeSettings(SUMOReal _minSize, SUMOReal _exaggeration=1.0, bool _constantSize=false)
GUIScaler edgeScaler
The mesoscopic edge scaler.
int containerQuality
The quality of container drawing.
RGBColor backgroundColor
The background color to use.
bool antialiase
Information whether antialiase shall be enabled.
void print(OutputDevice &dev, const std::string &name) const
GUIVisualizationSizeSettings poiSize
bool showLinkDecals
Information whether link textures (arrows) shall be drawn.
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.
bool operator!=(const GUIVisualizationSizeSettings &other)
Static storage of an output device and its base (abstract) implementation.
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)
SUMOReal laneMinSize
The minimum visual lane width for drawing.
bool drawForSelecting
whether drawing is performed for the purpose of selecting objects
GUIVisualizationTextSettings(bool _show, SUMOReal _size, RGBColor _color)
GUIScaler laneScaler
The lane scaler.
GUIVisualizationTextSettings polyName
GUIVisualizationTextSettings containerName