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 ,
  Level2 = 2 , CircleResolution8 = 2 , DrawPolygonSquare = 2 , VehicleTriangle = 2 ,
  Additionals = 2 , DottedContours = 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 exxageration
 
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 schme.
 
int getLaneEdgeScaleMode () const
 Returns the number of the active lane (edge) scaling schme.
 
GUIScaleSchemegetLaneEdgeScaleScheme ()
 Returns the current lane (edge) scaling schme.
 
GUIColorSchemegetLaneEdgeScheme ()
 Returns the current lane (edge) coloring schme.
 
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
 
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 crosings 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
 
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
 
GUIVisualizationRainbowSettings dataValueRainBow
 value below which edgeData and edgeRelation data value should not be rendered
 
3D visualization settings

whether the TLS link markers should be drawn

bool show3DTLSLinkMarkers
 
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 584 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 
Level2 
CircleResolution8 
DrawPolygonSquare 
VehicleTriangle 
Additionals 
DottedContours 
GeometryBoxLines 
Level3 
CircleResolution4 
TLSIcon 
Level4 
GeometryBoxSimpleLine 

Definition at line 588 of file GUIVisualizationSettings.h.

Constructor & Destructor Documentation

◆ GUIVisualizationSettings() [1/2]

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

constructor

Definition at line 555 of file GUIVisualizationSettings.cpp.

References initNeteditDefaults(), initSumoGuiDefaults(), and netedit.

◆ GUIVisualizationSettings() [2/2]

GUIVisualizationSettings::GUIVisualizationSettings ( const GUIVisualizationSettings )
privatedefault

set copy constructor private

Member Function Documentation

◆ checkDrawAdditional()

◆ checkDrawContainer()

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

check if draw container

Definition at line 917 of file GUIVisualizationSettings.cpp.

References Additionals, GUIVisualizationSizeSettings::constantSize, GUIVisualizationSizeSettings::constantSizeSelected, GUIVisualizationTextSettings::constSize, containerName, containerSize, drawForViewObjectsHandler, myIgnoreHideByZoom, and GUIVisualizationTextSettings::showText.

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 707 of file GUIVisualizationSettings.cpp.

References BoundarySizeDrawing, disableHideByZoom, Boundary::getHeight(), Boundary::getWidth(), MAX2(), myIgnoreHideByZoom, and scale.

Referenced by GNEEdge::drawGL().

Here is the caller graph for this function:

◆ checkDrawJunction()

◆ checkDrawPerson()

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

check if draw person

Definition at line 897 of file GUIVisualizationSettings.cpp.

References Additionals, GUIVisualizationSizeSettings::constantSize, GUIVisualizationSizeSettings::constantSizeSelected, GUIVisualizationTextSettings::constSize, drawForViewObjectsHandler, myIgnoreHideByZoom, personName, personSize, personValue, and GUIVisualizationTextSettings::showText.

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 849 of file GUIVisualizationSettings.cpp.

References Additionals, BoundarySizeDrawing, GUIVisualizationSizeSettings::constantSize, GUIVisualizationSizeSettings::constantSizeSelected, GUIVisualizationTextSettings::constSize, drawForViewObjectsHandler, MAX2(), myIgnoreHideByZoom, poiName, poiSize, poiText, poiType, scale, and GUIVisualizationTextSettings::showText.

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 829 of file GUIVisualizationSettings.cpp.

References BoundarySizeDrawing, GUIVisualizationSizeSettings::constantSize, GUIVisualizationSizeSettings::constantSizeSelected, GUIVisualizationTextSettings::constSize, drawForViewObjectsHandler, Boundary::getHeight(), Boundary::getWidth(), MAX2(), myIgnoreHideByZoom, polyName, polySize, polyType, scale, and GUIVisualizationTextSettings::showText.

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

Here is the caller graph for this function:

◆ checkDrawVehicle()

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

◆ copy()

void GUIVisualizationSettings::copy ( const GUIVisualizationSettings s)

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

Definition at line 935 of file GUIVisualizationSettings.cpp.

Referenced by GUICompleteSchemeStorage::add(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdCancel(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), GUIDialog_ViewSettings::onCmdSaveSetting(), and GUIDialog_ViewSettings::setCurrent().

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 exxageration

Definition at line 2744 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 2754 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 2714 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 2726 of file GUIVisualizationSettings.cpp.

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

Referenced by GNEAccess::drawGL(), GNEBusStop::drawGL(), GNECalibrator::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEStopPlan::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNEWalkingArea::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNELaneAreaDetector::drawJunctionPartialGL(), GNEOverheadWire::drawJunctionPartialGL(), GNEEdgeRelData::drawJunctionPartialGL(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNELaneAreaDetector::drawLanePartialGL(), GNEOverheadWire::drawLanePartialGL(), GNEEdgeData::drawLanePartialGL(), GNEEdgeRelData::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEAdditional::drawListedAdditional(), GNEDemandElementPlan::drawPlanGL(), GNEDemandElementPlan::drawPlanJunctionPartial(), GNEDemandElementPlan::drawPlanLanePartial(), GNEAdditional::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 schme.

Returns
number of the active scheme

Definition at line 1999 of file GUIVisualizationSettings.cpp.

References edgeColorer, GUIPropertySchemeStorage< T >::getActive(), laneColorer, and UseMesoSim.

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

Here is the caller graph for this function:

◆ getLaneEdgeScaleMode()

int GUIVisualizationSettings::getLaneEdgeScaleMode ( ) const

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

Returns
number of the active scheme

Definition at line 2008 of file GUIVisualizationSettings.cpp.

References edgeScaler, GUIPropertySchemeStorage< T >::getActive(), laneScaler, and UseMesoSim.

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

Here is the caller graph for this function:

◆ getLaneEdgeScaleScheme()

GUIScaleScheme & GUIVisualizationSettings::getLaneEdgeScaleScheme ( )

Returns the current lane (edge) scaling schme.

Returns
current scheme

Definition at line 2026 of file GUIVisualizationSettings.cpp.

References edgeScaler, GUIPropertySchemeStorage< T >::getScheme(), laneScaler, and UseMesoSim.

Referenced by GUIDialog_ViewSettings::onCmdColorChange(), and GUIDialog_ViewSettings::rebuildColorMatrices().

Here is the caller graph for this function:

◆ getLaneEdgeScheme()

GUIColorScheme & GUIVisualizationSettings::getLaneEdgeScheme ( )

Returns the current lane (edge) coloring schme.

Returns
current scheme

Definition at line 2017 of file GUIVisualizationSettings.cpp.

References edgeColorer, GUIPropertySchemeStorage< T >::getScheme(), laneColorer, and UseMesoSim.

Referenced by GUISUMOAbstractView::displayLegends(), GUIDialog_ViewSettings::onCmdColorChange(), and GUIDialog_ViewSettings::rebuildColorMatrices().

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 2698 of file GUIVisualizationSettings.cpp.

References angle.

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

Here is the caller graph for this function:

◆ 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 942 of file GUIVisualizationSettings.cpp.

References GUIPropertyScheme< T >::addColor(), GUIPropertySchemeStorage< T >::addScheme(), RGBColor::BLACK, RGBColor::BLUE, COL_MISSING_DATA, COL_SCHEME_DYNAMIC, COL_SCHEME_EMISSION, COL_SCHEME_MISC, containerColorer, RGBColor::CYAN, 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

◆ operator==()

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

Comparison operator.

Definition at line 2280 of file GUIVisualizationSettings.cpp.

References addFullName, addMode, addName, addSize, ambient3DLight, backgroundColor, colorSettings, containerColorer, containerName, containerQuality, containerSize, cwaEdgeName, dataColorer, 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, hideConnectors, 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, 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, and vehicleValue.

◆ 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 2035 of file GUIVisualizationSettings.cpp.

References addFullName, addMode, addName, addSize, ambient3DLight, backgroundColor, GUIVisualizationColorSettings::busStopColor, GUIVisualizationColorSettings::busStopColorSign, GUIVisualizationColorSettings::chargingStationColor, GUIVisualizationColorSettings::chargingStationColorCharge, GUIVisualizationColorSettings::chargingStationColorSign, OutputDevice::closeTag(), colorSettings, containerColorer, containerName, containerQuality, containerSize, GUIVisualizationColorSettings::containerStopColor, GUIVisualizationColorSettings::containerStopColorSign, cwaEdgeName, diffuse3DLight, disableDottedContours, disableHideByZoom, dither, drawBoundaries, drawBrakeGap, drawCrossingsAndWalkingareas, drawJunctionShape, drawLinkJunctionIndex, drawLinkTLIndex, drawMinGap, drawReversed, edgeColorer, edgeData, edgeDataID, edgeDataScaling, edgeName, edgeParam, edgeScaler, edgeScaleValue, edgeValue, edgeValueRainBow, forceDrawForRectangleSelection, fps, generate3DTLSModels, geometryIndices, GUIPropertySchemeStorage< T >::getActive(), getLaneEdgeMode(), getLaneEdgeScaleMode(), gridXSize, gridYSize, hideConnectors, internalEdgeName, internalJunctionName, junctionColorer, junctionID, junctionName, junctionSize, junctionValueRainBow, laneColorer, laneMinSize, laneParam, laneScaler, laneShowBorders, laneWidthExaggeration, OutputDevice::lf(), name, OutputDevice::openTag(), GUIVisualizationColorSettings::parkingAreaColor, GUIVisualizationColorSettings::parkingAreaColorSign, GUIVisualizationColorSettings::parkingSpaceColor, GUIVisualizationColorSettings::parkingSpaceColorContour, pedestrianNetworkColor, personColorer, personName, personQuality, personSize, GUIVisualizationColorSettings::personTripColor, GUIVisualizationWidthSettings::personTripWidth, personValue, poiColorer, poiCustomLayer, poiDetail, poiName, poiSize, poiText, poiTextParam, poiType, poiUseCustomLayer, polyColorer, polyCustomLayer, polyName, polySize, polyType, polyUseCustomLayer, GUIVisualizationTextSettings::print(), GUIVisualizationRainbowSettings::print(), GUIVisualizationSizeSettings::print(), realisticLinkRules, GUIVisualizationColorSettings::rideColor, GUIVisualizationWidthSettings::rideWidth, GUIPropertySchemeStorage< T >::save(), scaleLength, secondaryShape, GUIVisualizationColorSettings::selectedAdditionalColor, GUIVisualizationColorSettings::selectedConnectionColor, GUIVisualizationColorSettings::selectedContainerColor, GUIVisualizationColorSettings::selectedContainerPlanColor, GUIVisualizationColorSettings::selectedCrossingColor, GUIVisualizationColorSettings::selectedEdgeColor, GUIVisualizationColorSettings::selectedEdgeDataColor, GUIVisualizationColorSettings::selectedLaneColor, GUIVisualizationColorSettings::selectedPersonColor, GUIVisualizationColorSettings::selectedPersonPlanColor, GUIVisualizationColorSettings::selectedProhibitionColor, GUIVisualizationColorSettings::selectedRouteColor, GUIVisualizationColorSettings::selectedVehicleColor, GUIVisualizationColorSettings::selectionColor, show3DHeadUpDisplay, show3DTLSDomes, show3DTLSLinkMarkers, showBikeMarkings, showBlinker, showBTRange, showChargingInfo, showColorLegend, showGrid, showLane2Lane, showLaneDirection, showLinkDecals, showLinkRules, showParkingInfo, showPedestrianNetwork, showRails, showRouteIndex, showSizeLegend, showSublanes, showVehicleColorLegend, spreadSuperposed, GUIVisualizationColorSettings::stopColor, GUIVisualizationColorSettings::stopContainerColor, GUIVisualizationColorSettings::stopPersonColor, streetName, SUMO_ATTR_NAME, SUMO_TAG_VIEWSETTINGS_3D, SUMO_TAG_VIEWSETTINGS_ADDITIONALS, SUMO_TAG_VIEWSETTINGS_BACKGROUND, SUMO_TAG_VIEWSETTINGS_CONTAINERS, 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, tlsPhaseIndex, tlsPhaseName, GUIVisualizationColorSettings::trainStopColor, GUIVisualizationColorSettings::trainStopColorSign, GUIVisualizationColorSettings::transhipColor, GUIVisualizationWidthSettings::transhipWidth, GUIVisualizationColorSettings::transportColor, GUIVisualizationWidthSettings::transportWidth, GUIVisualizationWidthSettings::tripWidth, trueZ, vehicleColorer, vehicleName, vehicleParam, vehicleQuality, vehicleScaleParam, vehicleScaler, vehicleScaleValue, vehicleSize, vehicleText, vehicleTextParam, vehicleValue, GUIVisualizationColorSettings::walkColor, GUIVisualizationWidthSettings::walkWidth, GUIVisualizationColorSettings::waypointColor, widthSettings, and OutputDevice::writeAttr().

Referenced by GUIDialog_ViewSettings::onCmdExportSetting(), GNEViewNet::saveVisualizationSettings(), and 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 935 of file GUIVisualizationSettings.h.

Referenced by GUISettingsHandler::myStartElement(), operator==(), and save().

◆ addName

◆ addSize

GUIVisualizationSizeSettings GUIVisualizationSettings::addSize

◆ ambient3DLight

RGBColor GUIVisualizationSettings::ambient3DLight

3D material light components

Definition at line 1030 of file GUIVisualizationSettings.h.

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

◆ angle

◆ backgroundColor

◆ BoundarySizeDrawing

double GUIVisualizationSettings::BoundarySizeDrawing = 15

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

Definition at line 1137 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 1107 of file GUIVisualizationSettings.h.

Referenced by GUIDialog_ViewSettings::buildAdditionalsFrame(), GUIDialog_ViewSettings::buildDemandFrame(), GNEProhibitionFrame::buildProhibition(), GUIDialog_ViewSettings::buildSelectionFrame(), GNEViewNet::doPaintGL(), GNECalibrator::drawCalibratorSymbol(), GNELaneAreaDetector::drawE2(), GNELaneAreaDetector::drawE2PartialJunction(), GNELaneAreaDetector::drawE2PartialLane(), GNEEdge::drawEdgeGeometryPoints(), GNEEdge::drawEdgeShape(), GNEEdge::drawEndGeometryPoint(), GUIBusStop::drawGL(), GUIChargingStation::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNEParkingArea::drawGL(), GNERouteProbe::drawGL(), GNEVaporizer::drawGL(), GNEPersonTrip::drawGL(), GNERide::drawGL(), GNEStop::drawGL(), GNEStopPlan::drawGL(), GNETranship::drawGL(), GNETransport::drawGL(), GNEWalk::drawGL(), GNEPoly::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(), GNEAdditional::drawListedAdditional(), GNERerouterSymbol::drawRerouterSymbol(), GNERoute::drawRoutePartialJunction(), GNERoute::drawRoutePartialLane(), GNELane::drawSelectedLane(), GNELane::drawShapeEdited(), GNEParkingSpace::drawSpace(), GNELane::drawStartEndGeometryPoints(), GNEEdge::drawStartGeometryPoint(), GNEVariableSpeedSignSymbol::drawVSSSymbol(), GNEWalkingArea::drawWalkingArea(), GNEPersonTrip::getColor(), GNERide::getColor(), GNEStop::getColor(), GNEStopPlan::getColor(), GNETranship::getColor(), GNETransport::getColor(), GNEWalk::getColor(), GNEConnection::getConnectionColor(), GNECrossing::getCrossingColor(), GNEContainer::getDrawingColor(), GNEPerson::getDrawingColor(), GNEVehicle::getDrawingColor(), GNEProhibitionFrame::Legend::Legend(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), save(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), GNETAZRelData::setColor(), GNEJunction::setColor(), and GNELane::setLaneColor().

◆ connectionSettings

GUIVisualizationConnectionSettings GUIVisualizationSettings::connectionSettings

◆ containerColorer

◆ containerName

◆ containerQuality

◆ containerSize

◆ cwaEdgeName

◆ dataColorer

◆ dataValue

◆ dataValueRainBow

GUIVisualizationRainbowSettings GUIVisualizationSettings::dataValueRainBow

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

Definition at line 1011 of file GUIVisualizationSettings.h.

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

◆ detailSettings

GUIVisualizationDetailSettings GUIVisualizationSettings::detailSettings

detail settings

Definition at line 1134 of file GUIVisualizationSettings.h.

◆ detectorSettings

◆ diffuse3DLight

◆ disableDottedContours

◆ 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 1088 of file GUIVisualizationSettings.h.

Referenced by GNEViewNet::doPaintGL(), and GNELane::drawTextures().

◆ dither

◆ dottedContourSettings

GUIVisualizationDottedContourSettings GUIVisualizationSettings::dottedContourSettings

dotted contour settings

Definition at line 1128 of file GUIVisualizationSettings.h.

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

◆ drawBoundaries

◆ drawBrakeGap

◆ drawCrossingsAndWalkingareas

◆ drawForRectangleSelection

◆ drawForViewObjectsHandler

◆ drawJunctionShape

◆ drawLaneChangePreference

bool GUIVisualizationSettings::drawLaneChangePreference

Information whether the lane change preference shall be drawn.

Definition at line 833 of file GUIVisualizationSettings.h.

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

◆ drawLinkJunctionIndex

◆ drawLinkTLIndex

◆ drawMinGap

◆ drawReversed

◆ edgeColorer

◆ edgeData

◆ edgeDataID

std::string GUIVisualizationSettings::edgeDataID

◆ edgeDataScaling

◆ edgeName

◆ edgeParam

◆ edgeRelWidthExaggeration

double GUIVisualizationSettings::edgeRelWidthExaggeration

◆ edgeScaler

◆ edgeScaleValue

◆ edgeValue

◆ edgeValueRainBow

◆ forceDrawForRectangleSelection

bool GUIVisualizationSettings::forceDrawForRectangleSelection

◆ fps

◆ gaming

◆ generate3DTLSModels

bool GUIVisualizationSettings::generate3DTLSModels

whether 3D TLS models should be generated automatically

Definition at line 1024 of file GUIVisualizationSettings.h.

Referenced by GUIDialog_ViewSettings::build3DFrame(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ geometryIndices

◆ gridXSize

◆ gridYSize

◆ hideConnectors

◆ internalEdgeName

◆ internalJunctionName

◆ junctionColorer

◆ junctionID

◆ junctionName

◆ junctionSize

◆ junctionValueRainBow

◆ laneColorer

◆ laneMinSize

double GUIVisualizationSettings::laneMinSize

◆ laneParam

◆ laneScaler

◆ 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 1082 of file GUIVisualizationSettings.h.

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

◆ 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 1141 of file GUIVisualizationSettings.h.

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

◆ name

◆ netedit

◆ neteditSizeSettings

GUIVisualizationNeteditSizeSettings GUIVisualizationSettings::neteditSizeSettings

netedit size settings

Definition at line 1113 of file GUIVisualizationSettings.h.

Referenced by GNEConnection::calculateConnectionContour(), GNEAdditional::calculateContourPolygons(), GNECrossing::calculateCrossingContour(), GNEJunction::calculateJunctioncontour(), GNELane::calculateLaneContour(), GNEPOI::calculatePOIContour(), GNEParkingSpace::calculateSpaceContour(), GNEStoppingPlace::calculateStoppingPlaceContour(), GNEJunction::checkDrawToContour(), GNEConnection::drawConnection(), GNECrossing::drawCrossing(), GNEStop::drawGeometryPoints(), GNEPoly::drawGeometryPoints(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNETAZ::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEPOI::drawGL(), GNEJunction::drawJunctionAsBubble(), GNEJunction::drawJunctionAsShape(), GNEPoly::drawPolygon(), GNEPoly::drawPolygonContour(), GNEAdditional::drawSemiCircleGeometryPoint(), GNELane::drawShapeEdited(), GNEEdge::drawTAZElements(), GNEViewNet::drawTemporalJunction(), GNEViewNet::drawTemporalSplitJunction(), GNEWalkingArea::drawTesselatedWalkingArea(), GNENetworkElement::getGeometryPointUnderCursorShapeEdited(), GNEParkingSpace::getMoveOperation(), GNETAZ::getMoveOperation(), GNEStop::getMoveOperation(), GNEPOI::getMoveOperation(), GNEAdditional::getMoveOperationMultiLane(), GNEAdditional::getMoveOperationSingleLane(), GNENetworkElement::getVertexIndex(), GNEPoly::getVertexIndex(), GNETAZ::getVertexIndex(), GNETAZ::removeGeometryPoint(), GNEConnection::removeGeometryPoint(), GNECrossing::removeGeometryPoint(), GNEJunction::removeGeometryPoint(), GNELane::removeGeometryPoint(), and GNEPoly::removeGeometryPoint().

◆ pedestrianNetworkColor

◆ personColorer

◆ personName

◆ personQuality

◆ personSize

◆ personValue

◆ poiColorer

◆ poiCustomLayer

◆ poiDetail

◆ poiName

◆ poiSize

◆ poiText

◆ poiTextParam

std::string GUIVisualizationSettings::poiTextParam

◆ poiType

◆ poiUseCustomLayer

bool GUIVisualizationSettings::poiUseCustomLayer

◆ polyColorer

◆ polyCustomLayer

◆ polyName

◆ polySize

◆ polyType

◆ polyUseCustomLayer

bool GUIVisualizationSettings::polyUseCustomLayer

◆ 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 765 of file GUIVisualizationSettings.h.

Referenced by GUIDialog_ViewSettings::buildStreetsFrame(), GUILane::drawLinkRule(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().

◆ relDataAttr

std::string GUIVisualizationSettings::relDataAttr

◆ scale

double GUIVisualizationSettings::scale

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

Definition at line 1049 of file GUIVisualizationSettings.h.

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

◆ scaleLength

bool GUIVisualizationSettings::scaleLength

◆ SCHEME_NAME_DATA_ATTRIBUTE_NUMERICAL

◆ SCHEME_NAME_EDGE_PARAM_NUMERICAL

const std::string GUIVisualizationSettings::SCHEME_NAME_EDGE_PARAM_NUMERICAL
static

◆ SCHEME_NAME_EDGEDATA_LIVE

const std::string GUIVisualizationSettings::SCHEME_NAME_EDGEDATA_LIVE
static

◆ SCHEME_NAME_EDGEDATA_NUMERICAL

const std::string GUIVisualizationSettings::SCHEME_NAME_EDGEDATA_NUMERICAL
static

◆ SCHEME_NAME_LANE_PARAM_NUMERICAL

const std::string GUIVisualizationSettings::SCHEME_NAME_LANE_PARAM_NUMERICAL
static

◆ SCHEME_NAME_PARAM_NUMERICAL

const std::string GUIVisualizationSettings::SCHEME_NAME_PARAM_NUMERICAL
static

◆ 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

◆ show3DHeadUpDisplay

bool GUIVisualizationSettings::show3DHeadUpDisplay

◆ show3DTLSDomes

bool GUIVisualizationSettings::show3DTLSDomes

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

Definition at line 1021 of file GUIVisualizationSettings.h.

Referenced by GUIDialog_ViewSettings::build3DFrame(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().

◆ show3DTLSLinkMarkers

bool GUIVisualizationSettings::show3DTLSLinkMarkers

◆ showBikeMarkings

bool GUIVisualizationSettings::showBikeMarkings

◆ showBlinker

bool GUIVisualizationSettings::showBlinker

◆ showBTRange

bool GUIVisualizationSettings::showBTRange

◆ showChargingInfo

bool GUIVisualizationSettings::showChargingInfo

◆ showColorLegend

bool GUIVisualizationSettings::showColorLegend

◆ showGrid

◆ showLane2Lane

◆ showLaneDirection

◆ showLinkDecals

◆ showLinkRules

bool GUIVisualizationSettings::showLinkRules

◆ showParkingInfo

◆ showPedestrianNetwork

bool GUIVisualizationSettings::showPedestrianNetwork

◆ showRails

◆ showRouteIndex

◆ showSizeLegend

◆ showSublanes

◆ showVehicleColorLegend

bool GUIVisualizationSettings::showVehicleColorLegend

◆ skyColor

RGBColor GUIVisualizationSettings::skyColor

◆ spreadSuperposed

◆ stoppingPlaceSettings

◆ streetName

◆ tazRelWidthExaggeration

double GUIVisualizationSettings::tazRelWidthExaggeration

◆ tlsPhaseIndex

◆ tlsPhaseName

◆ trueZ

◆ UseMesoSim

bool GUIVisualizationSettings::UseMesoSim = false
static

◆ vehicleColorer

◆ vehicleName

◆ vehicleParam

std::string GUIVisualizationSettings::vehicleParam

◆ vehicleQuality

◆ vehicleScaleParam

std::string GUIVisualizationSettings::vehicleScaleParam

◆ vehicleScaler

◆ vehicleScaleValue

◆ vehicleSize

◆ vehicleText

◆ vehicleTextParam

std::string GUIVisualizationSettings::vehicleTextParam

◆ vehicleValue

◆ widthSettings


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