19 #ifndef GUIVisualizationSettings_h 20 #define GUIVisualizationSettings_h 39 class BaseSchemeInfoSource;
66 double scaledSize(
double scale,
double constFactor = 0.1)
const;
89 GUIVisualizationSizeSettings(
double _minSize,
double _exaggeration = 1.0,
bool _constantSize =
false,
bool _constantSizeSelected =
false);
353 void initNeteditDefaults();
354 void initSumoGuiDefaults();
364 int getLaneEdgeMode()
const;
369 int getLaneEdgeScaleMode()
const;
388 double getTextAngle(
double objectAngle)
const;
391 bool drawDetail(
const double detail,
const double exaggeration)
const;
394 int getCircleResolution()
const;
GUIVisualizationSizeSettings junctionSize
static const double personCircles
details for draw person as circles
bool drawBrakeGap
Information whether the brake gap shall be drawn.
static const RGBColor walk
color for walks
RGBColor selectedPersonPlanColor
person plan selection color (Rides, Walks, personStops...)
static const std::string SCHEME_NAME_TYPE
static const RGBColor crossing
color for crossings
bool showSizeLegend
Information whether the size legend shall be drawn.
static const RGBColor childConnections
color for child connections between parents and child elements
double scale
information about a lane's width (temporary, used for a single view)
static const RGBColor personStops
color for personStops
GUIVisualizationTextSettings poiType
GUIVisualizationTextSettings streetName
double laneWidthExaggeration
The lane exaggeration (upscale thickness)
static const double personShapes
details for draw person as person shapes
bool showBlinker
Information whether vehicle blinkers shall be drawn.
static const std::string SCHEME_NAME_EDGEDATA_NUMERICAL
GUIVisualizationTextSettings addName
GUIVisualizationTextSettings personValue
RGBColor selectedVehicleColor
vehicle selection color
static const double personExaggeration
Exaggeration for persons (only used in NETEDIT)
GUIVisualizationTextSettings poiName
RGBColor selectedLaneColor
lane selection color
bool gaming
whether the application is in gaming mode or not
bool operator!=(const GUIVisualizationTextSettings &other)
inequality comparator
bool showBTRange
Information whether the communication range shall be drawn.
double exaggeration
The size exaggeration (upscale)
bool operator==(const GUIVisualizationTextSettings &other)
equality comparator
GUIColorer laneColorer
The lane colorer.
GUIColorer containerColorer
The container colorer.
Stores the information about how to visualize structures.
static const RGBColor chargingStation
color for chargingStations
static const RGBColor containerStop_sign
color for containerStop signs
RGBColor bgColor
background text color
GUIColorer edgeColorer
The mesoscopic edge colorer.
static const double stoppingPlaceText
details for stopping place texts
bool drawLaneChangePreference
Information whether the lane change preference shall be drawn.
bool showRails
Information whether rails shall be drawn.
static const std::string SCHEME_NAME_EDGE_PARAM_NUMERICAL
scheme names
bool constantSizeSelected
whether only selected objects shall be drawn with constant
static const RGBColor E1Instant
color for E1 Instant detectors
bool showLaneDirection
Whether to show direction indicators for lanes.
bool laneShowBorders
Information whether lane borders shall be drawn.
static const double ride
width for rides
RGBColor selectedAdditionalColor
additional selection color (busStops, Detectors...)
static const std::string SCHEME_NAME_LANE_PARAM_NUMERICAL
bool netedit
Whether the settings are for Netedit.
bool showLinkRules
Information whether link rules (colored bars) shall be drawn.
static const double stopsDetails
details for stops
bool dither
Information whether dithering shall be enabled.
static const RGBColor routeProbe
color for route probes
static const double vehicleShapes
details for draw person as shapes
static const RGBColor vaporizer
color for vaporizers
GUIVisualizationSizeSettings polySize
GUIColorer vehicleColorer
The vehicle colorer.
static const double personTrip
width for person trips
GUIVisualizationSizeSettings addSize
bool constantSize
whether the object shall be drawn with constant size regardless of zoom
GUIColorer poiColorer
The POI colorer.
GUIVisualizationTextSettings vehicleValue
static const double additionalTextures
details for additional textures
RGBColor selectedConnectionColor
connection selection color
GUIVisualizationWidthSettings widthSettings
width settings
static const RGBColor containerStop
color for containerStops
std::string name
The name of this setting.
static const double connectionsDemandMode
draw connections in demand mode
RGBColor selectedRouteColor
route selection color (used for routes and vehicle stops)
static const RGBColor E3Exit
color for Exits
double minSize
The minimum size to draw this object.
static const RGBColor crossingPriority
color for priority crossing
bool constSize
flag to avoid size changes
RGBColor selectionColor
basic selection color
RGBColor selectedProhibitionColor
prohibition selection color
double scaledSize(double scale, double constFactor=0.1) const
get scale size
bool drawMinGap
Information whether the minimum gap shall be drawn.
static const double route
width for routes
int addMode
The additional structures visualization scheme.
GUIVisualizationTextSettings polyType
bool showSublanes
Whether to show sublane boundaries.
GUIVisualizationTextSettings(bool _show, double _size, RGBColor _color, RGBColor _bgColor=RGBColor(128, 0, 0, 0), bool _constSize=true)
constructor
static const std::string SCHEME_NAME_PERMISSION_CODE
LinkState
The right-of-way state of a link between two lanes used when constructing a NBTrafficLightLogic, in MSLink and GNEInternalLane.
static const double laneTextures
details for lane textures
GUIColorer polyColorer
The polygon colorer.
static const double detectorDetails
details for detectors
GUIColorer personColorer
The person colorer.
bool showColorLegend
Information whether the colo legend shall be drawn.
bool fps
Information whether frames-per-second should be drawn.
GUIColorer junctionColorer
The junction colorer.
static const double personTriangles
details for draw person as triangles
double angle
The current view rotation angle.
double laneMinSize
The minimum visual lane width for drawing.
GUIScaler edgeScaler
The mesoscopic edge scaler.
static const double vehicleBoxes
details for draw person as boxes
static const RGBColor ride
color for rides
static const double geometryPointsDetails
details for Geometry Points
int containerQuality
The quality of container drawing.
RGBColor backgroundColor
The background color to use.
static const RGBColor stops
color for Stops
static const RGBColor parkingAreaSign
color for parkingArea sign
static const RGBColor E1
color for E1 detectors
GUIVisualizationDetailSettings detailSettings
detail settings
static const double vehicleTriangles
details for draw person as triangles
void print(OutputDevice &dev, const std::string &name) const
print values in output device
static const double walk
width for walks
static const RGBColor vehicleTrips
color for vehicle trips
GUIVisualizationSizeSettings poiSize
static const RGBColor E3Entry
color for Entrys
RGBColor selectedCrossingColor
crossings selection color
RGBColor selectedPersonColor
person selection color
bool showLinkDecals
Information whether link textures (arrows) shall be drawn.
double selectionScale
the current selection scaling in NETEDIT (temporary)
static const RGBColor personTrip
color for personStops
static const RGBColor parkingSpace
color for parkingArea sign
GUIVisualizationSizeSettings containerSize
static const double stopsText
details for stop texts
std::string edgeData
key for coloring by edgeData
GUIVisualizationTextSettings addFullName
static const RGBColor parkingArea
color for parkingAreas
static const double detectorText
details for detector texts
GUIVisualizationTextSettings tlsPhaseIndex
static const RGBColor crossingInvalid
color for invalid crossing
static const double lockIcon
lock icons
static const RGBColor calibrator
color for Calibrators
GUIVisualizationSizeSettings personSize
int personQuality
The quality of person drawing.
bool showGrid
Information whether a grid shall be shown.
static const RGBColor chargingStation_sign
color for chargingStation sign
static const float dottedContour
width of dotted contours (note: must be float)
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.
struct for detail settings
static const double stoppingPlaceDetails
details for stopping places
static const double calibratorText
details for calibrator text
struct for color settings
GUIVisualizationColorSettings colorSettings
color settings
GUIVisualizationSizeSettings vehicleSize
bool drawJunctionShape
whether the shape of the junction should be drawn
struct for width settings
int vehicleQuality
The quality of vehicle drawing.
RGBColor selectedEdgeColor
edge selection color
static bool UseMesoSim
this should be set at the same time as MSGlobals::gUseMesoSim
static const RGBColor busStop
color for busStops
static const std::string SCHEME_NAME_SELECTION
bool drawForSelecting
whether drawing is performed for the purpose of selecting objects
bool forceDrawForSelecting
flag to force draw to selecting (see drawForSelecting)
static const double geometryPointsText
details for Geometry Points Texts
GUIScaler laneScaler
The lane scaler.
bool spreadSuperposed
Whether to improve visualisation of superposed (rail) edges.
bool drawBoundaries
enable or disable draw boundaries
static const RGBColor parkingSpaceInnen
color for parkingArea innen
static const RGBColor E2
color for E2 detectors
static const RGBColor chargingStation_charge
color for chargingStation during charging
static const RGBColor busStop_sign
color for busStops signs
bool hideConnectors
flag to show or hidde connectors
bool showBikeMarkings
Information whether bicycle lane marking shall be drawn.
static const double trip
width for trips
static const double dottedContourSegmentLenght
lenght of dotted contour segments
GUIVisualizationTextSettings polyName
GUIVisualizationTextSettings containerName