Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GUIVisualizationSettings Class Reference

Stores the information about how to visualize structures. More...

#include <GUIVisualizationSettings.h>

Collaboration diagram for GUIVisualizationSettings:
[legend]

Public Types

enum class  Detail : int {
  Level0 = 0 , CircleResolution32 = 0 , DrawPolygonTesselation = 0 , LaneDetails = 0 ,
  Text = 0 , VehiclePoly = 0 , JunctionElementDetails = 0 , LockedIcons = 0 ,
  Level1 = 1 , CircleResolution16 = 1 , VehicleBox = 1 , AdditionalDetails = 1 ,
  GeometryPoint = 1 , JunctionElement = 1 , DottedContoursResampled = 1 , PreciseSelection = 1 ,
  DottedContours = 1 , Level2 = 2 , CircleResolution8 = 2 , DrawPolygonSquare = 2 ,
  VehicleTriangle = 2 , Additionals = 2 , GeometryBoxLines = 2 , Level3 = 3 ,
  CircleResolution4 = 3 , TLSIcon = 3 , Level4 = 4 , GeometryBoxSimpleLine = 4
}

Public Member Functions

bool checkDrawAdditional (Detail d, const bool selected) const
 check if draw additionals
bool checkDrawContainer (Detail d, const bool selected) const
 check if draw container
bool checkDrawEdge (const Boundary &b) const
 check if draw edge
bool checkDrawJunction (const Boundary &b, const bool selected) const
 check if draw junction
bool checkDrawPerson (Detail d, const bool selected) const
 check if draw person
bool checkDrawPOI (const double w, const double h, const Detail d, const bool selected) const
 check if draw POI
bool checkDrawPoly (const Boundary &b, const bool selected) const
 check if draw polygon
bool checkDrawVehicle (Detail d, const bool selected) const
 check if draw vehicle
void copy (const GUIVisualizationSettings &s)
 copy all content from another GUIVisualizationSettings (note: DON'T USE in DrawGL functions!)
bool drawDetail (const double detail, const double exaggeration) const
 check if details can be drawn for the given GUIVisualizationDetailSettings and current scale and exaggeration
bool drawMovingGeometryPoint (const double exaggeration, const double radius) const
 check if moving geometry point can be draw
bool flippedTextAngle (double objectAngle) const
 return wether the text was flipped for reading at the given angle
Detail getDetailLevel (const double exaggeration) const
 return the detail level
int getLaneEdgeMode () const
 Returns the number of the active lane (edge) coloring scheme.
int getLaneEdgeScaleMode () const
 Returns the number of the active lane (edge) scaling scheme.
GUIScaleSchemegetLaneEdgeScaleScheme ()
 Returns the current lane (edge) scaling scheme.
GUIColorSchemegetLaneEdgeScheme ()
 Returns the current lane (edge) coloring scheme.
double getTextAngle (double objectAngle) const
 return an angle that is suitable for reading text aligned with the given angle (degrees)
 GUIVisualizationSettings (const std::string &_name, bool _netedit=false)
 constructor
void initNeteditDefaults ()
 init default settings
void initSumoGuiDefaults ()
bool operator== (const GUIVisualizationSettings &vs2)
 Comparison operator.
void save (OutputDevice &dev) const
 Writes the settings into an output device.
void updateIgnoreHideByZoom ()
 update ignore hide by zoom (call BEFORE drawing all elements).

Static Public Member Functions

static const RGBColorgetLinkColor (const LinkState &ls, bool realistic=false)
 map from LinkState to color constants

Data Fields

GUIVisualizationAdditionalSettings additionalSettings
 Additional settings.
double angle
 The current view rotation angle.
double BoundarySizeDrawing = 15
 constant for boundary size drawing (20 for slow computers, 10 for quick computers)
GUIVisualizationCandidateColorSettings candidateColorSettings
 candidate color settings
GUIVisualizationColorSettings colorSettings
 color settings
GUIVisualizationConnectionSettings connectionSettings
 connection settings
GUIVisualizationDetailSettings detailSettings
 detail settings
GUIVisualizationDetectorSettings detectorSettings
 Detector settings.
bool disableDottedContours
 flag for disable dotted contours in netedit
bool disableLaneIcons
 whether drawing is performed in left-hand networks
bool dither
 Information whether dithering shall be enabled.
GUIVisualizationDottedContourSettings dottedContourSettings
 dotted contour settings
bool drawBoundaries
 enable or disable draw boundaries
bool drawForRectangleSelection
 whether drawing is performed for the purpose of selecting objects using a rectangle
bool drawForViewObjectsHandler
 whether drawing is performed for the purpose of selecting objects in view using ViewObjectsHandler
bool forceDrawForRectangleSelection
 flag to force draw for rectangle selection (see drawForRectangleSelection)
bool fps
 Information whether frames-per-second should be drawn.
bool gaming
 whether the application is in gaming mode or not
GUIVisualizationTextSettings geometryIndices
bool lefthand
 whether drawing is performed in left-hand networks
std::string name
 The name of this setting.
bool netedit
 Whether the settings are for Netedit.
GUIVisualizationNeteditSizeSettings neteditSizeSettings
 netedit size settings
double scale
 information about a lane's width (temporary, used for a single view)
bool secondaryShape
 whether secondary lane shape shall be drawn
double selectorFrameScale
 the current selection scaling in netedit (set in SelectorFrame)
bool showColorLegend
 Information whether the edge color legend shall be drawn.
bool showSizeLegend
 Information whether the size legend shall be drawn.
bool showVehicleColorLegend
 Information whether the vehicle color legend shall be drawn.
GUIVisualizationStoppingPlaceSettings stoppingPlaceSettings
 StoppingPlace settings.
bool trueZ
 drawl all objects according to their z data
GUIVisualizationWidthSettings widthSettings
 width settings
Background visualization settings
RGBColor backgroundColor
 The background color to use.
bool showGrid
 Information whether a grid shall be shown.
double gridXSize
 Information about the grid spacings.
double gridYSize
vehicle visualization settings
GUIColorer vehicleColorer
 The vehicle colorer.
GUIScaler vehicleScaler
 The size scaling settings for vehicles.
int vehicleQuality
 The quality of vehicle drawing.
bool showBlinker
 Information whether vehicle blinkers shall be drawn.
bool drawLaneChangePreference
 Information whether the lane change preference shall be drawn.
bool drawMinGap
 Information whether the minimum gap shall be drawn.
bool drawBrakeGap
 Information whether the brake gap shall be drawn.
bool showBTRange
 Information whether the communication range shall be drawn.
bool showRouteIndex
 Information whether the route index should be shown.
bool scaleLength
 Whether vehicle length shall be scaled with length/geometry factor.
bool drawReversed
 Whether to draw reversed vehicles in their reversed state.
bool showParkingInfo
 Set whether parking related information should be shown.
bool showChargingInfo
 Set whether the charging search related information should be shown.
GUIVisualizationSizeSettings vehicleSize
GUIVisualizationTextSettings vehicleName
GUIVisualizationTextSettings vehicleValue
GUIVisualizationTextSettings vehicleScaleValue
GUIVisualizationTextSettings vehicleText
GUIVisualizationRainbowSettings vehicleValueRainBow
person visualization settings
GUIColorer personColorer
 The person colorer.
int personQuality
 The quality of person drawing.
GUIVisualizationSizeSettings personSize
GUIVisualizationTextSettings personName
GUIVisualizationTextSettings personValue
bool showPedestrianNetwork
 Flag for visualizing the pedestrian network generated for JuPedSim.
RGBColor pedestrianNetworkColor
 The color of the pedestrian network generated for JuPedSim.
container visualization settings
GUIColorer containerColorer
 The container colorer.
int containerQuality
 The quality of container drawing.
GUIVisualizationSizeSettings containerSize
GUIVisualizationTextSettings containerName
junction visualization settings
GUIColorer junctionColorer
 The junction colorer.
GUIVisualizationTextSettings drawLinkTLIndex
GUIVisualizationTextSettings drawLinkJunctionIndex
GUIVisualizationTextSettings junctionID
GUIVisualizationTextSettings junctionName
GUIVisualizationTextSettings internalJunctionName
GUIVisualizationTextSettings tlsPhaseIndex
GUIVisualizationTextSettings tlsPhaseName
bool showLane2Lane
 Information whether lane-to-lane arrows shall be drawn.
bool drawJunctionShape
 whether the shape of the junction should be drawn
bool drawCrossingsAndWalkingareas
 whether crossings and walkingareas shall be drawn
GUIVisualizationSizeSettings junctionSize
GUIVisualizationRainbowSettings junctionValueRainBow
Additional structures visualization settings
int addMode
 The additional structures visualization scheme.
GUIVisualizationSizeSettings addSize
GUIVisualizationTextSettings addName
GUIVisualizationTextSettings addFullName
shapes visualization settings
GUIColorer poiColorer
 The POI colorer.
GUIVisualizationSizeSettings poiSize
int poiDetail
 The detail level for drawing POIs.
GUIVisualizationTextSettings poiName
GUIVisualizationTextSettings poiType
GUIVisualizationTextSettings poiText
std::string poiTextParam
 key for rendering poi textual parameter
bool poiUseCustomLayer
 whether the rendering layer of POIs should be overriden
double poiCustomLayer
 the custom layer for POIs
GUIColorer polyColorer
 The polygon colorer.
GUIVisualizationSizeSettings polySize
GUIVisualizationTextSettings polyName
GUIVisualizationTextSettings polyType
bool polyUseCustomLayer
 whether the rendering layer of polygons should be overriden
double polyCustomLayer
 the custom layer for polygons
data mode visualization settings

the edgeRelation / tazRelation colorer

GUIColorer dataColorer
GUIScaler dataScaler
 The size scaling settings for data elements.
GUIVisualizationTextSettings dataValue
double tazRelWidthExaggeration
 The tazRelation exaggeration (upscale thickness).
double edgeRelWidthExaggeration
 The edgeRelation exaggeration (upscale thickness).
std::string relDataAttr
 key for coloring by edgeRelation / tazRelation attribute
std::string relDataScaleAttr
 key for scaling by edgeRelation / tazRelation attribute
GUIVisualizationRainbowSettings dataValueRainBow
 value below which edgeData and edgeRelation data value should not be rendered
3D visualization settings

whether the coloring schemes of vehicles should be ignored

bool ignoreColorSchemeFor3DVehicles
bool show3DTLSLinkMarkers
 whether the TLS link markers should be drawn
bool show3DTLSDomes
 whether the semi-transparent domes around 3D TL models should be drawn
bool generate3DTLSModels
 whether 3D TLS models should be generated automatically
bool show3DHeadUpDisplay
 whether to draw the head up display items
RGBColor ambient3DLight
 3D material light components
RGBColor diffuse3DLight
RGBColor skyColor
 sky background color

Static Public Attributes

static RGBColor COL_MISSING_DATA
static const double MISSING_DATA
static std::map< std::string, std::vector< RGBColor > > RAINBOW_SCHEMES
static const std::string SCHEME_NAME_DATA_ATTRIBUTE_NUMERICAL
static const std::string SCHEME_NAME_EDGE_PARAM_NUMERICAL
 scheme names
static const std::string SCHEME_NAME_EDGEDATA_LIVE
static const std::string SCHEME_NAME_EDGEDATA_NUMERICAL
static const std::string SCHEME_NAME_LANE_PARAM_NUMERICAL
static const std::string SCHEME_NAME_PARAM_NUMERICAL
static const std::string SCHEME_NAME_PERMISSION_CODE
static const std::string SCHEME_NAME_SELECTION
static const std::string SCHEME_NAME_TYPE

Protected Attributes

bool myIgnoreHideByZoom
 flag for ignore hide by zoom (used if we're drawing elements with constant size, their ID/name/etc. texts, etc.)

Private Member Functions

 GUIVisualizationSettings (const GUIVisualizationSettings &)=default
 set copy constructor private
GUIVisualizationSettingsoperator= (const GUIVisualizationSettings &)=default
 set assignment operator private

lane visualization settings

GUIColorer edgeColorer
 The mesoscopic edge colorer.
GUIScaler edgeScaler
 The mesoscopic edge scaler.
GUIColorer laneColorer
 The lane colorer.
GUIScaler laneScaler
 The lane scaler.
bool laneShowBorders
 Information whether lane borders shall be drawn.
bool showBikeMarkings
 Information whether bicycle lane marking shall be drawn.
bool showLinkDecals
 Information whether link textures (arrows) shall be drawn.
bool realisticLinkRules
 Information whether link rules (colored bars) shall be drawn with a realistic color scheme.
bool showLinkRules
 Information whether link rules (colored bars) shall be drawn.
bool showRails
 Information whether rails shall be drawn.
GUIVisualizationTextSettings edgeName
 Setting bundles for optional drawing names with size and color.
GUIVisualizationTextSettings internalEdgeName
GUIVisualizationTextSettings cwaEdgeName
GUIVisualizationTextSettings streetName
GUIVisualizationTextSettings edgeValue
GUIVisualizationTextSettings edgeScaleValue
bool hideConnectors
 flag to show or hide connectors
double laneWidthExaggeration
 The lane exaggeration (upscale thickness).
double laneMinSize
 The minimum visual lane width for drawing.
bool showLaneDirection
 Whether to show direction indicators for lanes.
bool showSublanes
 Whether to show sublane boundaries.
bool spreadSuperposed
 Whether to improve visualisation of superposed (rail) edges.
bool disableHideByZoom
 disable hide by zoom
std::string edgeParam
 key for coloring by edge parameter
std::string laneParam
std::string vehicleParam
 key for coloring by vehicle parameter
std::string vehicleScaleParam
 key for scaling by vehicle parameter
std::string vehicleTextParam
 key for rendering vehicle textual parameter
std::string edgeData
 key for coloring by edgeData
std::string edgeDataID
 id for coloring by live edgeData
std::string edgeDataScaling
 key for scaling by edgeData
GUIVisualizationRainbowSettings edgeValueRainBow
 checks and thresholds for rainbow coloring
static bool UseMesoSim = false
 this should be set at the same time as MSGlobals::gUseMesoSim

Detailed Description

Stores the information about how to visualize structures.

Definition at line 587 of file GUIVisualizationSettings.h.

Member Enumeration Documentation

◆ Detail

Enumerator
Level0 
CircleResolution32 
DrawPolygonTesselation 
LaneDetails 
Text 
VehiclePoly 
JunctionElementDetails 
LockedIcons 
Level1 
CircleResolution16 
VehicleBox 
AdditionalDetails 
GeometryPoint 
JunctionElement 
DottedContoursResampled 
PreciseSelection 
DottedContours 
Level2 
CircleResolution8 
DrawPolygonSquare 
VehicleTriangle 
Additionals 
GeometryBoxLines 
Level3 
CircleResolution4 
TLSIcon 
Level4 
GeometryBoxSimpleLine 

Definition at line 591 of file GUIVisualizationSettings.h.

Constructor & Destructor Documentation

◆ GUIVisualizationSettings() [1/2]

GUIVisualizationSettings::GUIVisualizationSettings ( const std::string & _name,
bool _netedit = false )

constructor

Definition at line 563 of file GUIVisualizationSettings.cpp.

References addFullName, addMode, addName, addSize, ambient3DLight, angle, backgroundColor, containerName, containerQuality, containerSize, cwaEdgeName, dataValue, dataValueRainBow, diffuse3DLight, disableDottedContours, disableHideByZoom, disableLaneIcons, dither, drawBoundaries, drawBrakeGap, drawCrossingsAndWalkingareas, drawForRectangleSelection, drawForViewObjectsHandler, drawJunctionShape, drawLaneChangePreference, drawLinkJunctionIndex, drawLinkTLIndex, drawMinGap, drawReversed, edgeData, edgeDataID, edgeDataScaling, edgeName, edgeParam, edgeRelWidthExaggeration, edgeScaleValue, edgeValue, edgeValueRainBow, forceDrawForRectangleSelection, fps, gaming, generate3DTLSModels, geometryIndices, gridXSize, gridYSize, hideConnectors, ignoreColorSchemeFor3DVehicles, initNeteditDefaults(), initSumoGuiDefaults(), internalEdgeName, internalJunctionName, junctionID, junctionName, junctionSize, junctionValueRainBow, laneMinSize, laneParam, laneShowBorders, laneWidthExaggeration, lefthand, myIgnoreHideByZoom, name, netedit, OSG_color_AMBIENT, OSG_color_DIFFUSE, OSG_color_SKY, pedestrianNetworkColor, personName, personQuality, personSize, personValue, poiCustomLayer, poiDetail, poiName, poiSize, poiText, poiTextParam, poiType, poiUseCustomLayer, polyCustomLayer, polyName, polySize, polyType, polyUseCustomLayer, realisticLinkRules, relDataAttr, relDataScaleAttr, scaleLength, secondaryShape, selectorFrameScale, show3DHeadUpDisplay, show3DTLSDomes, show3DTLSLinkMarkers, showBikeMarkings, showBlinker, showBTRange, showChargingInfo, showColorLegend, showGrid, showLane2Lane, showLaneDirection, showLinkDecals, showLinkRules, showParkingInfo, showPedestrianNetwork, showRails, showRouteIndex, showSizeLegend, showSublanes, showVehicleColorLegend, skyColor, spreadSuperposed, streetName, tazRelWidthExaggeration, tlsPhaseIndex, tlsPhaseName, trueZ, vehicleName, vehicleParam, vehicleQuality, vehicleScaleParam, vehicleScaleValue, vehicleSize, vehicleText, vehicleTextParam, vehicleValue, and vehicleValueRainBow.

Referenced by copy(), GUIVisualizationSettings(), operator=(), and operator==().

Here is the caller graph for this function:

◆ GUIVisualizationSettings() [2/2]

GUIVisualizationSettings::GUIVisualizationSettings ( const GUIVisualizationSettings & )
privatedefault

set copy constructor private

References GUIVisualizationSettings().

Member Function Documentation

◆ checkDrawAdditional()

◆ checkDrawContainer()

bool GUIVisualizationSettings::checkDrawContainer ( Detail d,
const bool selected ) const

check if draw container

Definition at line 931 of file GUIVisualizationSettings.cpp.

References Additionals, containerName, containerSize, drawForViewObjectsHandler, and myIgnoreHideByZoom.

Referenced by GNEContainer::drawGL(), GNEDemandElementPlan::drawPlanGL(), and GNEDemandElementPlan::drawPlanLanePartial().

Here is the caller graph for this function:

◆ checkDrawEdge()

bool GUIVisualizationSettings::checkDrawEdge ( const Boundary & b) const

check if draw edge

Definition at line 718 of file GUIVisualizationSettings.cpp.

References BoundarySizeDrawing, disableHideByZoom, drawForViewObjectsHandler, MAX2(), myIgnoreHideByZoom, and scale.

Referenced by GNEEdge::drawGL().

Here is the caller graph for this function:

◆ checkDrawJunction()

bool GUIVisualizationSettings::checkDrawJunction ( const Boundary & b,
const bool selected ) const

◆ checkDrawPerson()

bool GUIVisualizationSettings::checkDrawPerson ( Detail d,
const bool selected ) const

check if draw person

Definition at line 911 of file GUIVisualizationSettings.cpp.

References Additionals, drawForViewObjectsHandler, myIgnoreHideByZoom, personName, personSize, and personValue.

Referenced by GNEPerson::drawGL(), GNEDemandElementPlan::drawPlanGL(), and GNEDemandElementPlan::drawPlanLanePartial().

Here is the caller graph for this function:

◆ checkDrawPOI()

bool GUIVisualizationSettings::checkDrawPOI ( const double w,
const double h,
const Detail d,
const bool selected ) const

check if draw POI

Definition at line 863 of file GUIVisualizationSettings.cpp.

References Additionals, BoundarySizeDrawing, drawForViewObjectsHandler, MAX2(), myIgnoreHideByZoom, poiName, poiSize, poiText, poiType, and scale.

Referenced by GNEPOI::drawGL().

Here is the caller graph for this function:

◆ checkDrawPoly()

bool GUIVisualizationSettings::checkDrawPoly ( const Boundary & b,
const bool selected ) const

check if draw polygon

Definition at line 843 of file GUIVisualizationSettings.cpp.

References BoundarySizeDrawing, drawForViewObjectsHandler, MAX2(), myIgnoreHideByZoom, polyName, polySize, polyType, and scale.

Referenced by GNEPoly::drawGL(), and GNETAZ::drawGL().

Here is the caller graph for this function:

◆ checkDrawVehicle()

bool GUIVisualizationSettings::checkDrawVehicle ( Detail d,
const bool selected ) const

check if draw vehicle

Definition at line 887 of file GUIVisualizationSettings.cpp.

References Additionals, drawForViewObjectsHandler, myIgnoreHideByZoom, vehicleName, vehicleScaleValue, vehicleSize, vehicleText, and vehicleValue.

Referenced by GNEVehicle::drawGL(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNERoute::drawLanePartialGL(), and GNEVehicle::drawLanePartialGL().

Here is the caller graph for this function:

◆ copy()

void GUIVisualizationSettings::copy ( const GUIVisualizationSettings & s)

copy all content from another GUIVisualizationSettings (note: DON'T USE in DrawGL functions!)

Definition at line 949 of file GUIVisualizationSettings.cpp.

References GUIVisualizationSettings().

Referenced by GUICompleteSchemeStorage::add(), GUIDialog_ViewSettings::onCmdColorChange(), and GUIDialog_ViewSettings::onCmdSaveSetting().

Here is the caller graph for this function:

◆ drawDetail()

bool GUIVisualizationSettings::drawDetail ( const double detail,
const double exaggeration ) const

check if details can be drawn for the given GUIVisualizationDetailSettings and current scale and exaggeration

Definition at line 2807 of file GUIVisualizationSettings.cpp.

References scale.

Referenced by GUIBusStop::drawGL(), GUIChargingStation::drawGL(), and GUIParkingArea::drawGL().

Here is the caller graph for this function:

◆ drawMovingGeometryPoint()

bool GUIVisualizationSettings::drawMovingGeometryPoint ( const double exaggeration,
const double radius ) const

check if moving geometry point can be draw

Definition at line 2817 of file GUIVisualizationSettings.cpp.

References scale.

Referenced by GNEConnection::drawConnection(), GNECrossing::drawCrossing(), GNEJunction::drawJunctionAsShape(), and GNEWalkingArea::drawTesselatedWalkingArea().

Here is the caller graph for this function:

◆ flippedTextAngle()

bool GUIVisualizationSettings::flippedTextAngle ( double objectAngle) const

return wether the text was flipped for reading at the given angle

Definition at line 2777 of file GUIVisualizationSettings.cpp.

References angle.

Referenced by GUIBusStop::drawGL(), and GUIChargingStation::drawGL().

Here is the caller graph for this function:

◆ getDetailLevel()

GUIVisualizationSettings::Detail GUIVisualizationSettings::getDetailLevel ( const double exaggeration) const

return the detail level

Definition at line 2789 of file GUIVisualizationSettings.cpp.

References Level0, Level1, Level2, Level3, Level4, and scale.

Referenced by GNEAccess::drawGL(), GNEBusStop::drawGL(), GNECalibrator::drawGL(), GNEChargingStation::drawGL(), GNEConnection::drawGL(), GNEContainer::drawGL(), GNEContainerStop::drawGL(), GNECrossing::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNEPerson::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNEStop::drawGL(), GNEStopPlan::drawGL(), GNETAZ::drawGL(), GNETAZRelData::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEVehicle::drawGL(), GNEWalkingArea::drawGL(), GNEEdgeRelData::drawJunctionPartialGL(), GNELaneAreaDetector::drawJunctionPartialGL(), GNEOverheadWire::drawJunctionPartialGL(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNEEdgeData::drawLanePartialGL(), GNEEdgeRelData::drawLanePartialGL(), GNELaneAreaDetector::drawLanePartialGL(), GNEOverheadWire::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEAdditionalListed::drawListedAdditional(), GNEDemandElementPlan::drawPlanGL(), GNEDemandElementPlan::drawPlanJunctionPartial(), GNEDemandElementPlan::drawPlanLanePartial(), GNEAdditionalSquared::drawSquaredAdditional(), and GNELane::DrawingConstants::update().

Here is the caller graph for this function:

◆ getLaneEdgeMode()

int GUIVisualizationSettings::getLaneEdgeMode ( ) const

Returns the number of the active lane (edge) coloring scheme.

Returns
number of the active scheme

Definition at line 2029 of file GUIVisualizationSettings.cpp.

References edgeColorer, laneColorer, and UseMesoSim.

Referenced by GUIEdge::drawGL(), GUIDialog_ViewSettings::onCmdColorChange(), and save().

Here is the caller graph for this function:

◆ getLaneEdgeScaleMode()

int GUIVisualizationSettings::getLaneEdgeScaleMode ( ) const

Returns the number of the active lane (edge) scaling scheme.

Returns
number of the active scheme

Definition at line 2038 of file GUIVisualizationSettings.cpp.

References edgeScaler, laneScaler, and UseMesoSim.

Referenced by GUIEdge::drawGL(), GUIDialog_ViewSettings::onCmdColorChange(), and save().

Here is the caller graph for this function:

◆ getLaneEdgeScaleScheme()

GUIScaleScheme & GUIVisualizationSettings::getLaneEdgeScaleScheme ( )

Returns the current lane (edge) scaling scheme.

Returns
current scheme

Definition at line 2056 of file GUIVisualizationSettings.cpp.

References edgeScaler, laneScaler, and UseMesoSim.

Referenced by GUIDialog_ViewSettings::onCmdColorChange().

Here is the caller graph for this function:

◆ getLaneEdgeScheme()

GUIColorScheme & GUIVisualizationSettings::getLaneEdgeScheme ( )

Returns the current lane (edge) coloring scheme.

Returns
current scheme

Definition at line 2047 of file GUIVisualizationSettings.cpp.

References edgeColorer, laneColorer, and UseMesoSim.

Referenced by GUIDialog_ViewSettings::onCmdColorChange().

Here is the caller graph for this function:

◆ getLinkColor()

◆ getTextAngle()

double GUIVisualizationSettings::getTextAngle ( double objectAngle) const

return an angle that is suitable for reading text aligned with the given angle (degrees)

Definition at line 2761 of file GUIVisualizationSettings.cpp.

References angle.

Referenced by GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNEDetector::drawE1DetectorLogo(), GNEDetector::drawE2DetectorLogo(), GNELaneAreaDetector::drawE2PartialLane(), GNEGenericData::drawFilteredAttribute(), GUIBusStop::drawGL(), GUIChargingStation::drawGL(), GUIEdge::drawGL(), GUIOverheadWire::drawGL(), and GUIParkingArea::drawGL().

Here is the caller graph for this function:

◆ initNeteditDefaults()

void GUIVisualizationSettings::initNeteditDefaults ( )

◆ initSumoGuiDefaults()

void GUIVisualizationSettings::initSumoGuiDefaults ( )

add lane coloring schemes

add vehicle coloring schemes

add person coloring schemes

add container coloring schemes

add junction coloring schemes

add POI coloring schemes

add polygon coloring schemes

add lane scaling schemes

add edge coloring schemes

add edge scaling schemes

add vehicle scaling schemes

Definition at line 956 of file GUIVisualizationSettings.cpp.

References GUIPropertyScheme< T >::addColor(), RGBColor::BLACK, RGBColor::BLUE, COL_MISSING_DATA, COL_SCHEME_DYNAMIC, COL_SCHEME_EMISSION, COL_SCHEME_MISC, containerColorer, RGBColor::CYAN, dataScaler, edgeColorer, edgeScaler, RGBColor::GREEN, RGBColor::GREY, INVALID_DOUBLE, junctionColorer, laneColorer, laneScaler, RGBColor::MAGENTA, MISSING_DATA, RGBColor::ORANGE, personColorer, poiColorer, polyColorer, RGBColor::RED, SCHEME_NAME_EDGE_PARAM_NUMERICAL, SCHEME_NAME_EDGEDATA_LIVE, SCHEME_NAME_EDGEDATA_NUMERICAL, SCHEME_NAME_LANE_PARAM_NUMERICAL, SCHEME_NAME_PARAM_NUMERICAL, SCHEME_NAME_PERMISSION_CODE, SCHEME_NAME_SELECTION, SCHEME_NAME_TYPE, GUIPropertyScheme< T >::setAllowsNegativeValues(), SVC_BICYCLE, SVC_BUS, SVC_DELIVERY, SVC_MOPED, SVC_NON_ROAD, SVC_PASSENGER, SVC_PEDESTRIAN, SVC_SHIP, SVC_TAXI, SVCAll, TL, vehicleColorer, vehicleScaler, and RGBColor::YELLOW.

Referenced by GUIVisualizationSettings().

Here is the caller graph for this function:

◆ operator=()

GUIVisualizationSettings & GUIVisualizationSettings::operator= ( const GUIVisualizationSettings & )
privatedefault

set assignment operator private

References GUIVisualizationSettings().

◆ operator==()

bool GUIVisualizationSettings::operator== ( const GUIVisualizationSettings & vs2)

Comparison operator.

Definition at line 2331 of file GUIVisualizationSettings.cpp.

References addFullName, addMode, addName, addSize, ambient3DLight, backgroundColor, colorSettings, containerColorer, containerName, containerQuality, containerSize, cwaEdgeName, dataColorer, dataScaler, dataValue, dataValueRainBow, diffuse3DLight, disableDottedContours, disableHideByZoom, dither, drawBoundaries, drawBrakeGap, drawCrossingsAndWalkingareas, drawJunctionShape, drawLaneChangePreference, drawLinkJunctionIndex, drawLinkTLIndex, drawMinGap, drawReversed, edgeColorer, edgeData, edgeDataID, edgeDataScaling, edgeName, edgeParam, edgeRelWidthExaggeration, edgeScaler, edgeScaleValue, edgeValue, edgeValueRainBow, forceDrawForRectangleSelection, fps, generate3DTLSModels, geometryIndices, gridXSize, gridYSize, GUIVisualizationSettings(), hideConnectors, ignoreColorSchemeFor3DVehicles, internalEdgeName, internalJunctionName, junctionColorer, junctionID, junctionName, junctionSize, junctionValueRainBow, laneColorer, laneMinSize, laneParam, laneScaler, laneShowBorders, laneWidthExaggeration, pedestrianNetworkColor, personColorer, personName, personQuality, personSize, personValue, poiColorer, poiCustomLayer, poiDetail, poiName, poiSize, poiText, poiTextParam, poiType, poiUseCustomLayer, polyColorer, polyCustomLayer, polyName, polySize, polyType, polyUseCustomLayer, realisticLinkRules, relDataAttr, relDataScaleAttr, scaleLength, secondaryShape, show3DHeadUpDisplay, show3DTLSDomes, show3DTLSLinkMarkers, showBikeMarkings, showBlinker, showBTRange, showChargingInfo, showColorLegend, showGrid, showLane2Lane, showLaneDirection, showLinkDecals, showLinkRules, showParkingInfo, showPedestrianNetwork, showRails, showRouteIndex, showSizeLegend, showSublanes, showVehicleColorLegend, skyColor, spreadSuperposed, streetName, tazRelWidthExaggeration, tlsPhaseIndex, tlsPhaseName, trueZ, vehicleColorer, vehicleName, vehicleParam, vehicleQuality, vehicleScaleParam, vehicleScaler, vehicleScaleValue, vehicleSize, vehicleText, vehicleTextParam, vehicleValue, and vehicleValueRainBow.

◆ save()

void GUIVisualizationSettings::save ( OutputDevice & dev) const

Writes the settings into an output device.

Parameters
[in]devThe device to write the settings into

Definition at line 2065 of file GUIVisualizationSettings.cpp.

References addFullName, addMode, addName, addSize, ambient3DLight, backgroundColor, OutputDevice::closeTag(), colorSettings, containerColorer, containerName, containerQuality, containerSize, cwaEdgeName, dataColorer, dataScaler, dataValue, dataValueRainBow, diffuse3DLight, disableDottedContours, disableHideByZoom, dither, drawBoundaries, drawBrakeGap, drawCrossingsAndWalkingareas, drawJunctionShape, drawLinkJunctionIndex, drawLinkTLIndex, drawMinGap, drawReversed, edgeColorer, edgeData, edgeDataID, edgeDataScaling, edgeName, edgeParam, edgeRelWidthExaggeration, edgeScaler, edgeScaleValue, edgeValue, edgeValueRainBow, forceDrawForRectangleSelection, fps, generate3DTLSModels, geometryIndices, getLaneEdgeMode(), getLaneEdgeScaleMode(), gridXSize, gridYSize, hideConnectors, ignoreColorSchemeFor3DVehicles, internalEdgeName, internalJunctionName, junctionColorer, junctionID, junctionName, junctionSize, junctionValueRainBow, laneColorer, laneMinSize, laneParam, laneScaler, laneShowBorders, laneWidthExaggeration, OutputDevice::lf(), name, netedit, OutputDevice::openTag(), pedestrianNetworkColor, personColorer, personName, personQuality, personSize, personValue, poiColorer, poiCustomLayer, poiDetail, poiName, poiSize, poiText, poiTextParam, poiType, poiUseCustomLayer, polyColorer, polyCustomLayer, polyName, polySize, polyType, polyUseCustomLayer, realisticLinkRules, relDataAttr, relDataScaleAttr, scaleLength, secondaryShape, show3DHeadUpDisplay, show3DTLSDomes, show3DTLSLinkMarkers, showBikeMarkings, showBlinker, showBTRange, showChargingInfo, showColorLegend, showGrid, showLane2Lane, showLaneDirection, showLinkDecals, showLinkRules, showParkingInfo, showPedestrianNetwork, showRails, showRouteIndex, showSizeLegend, showSublanes, showVehicleColorLegend, spreadSuperposed, streetName, SUMO_ATTR_NAME, SUMO_TAG_VIEWSETTINGS_3D, SUMO_TAG_VIEWSETTINGS_ADDITIONALS, SUMO_TAG_VIEWSETTINGS_BACKGROUND, SUMO_TAG_VIEWSETTINGS_CONTAINERS, SUMO_TAG_VIEWSETTINGS_DATA, SUMO_TAG_VIEWSETTINGS_EDGES, SUMO_TAG_VIEWSETTINGS_JUNCTIONS, SUMO_TAG_VIEWSETTINGS_LEGEND, SUMO_TAG_VIEWSETTINGS_OPENGL, SUMO_TAG_VIEWSETTINGS_PERSONS, SUMO_TAG_VIEWSETTINGS_POIS, SUMO_TAG_VIEWSETTINGS_POLYS, SUMO_TAG_VIEWSETTINGS_SCHEME, SUMO_TAG_VIEWSETTINGS_VEHICLES, tazRelWidthExaggeration, tlsPhaseIndex, tlsPhaseName, trueZ, vehicleColorer, vehicleName, vehicleParam, vehicleQuality, vehicleScaleParam, vehicleScaler, vehicleScaleValue, vehicleSize, vehicleText, vehicleTextParam, vehicleValue, vehicleValueRainBow, widthSettings, and OutputDevice::writeAttr().

Referenced by GUICompleteSchemeStorage::writeSettings().

Here is the caller graph for this function:

◆ updateIgnoreHideByZoom()

Field Documentation

◆ addFullName

◆ additionalSettings

◆ addMode

int GUIVisualizationSettings::addMode

The additional structures visualization scheme.

Definition at line 939 of file GUIVisualizationSettings.h.

Referenced by GUIVisualizationSettings(), operator==(), and save().

◆ addName

◆ addSize

◆ ambient3DLight

RGBColor GUIVisualizationSettings::ambient3DLight

3D material light components

Definition at line 1044 of file GUIVisualizationSettings.h.

Referenced by GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ angle

◆ backgroundColor

RGBColor GUIVisualizationSettings::backgroundColor

◆ BoundarySizeDrawing

double GUIVisualizationSettings::BoundarySizeDrawing = 15

constant for boundary size drawing (20 for slow computers, 10 for quick computers)

Definition at line 1151 of file GUIVisualizationSettings.h.

Referenced by checkDrawEdge(), checkDrawJunction(), checkDrawPOI(), and checkDrawPoly().

◆ candidateColorSettings

◆ COL_MISSING_DATA

RGBColor GUIVisualizationSettings::COL_MISSING_DATA
static

◆ colorSettings

GUIVisualizationColorSettings GUIVisualizationSettings::colorSettings

color settings

Definition at line 1121 of file GUIVisualizationSettings.h.

Referenced by GNECalibrator::drawCalibratorSymbol(), GNELaneAreaDetector::drawE2(), GNELaneAreaDetector::drawE2PartialJunction(), GNELaneAreaDetector::drawE2PartialLane(), GNEEdge::drawEdgeGeometryPoints(), GNEEdge::drawEdgeShape(), GNEEdge::drawEndGeometryPoint(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNEParkingArea::drawGL(), GNEPersonTrip::drawGL(), GNEPoly::drawGL(), GNERide::drawGL(), GNERouteProbe::drawGL(), GNEStop::drawGL(), GNEStopPlan::drawGL(), GNETranship::drawGL(), GNETransport::drawGL(), GNEVaporizer::drawGL(), GNEWalk::drawGL(), GUIBusStop::drawGL(), GUIChargingStation::drawGL(), GNEOverheadWire::drawJunctionPartialGL(), GNEPersonTrip::drawJunctionPartialGL(), GNERide::drawJunctionPartialGL(), GNETranship::drawJunctionPartialGL(), GNETransport::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNEWalk::drawJunctionPartialGL(), GNEOverheadWire::drawLanePartialGL(), GNEPersonTrip::drawLanePartialGL(), GNERide::drawLanePartialGL(), GNETranship::drawLanePartialGL(), GNETransport::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEWalk::drawLanePartialGL(), GNEAdditionalListed::drawListedAdditional(), GNERerouterSymbol::drawRerouterSymbol(), GNERoute::drawRoutePartialJunction(), GNERoute::drawRoutePartialLane(), GNELane::drawSelectedLane(), GNELane::drawShapeEdited(), GNEParkingSpace::drawSpace(), GNELane::drawStartEndGeometryPoints(), GNEEdge::drawStartGeometryPoint(), GNEVariableSpeedSignSymbol::drawVSSSymbol(), GNEWalkingArea::drawWalkingArea(), GNEConnection::getConnectionColor(), GNECrossing::getCrossingColor(), GNEContainer::getDrawingColor(), GNEPerson::getDrawingColor(), GNEVehicle::getDrawingColor(), GNEProhibitionFrame::Legend::Legend(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), save(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), GNEJunction::setColor(), GNETAZRelData::setColor(), and GNELane::setLaneColor().

◆ connectionSettings

GUIVisualizationConnectionSettings GUIVisualizationSettings::connectionSettings

◆ containerColorer

◆ containerName

◆ containerQuality

int GUIVisualizationSettings::containerQuality

◆ containerSize

◆ cwaEdgeName

◆ dataColorer

◆ dataScaler

GUIScaler GUIVisualizationSettings::dataScaler

The size scaling settings for data elements.

Definition at line 1005 of file GUIVisualizationSettings.h.

Referenced by GNETAZRelData::drawGL(), initNeteditDefaults(), initSumoGuiDefaults(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ dataValue

◆ dataValueRainBow

GUIVisualizationRainbowSettings GUIVisualizationSettings::dataValueRainBow

value below which edgeData and edgeRelation data value should not be rendered

Definition at line 1022 of file GUIVisualizationSettings.h.

Referenced by GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ detailSettings

GUIVisualizationDetailSettings GUIVisualizationSettings::detailSettings

detail settings

Definition at line 1148 of file GUIVisualizationSettings.h.

◆ detectorSettings

◆ diffuse3DLight

RGBColor GUIVisualizationSettings::diffuse3DLight

◆ disableDottedContours

bool GUIVisualizationSettings::disableDottedContours

◆ disableHideByZoom

bool GUIVisualizationSettings::disableHideByZoom

◆ disableLaneIcons

bool GUIVisualizationSettings::disableLaneIcons

whether drawing is performed in left-hand networks

Note
used to avoid calls to OptionsCont::getOptions() in every drawgl(...) function, and updated in every doPaintGL(int mode, const Boundary& bound) call

Definition at line 1102 of file GUIVisualizationSettings.h.

Referenced by GNELane::drawTextures(), and GUIVisualizationSettings().

◆ dither

bool GUIVisualizationSettings::dither

Information whether dithering shall be enabled.

Definition at line 719 of file GUIVisualizationSettings.h.

Referenced by GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ dottedContourSettings

GUIVisualizationDottedContourSettings GUIVisualizationSettings::dottedContourSettings

dotted contour settings

Definition at line 1142 of file GUIVisualizationSettings.h.

Referenced by GNECalibrator::drawCalibratorSymbol(), GNEContour::drawDottedContours(), GNEEdge::drawEdgeGeometryPoints(), GNEPoly::drawGeometryPoints(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEConnection::drawGL(), GNEContainer::drawGL(), GNEContainerStop::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNEPerson::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNEStop::drawGL(), GNEStopPlan::drawGL(), GNETAZ::drawGL(), GNETAZRelData::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEVehicle::drawGL(), GNEWalkingArea::drawGL(), GNELaneAreaDetector::drawJunctionPartialGL(), GNEOverheadWire::drawJunctionPartialGL(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNEEdgeData::drawLanePartialGL(), GNEEdgeRelData::drawLanePartialGL(), GNELaneAreaDetector::drawLanePartialGL(), GNEOverheadWire::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEAdditionalListed::drawListedAdditional(), GNEDemandElementPlan::drawPlanGL(), GNEDemandElementPlan::drawPlanJunctionPartial(), GNEDemandElementPlan::drawPlanLanePartial(), GNEAdditionalSquared::drawSquaredAdditional(), GNEWalkingArea::drawWalkingArea(), GUIDottedGeometry::DottedGeometryColor::getColor(), GUIDottedGeometry::GUIDottedGeometry(), GUIDottedGeometry::updateDottedGeometry(), and GUIDottedGeometry::updateDottedGeometry().

◆ drawBoundaries

◆ drawBrakeGap

bool GUIVisualizationSettings::drawBrakeGap

Information whether the brake gap shall be drawn.

Definition at line 842 of file GUIVisualizationSettings.h.

Referenced by GUIBaseVehicle::drawOnPos(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ drawCrossingsAndWalkingareas

bool GUIVisualizationSettings::drawCrossingsAndWalkingareas

◆ drawForRectangleSelection

bool GUIVisualizationSettings::drawForRectangleSelection

◆ drawForViewObjectsHandler

◆ drawJunctionShape

◆ drawLaneChangePreference

bool GUIVisualizationSettings::drawLaneChangePreference

Information whether the lane change preference shall be drawn.

Definition at line 836 of file GUIVisualizationSettings.h.

Referenced by GUIBaseVehicle::drawOnPos(), GUIVisualizationSettings(), and operator==().

◆ drawLinkJunctionIndex

◆ drawLinkTLIndex

◆ drawMinGap

bool GUIVisualizationSettings::drawMinGap

Information whether the minimum gap shall be drawn.

Definition at line 839 of file GUIVisualizationSettings.h.

Referenced by GNEVehicle::drawGL(), GUIBaseVehicle::drawOnPos(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ drawReversed

bool GUIVisualizationSettings::drawReversed

◆ edgeColorer

◆ edgeData

std::string GUIVisualizationSettings::edgeData

◆ edgeDataID

std::string GUIVisualizationSettings::edgeDataID

◆ edgeDataScaling

std::string GUIVisualizationSettings::edgeDataScaling

◆ edgeName

◆ edgeParam

◆ edgeRelWidthExaggeration

double GUIVisualizationSettings::edgeRelWidthExaggeration

The edgeRelation exaggeration (upscale thickness).

Definition at line 1013 of file GUIVisualizationSettings.h.

Referenced by GNEEdgeRelData::drawLanePartialGL(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ edgeScaler

GUIScaler GUIVisualizationSettings::edgeScaler

◆ edgeScaleValue

◆ edgeValue

◆ edgeValueRainBow

GUIVisualizationRainbowSettings GUIVisualizationSettings::edgeValueRainBow

checks and thresholds for rainbow coloring

Definition at line 817 of file GUIVisualizationSettings.h.

Referenced by GUIEdge::drawGL(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ forceDrawForRectangleSelection

bool GUIVisualizationSettings::forceDrawForRectangleSelection

flag to force draw for rectangle selection (see drawForRectangleSelection)

Definition at line 1081 of file GUIVisualizationSettings.h.

Referenced by GUILane::drawGL(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ fps

bool GUIVisualizationSettings::fps

Information whether frames-per-second should be drawn.

Definition at line 722 of file GUIVisualizationSettings.h.

Referenced by GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ gaming

bool GUIVisualizationSettings::gaming

◆ generate3DTLSModels

bool GUIVisualizationSettings::generate3DTLSModels

whether 3D TLS models should be generated automatically

Definition at line 1038 of file GUIVisualizationSettings.h.

Referenced by GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ geometryIndices

◆ gridXSize

double GUIVisualizationSettings::gridXSize

Information about the grid spacings.

Definition at line 737 of file GUIVisualizationSettings.h.

Referenced by GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ gridYSize

double GUIVisualizationSettings::gridYSize

◆ hideConnectors

bool GUIVisualizationSettings::hideConnectors

◆ ignoreColorSchemeFor3DVehicles

bool GUIVisualizationSettings::ignoreColorSchemeFor3DVehicles

◆ internalEdgeName

◆ internalJunctionName

◆ junctionColorer

◆ junctionID

◆ junctionName

◆ junctionSize

◆ junctionValueRainBow

GUIVisualizationRainbowSettings GUIVisualizationSettings::junctionValueRainBow

◆ laneColorer

◆ laneMinSize

double GUIVisualizationSettings::laneMinSize

The minimum visual lane width for drawing.

Definition at line 786 of file GUIVisualizationSettings.h.

Referenced by GUILane::drawGL(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ laneParam

◆ laneScaler

◆ laneShowBorders

bool GUIVisualizationSettings::laneShowBorders

◆ laneWidthExaggeration

◆ lefthand

bool GUIVisualizationSettings::lefthand

whether drawing is performed in left-hand networks

Note
used to avoid calls to OptionsCont::getOptions() in every drawgl(...) function, and updated in every doPaintGL(int mode, const Boundary& bound) call

Definition at line 1096 of file GUIVisualizationSettings.h.

Referenced by GNELane::drawArrows(), GNELane::drawLinkNo(), GNELane::drawMarkingsAndBoundings(), GNELane::drawTLSLinkNo(), and GUIVisualizationSettings().

◆ MISSING_DATA

◆ myIgnoreHideByZoom

bool GUIVisualizationSettings::myIgnoreHideByZoom
protected

flag for ignore hide by zoom (used if we're drawing elements with constant size, their ID/name/etc. texts, etc.)

Definition at line 1155 of file GUIVisualizationSettings.h.

Referenced by checkDrawAdditional(), checkDrawContainer(), checkDrawEdge(), checkDrawPerson(), checkDrawPOI(), checkDrawPoly(), checkDrawVehicle(), GUIVisualizationSettings(), and updateIgnoreHideByZoom().

◆ name

◆ netedit

bool GUIVisualizationSettings::netedit

◆ neteditSizeSettings

◆ pedestrianNetworkColor

RGBColor GUIVisualizationSettings::pedestrianNetworkColor

The color of the pedestrian network generated for JuPedSim.

Definition at line 891 of file GUIVisualizationSettings.h.

Referenced by GUIViewTraffic::changePedestrianNetworkColor(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ personColorer

◆ personName

◆ personQuality

◆ personSize

◆ personValue

◆ poiColorer

◆ poiCustomLayer

double GUIVisualizationSettings::poiCustomLayer

◆ poiDetail

int GUIVisualizationSettings::poiDetail

◆ poiName

◆ poiSize

◆ poiText

◆ poiTextParam

std::string GUIVisualizationSettings::poiTextParam

◆ poiType

◆ poiUseCustomLayer

bool GUIVisualizationSettings::poiUseCustomLayer

whether the rendering layer of POIs should be overriden

Definition at line 974 of file GUIVisualizationSettings.h.

Referenced by GUIPointOfInterest::drawGL(), GNEPOI::drawPOI(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ polyColorer

◆ polyCustomLayer

double GUIVisualizationSettings::polyCustomLayer

◆ polyName

◆ polySize

◆ polyType

◆ polyUseCustomLayer

bool GUIVisualizationSettings::polyUseCustomLayer

whether the rendering layer of polygons should be overriden

Definition at line 992 of file GUIVisualizationSettings.h.

Referenced by GNEPoly::drawGL(), GUIPolygon::drawGL(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ RAINBOW_SCHEMES

std::map< std::string, std::vector< RGBColor > > GUIVisualizationSettings::RAINBOW_SCHEMES
static

◆ realisticLinkRules

bool GUIVisualizationSettings::realisticLinkRules

Information whether link rules (colored bars) shall be drawn with a realistic color scheme.

Definition at line 768 of file GUIVisualizationSettings.h.

Referenced by GUILane::drawLinkRule(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ relDataAttr

std::string GUIVisualizationSettings::relDataAttr

◆ relDataScaleAttr

std::string GUIVisualizationSettings::relDataScaleAttr

key for scaling by edgeRelation / tazRelation attribute

Definition at line 1019 of file GUIVisualizationSettings.h.

Referenced by GNETAZRelData::getScaleValue(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ scale

double GUIVisualizationSettings::scale

information about a lane's width (temporary, used for a single view)

Definition at line 1063 of file GUIVisualizationSettings.h.

Referenced by GUIPointOfInterest::checkDraw(), GUIPolygon::checkDraw(), checkDrawEdge(), checkDrawJunction(), checkDrawPOI(), checkDrawPoly(), GUIVehicle::drawAction_drawLinkItems(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GUIBaseVehicle::drawChargingInfo(), drawDetail(), GNEEdge::drawEdgeGeometryPoints(), GNEEdge::drawEdgeName(), GNEConnection::drawEdgeValues(), GNEJunction::drawElevation(), GNEContainer::drawGL(), GNECrossing::drawGL(), GNEPerson::drawGL(), GNETAZ::drawGL(), GNEVehicle::drawGL(), GNEWalkingArea::drawGL(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIEdge::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUIPointOfInterest::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUIPolygon::drawInnerPolygon(), GNEJunction::drawJunctionName(), GNELaneAreaDetector::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNELane::drawLinkNo(), GUILane::drawLinkNo(), drawMovingGeometryPoint(), GUIBaseVehicle::drawOnPos(), GUIBaseVehicle::drawParkingInfo(), GNEDemandElementPlan::drawPlanLanePartial(), GNEPOI::drawPOI(), GNEPoly::drawPolygonNameAndType(), GUIMEVehicle::drawRouteHelper(), GUIVehicle::drawRouteHelper(), GNEStop::drawStopLabel(), GUIBaseVehicle::drawStopLabels(), GNEJunction::drawTLSIcon(), GNECrossing::drawTLSLinkNo(), GNELane::drawTLSLinkNo(), GUILane::drawTLSLinkNo(), getDetailLevel(), and GUIVisualizationSizeSettings::getExaggeration().

◆ scaleLength

bool GUIVisualizationSettings::scaleLength

Whether vehicle length shall be scaled with length/geometry factor.

Definition at line 851 of file GUIVisualizationSettings.h.

Referenced by GUIBaseVehicle::drawOnPos(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ SCHEME_NAME_DATA_ATTRIBUTE_NUMERICAL

◆ SCHEME_NAME_EDGE_PARAM_NUMERICAL

◆ SCHEME_NAME_EDGEDATA_LIVE

const std::string GUIVisualizationSettings::SCHEME_NAME_EDGEDATA_LIVE
static

◆ SCHEME_NAME_EDGEDATA_NUMERICAL

◆ SCHEME_NAME_LANE_PARAM_NUMERICAL

◆ SCHEME_NAME_PARAM_NUMERICAL

◆ SCHEME_NAME_PERMISSION_CODE

const std::string GUIVisualizationSettings::SCHEME_NAME_PERMISSION_CODE
static

◆ SCHEME_NAME_SELECTION

const std::string GUIVisualizationSettings::SCHEME_NAME_SELECTION
static

◆ SCHEME_NAME_TYPE

const std::string GUIVisualizationSettings::SCHEME_NAME_TYPE
static

◆ secondaryShape

◆ selectorFrameScale

double GUIVisualizationSettings::selectorFrameScale

the current selection scaling in netedit (set in SelectorFrame)

Definition at line 1072 of file GUIVisualizationSettings.h.

Referenced by GNEConnection::drawGL(), GNECrossing::drawGL(), GUIVisualizationSizeSettings::getExaggeration(), GUIVisualizationSettings(), and GNELane::DrawingConstants::update().

◆ show3DHeadUpDisplay

bool GUIVisualizationSettings::show3DHeadUpDisplay

whether to draw the head up display items

Definition at line 1041 of file GUIVisualizationSettings.h.

Referenced by GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ show3DTLSDomes

bool GUIVisualizationSettings::show3DTLSDomes

whether the semi-transparent domes around 3D TL models should be drawn

Definition at line 1035 of file GUIVisualizationSettings.h.

Referenced by GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ show3DTLSLinkMarkers

bool GUIVisualizationSettings::show3DTLSLinkMarkers

whether the TLS link markers should be drawn

Definition at line 1032 of file GUIVisualizationSettings.h.

Referenced by GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ showBikeMarkings

bool GUIVisualizationSettings::showBikeMarkings

Information whether bicycle lane marking shall be drawn.

Definition at line 762 of file GUIVisualizationSettings.h.

Referenced by GUILane::drawGL(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ showBlinker

bool GUIVisualizationSettings::showBlinker

Information whether vehicle blinkers shall be drawn.

Definition at line 833 of file GUIVisualizationSettings.h.

Referenced by GUIBaseVehicle::drawOnPos(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ showBTRange

bool GUIVisualizationSettings::showBTRange

Information whether the communication range shall be drawn.

Definition at line 845 of file GUIVisualizationSettings.h.

Referenced by GUIBaseVehicle::drawOnPos(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ showChargingInfo

bool GUIVisualizationSettings::showChargingInfo

Set whether the charging search related information should be shown.

Definition at line 860 of file GUIVisualizationSettings.h.

Referenced by GUIBaseVehicle::drawChargingInfo(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ showColorLegend

bool GUIVisualizationSettings::showColorLegend

Information whether the edge color legend shall be drawn.

Definition at line 1057 of file GUIVisualizationSettings.h.

Referenced by GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ showGrid

bool GUIVisualizationSettings::showGrid

Information whether a grid shall be shown.

Definition at line 734 of file GUIVisualizationSettings.h.

Referenced by GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ showLane2Lane

bool GUIVisualizationSettings::showLane2Lane

Information whether lane-to-lane arrows shall be drawn.

Definition at line 922 of file GUIVisualizationSettings.h.

Referenced by GUILane::drawGL(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ showLaneDirection

bool GUIVisualizationSettings::showLaneDirection

◆ showLinkDecals

bool GUIVisualizationSettings::showLinkDecals

◆ showLinkRules

bool GUIVisualizationSettings::showLinkRules

Information whether link rules (colored bars) shall be drawn.

Definition at line 771 of file GUIVisualizationSettings.h.

Referenced by GUILane::drawGL(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ showParkingInfo

bool GUIVisualizationSettings::showParkingInfo

◆ showPedestrianNetwork

bool GUIVisualizationSettings::showPedestrianNetwork

Flag for visualizing the pedestrian network generated for JuPedSim.

Definition at line 888 of file GUIVisualizationSettings.h.

Referenced by GUIViewTraffic::drawPedestrianNetwork(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ showRails

◆ showRouteIndex

bool GUIVisualizationSettings::showRouteIndex

◆ showSizeLegend

bool GUIVisualizationSettings::showSizeLegend

Information whether the size legend shall be drawn.

Definition at line 1054 of file GUIVisualizationSettings.h.

Referenced by GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ showSublanes

bool GUIVisualizationSettings::showSublanes

◆ showVehicleColorLegend

bool GUIVisualizationSettings::showVehicleColorLegend

Information whether the vehicle color legend shall be drawn.

Definition at line 1060 of file GUIVisualizationSettings.h.

Referenced by GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ skyColor

RGBColor GUIVisualizationSettings::skyColor

sky background color

Definition at line 1048 of file GUIVisualizationSettings.h.

Referenced by GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), and operator==().

◆ spreadSuperposed

bool GUIVisualizationSettings::spreadSuperposed

◆ stoppingPlaceSettings

◆ streetName

◆ tazRelWidthExaggeration

double GUIVisualizationSettings::tazRelWidthExaggeration

The tazRelation exaggeration (upscale thickness).

Definition at line 1010 of file GUIVisualizationSettings.h.

Referenced by GNETAZRelData::drawGL(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ tlsPhaseIndex

◆ tlsPhaseName

◆ trueZ

bool GUIVisualizationSettings::trueZ

◆ UseMesoSim

bool GUIVisualizationSettings::UseMesoSim = false
static

◆ vehicleColorer

◆ vehicleName

◆ vehicleParam

std::string GUIVisualizationSettings::vehicleParam

key for coloring by vehicle parameter

Definition at line 803 of file GUIVisualizationSettings.h.

Referenced by GUIVehicle::getColorValue(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ vehicleQuality

◆ vehicleScaleParam

std::string GUIVisualizationSettings::vehicleScaleParam

◆ vehicleScaler

◆ vehicleScaleValue

◆ vehicleSize

◆ vehicleText

◆ vehicleTextParam

std::string GUIVisualizationSettings::vehicleTextParam

key for rendering vehicle textual parameter

Definition at line 807 of file GUIVisualizationSettings.h.

Referenced by GUIBaseVehicle::drawOnPos(), GUIVisualizationSettings(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ vehicleValue

◆ vehicleValueRainBow

GUIVisualizationRainbowSettings GUIVisualizationSettings::vehicleValueRainBow

◆ widthSettings


The documentation for this class was generated from the following files: