Eclipse SUMO - Simulation of Urban MObility
GUIVisualizationSettings Class Reference

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

#include <GUIVisualizationSettings.h>

Collaboration diagram for GUIVisualizationSettings:
[legend]

Public Member Functions

bool drawAdditionals (const double exaggeration) const
 check if additionals must be drawn More...
 
bool drawDetail (const double detail, const double exaggeration) const
 check if details can be drawn for the given GUIVisualizationDetailSettings and current scale and exxageration More...
 
bool drawDottedContour () const
 check if dotted contour can be drawn More...
 
bool drawMovingGeometryPoint (const double exaggeration, const double radius) const
 check if moving geometry point can be draw More...
 
bool flippedTextAngle (double objectAngle) const
 return wether the text was flipped for reading at the given angle More...
 
int getCircleResolution () const
 function to calculate circle resolution for all circles drawn in drawGL(...) functions More...
 
int getLaneEdgeMode () const
 Returns the number of the active lane (edge) coloring schme. More...
 
int getLaneEdgeScaleMode () const
 Returns the number of the active lane (edge) scaling schme. More...
 
GUIScaleSchemegetLaneEdgeScaleScheme ()
 Returns the current lane (edge) scaling schme. More...
 
GUIColorSchemegetLaneEdgeScheme ()
 Returns the current lane (edge) coloring schme. More...
 
double getTextAngle (double objectAngle) const
 return an angle that is suitable for reading text aligned with the given angle (degrees) More...
 
 GUIVisualizationSettings (bool _netedit=false)
 constructor More...
 
void initNeteditDefaults ()
 init default settings More...
 
void initSumoGuiDefaults ()
 
bool operator== (const GUIVisualizationSettings &vs2)
 Comparison operator. More...
 
void save (OutputDevice &dev) const
 Writes the settings into an output device. More...
 

Static Public Member Functions

static const RGBColorgetLinkColor (const LinkState &ls)
 map from LinkState to color constants More...
 

Data Fields

GUIVisualizationAdditionalSettings additionalSettings
 Additional settings. More...
 
double angle
 The current view rotation angle. More...
 
GUIVisualizationCandidateColorSettings candidateColorSettings
 candidate color settings More...
 
GUIVisualizationColorSettings colorSettings
 color settings More...
 
GUIVisualizationConnectionSettings connectionSettings
 connection settings More...
 
GUIVisualizationDetailSettings detailSettings
 detail settings More...
 
GUIVisualizationDetectorSettings detectorSettings
 Detector settings. More...
 
bool disableLaneIcons
 whether drawing is performed in left-hand networks More...
 
bool dither
 Information whether dithering shall be enabled. More...
 
GUIVisualizationDottedContourSettings dottedContourSettings
 dotted contour settings More...
 
bool drawBoundaries
 enable or disable draw boundaries More...
 
bool drawForPositionSelection
 whether drawing is performed for the purpose of selecting objects with a single click More...
 
bool drawForRectangleSelection
 whether drawing is performed for the purpose of selecting objects using a rectangle More...
 
bool forceDrawDottedContour
 flag to force draw dotted contour More...
 
bool forceDrawForPositionSelection
 flag to force draw for position selection (see drawForPositionSelection) More...
 
bool forceDrawForRectangleSelection
 flag to force draw for rectangle selection (see drawForRectangleSelection) More...
 
bool fps
 Information whether frames-per-second should be drawn. More...
 
bool gaming
 whether the application is in gaming mode or not More...
 
bool lefthand
 whether drawing is performed in left-hand networks More...
 
std::string name
 The name of this setting. More...
 
bool netedit
 Whether the settings are for Netedit. More...
 
GUIVisualizationNeteditSizeSettings neteditSizeSettings
 netedit size settings More...
 
double scale
 information about a lane's width (temporary, used for a single view) More...
 
double selectorFrameScale
 the current selection scaling in NETEDIT (set in SelectorFrame) More...
 
bool showColorLegend
 Information whether the edge color legend shall be drawn. More...
 
bool showSizeLegend
 Information whether the size legend shall be drawn. More...
 
bool showVehicleColorLegend
 Information whether the vehicle color legend shall be drawn. More...
 
GUIVisualizationStoppingPlaceSettings stoppingPlaceSettings
 StoppingPlace settings. More...
 
GUIVisualizationWidthSettings widthSettings
 width settings More...
 
Background visualization settings
RGBColor backgroundColor
 The background color to use. More...
 
bool showGrid
 Information whether a grid shall be shown. More...
 
double gridXSize
 Information about the grid spacings. More...
 
double gridYSize
 
vehicle visualization settings
GUIColorer vehicleColorer
 The vehicle colorer. More...
 
int vehicleQuality
 The quality of vehicle drawing. More...
 
bool showBlinker
 Information whether vehicle blinkers shall be drawn. More...
 
bool drawLaneChangePreference
 Information whether the lane change preference shall be drawn. More...
 
bool drawMinGap
 Information whether the minimum gap shall be drawn. More...
 
bool drawBrakeGap
 Information whether the brake gap shall be drawn. More...
 
bool showBTRange
 Information whether the communication range shall be drawn. More...
 
bool showRouteIndex
 Information whether the route index should be shown. More...
 
GUIVisualizationSizeSettings vehicleSize
 
GUIVisualizationTextSettings vehicleName
 
GUIVisualizationTextSettings vehicleValue
 
GUIVisualizationTextSettings vehicleText
 
person visualization settings
GUIColorer personColorer
 The person colorer. More...
 
int personQuality
 The quality of person drawing. More...
 
GUIVisualizationSizeSettings personSize
 
GUIVisualizationTextSettings personName
 
GUIVisualizationTextSettings personValue
 
container visualization settings
GUIColorer containerColorer
 The container colorer. More...
 
int containerQuality
 The quality of container drawing. More...
 
GUIVisualizationSizeSettings containerSize
 
GUIVisualizationTextSettings containerName
 
junction visualization settings
GUIColorer junctionColorer
 The junction colorer. More...
 
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. More...
 
bool drawJunctionShape
 whether the shape of the junction should be drawn More...
 
bool drawCrossingsAndWalkingareas
 whether crosings and walkingareas shall be drawn More...
 
GUIVisualizationSizeSettings junctionSize
 
Additional structures visualization settings
int addMode
 The additional structures visualization scheme. More...
 
GUIVisualizationSizeSettings addSize
 
GUIVisualizationTextSettings addName
 
GUIVisualizationTextSettings addFullName
 
shapes visualization settings
GUIColorer poiColorer
 The POI colorer. More...
 
GUIVisualizationSizeSettings poiSize
 
GUIVisualizationTextSettings poiName
 
GUIVisualizationTextSettings poiType
 
GUIVisualizationTextSettings poiText
 
std::string poiTextParam
 key for rendering poi textual parameter More...
 
GUIColorer polyColorer
 The polygon colorer. More...
 
GUIVisualizationSizeSettings polySize
 
GUIVisualizationTextSettings polyName
 
GUIVisualizationTextSettings polyType
 

Static Public Attributes

static const double MISSING_DATA
 
static const std::string SCHEME_NAME_EDGE_PARAM_NUMERICAL
 scheme names More...
 
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
 

lane visualization settings

GUIColorer edgeColorer
 The mesoscopic edge colorer. More...
 
GUIScaler edgeScaler
 The mesoscopic edge scaler. More...
 
GUIColorer laneColorer
 The lane colorer. More...
 
GUIScaler laneScaler
 The lane scaler. More...
 
bool laneShowBorders
 Information whether lane borders shall be drawn. More...
 
bool showBikeMarkings
 Information whether bicycle lane marking shall be drawn. More...
 
bool showLinkDecals
 Information whether link textures (arrows) shall be drawn. More...
 
bool showLinkRules
 Information whether link rules (colored bars) shall be drawn. More...
 
bool showRails
 Information whether rails shall be drawn. More...
 
GUIVisualizationTextSettings edgeName
 
GUIVisualizationTextSettings internalEdgeName
 
GUIVisualizationTextSettings cwaEdgeName
 
GUIVisualizationTextSettings streetName
 
GUIVisualizationTextSettings edgeValue
 
bool hideConnectors
 flag to show or hidde connectors More...
 
double laneWidthExaggeration
 The lane exaggeration (upscale thickness) More...
 
double laneMinSize
 The minimum visual lane width for drawing. More...
 
bool showLaneDirection
 Whether to show direction indicators for lanes. More...
 
bool showSublanes
 Whether to show sublane boundaries. More...
 
bool spreadSuperposed
 Whether to improve visualisation of superposed (rail) edges. More...
 
std::string edgeParam
 key for coloring by edge parameter More...
 
std::string laneParam
 
std::string vehicleParam
 key for coloring by vehicle parameter More...
 
std::string vehicleTextParam
 key for rendering vehicle textual parameter More...
 
std::string edgeData
 key for coloring by edgeData More...
 
bool edgeValueHideCheck
 value below which edge data value should not be rendered More...
 
double edgeValueHideThreshold
 
static bool UseMesoSim = false
 this should be set at the same time as MSGlobals::gUseMesoSim More...
 

Detailed Description

Stores the information about how to visualize structures.

Definition at line 499 of file GUIVisualizationSettings.h.

Constructor & Destructor Documentation

◆ GUIVisualizationSettings()

GUIVisualizationSettings::GUIVisualizationSettings ( bool  _netedit = false)

constructor

Definition at line 391 of file GUIVisualizationSettings.cpp.

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

Member Function Documentation

◆ drawAdditionals()

bool GUIVisualizationSettings::drawAdditionals ( const double  exaggeration) const

◆ drawDetail()

◆ drawDottedContour()

◆ drawMovingGeometryPoint()

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

check if moving geometry point can be draw

Definition at line 1957 of file GUIVisualizationSettings.cpp.

References scale.

Referenced by GNEPoly::drawGL(), GNETAZ::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), and GNEJunction::drawGL().

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

References angle.

Referenced by GUIBusStop::drawGL().

Here is the caller graph for this function:

◆ getCircleResolution()

int GUIVisualizationSettings::getCircleResolution ( ) const

◆ getLaneEdgeMode()

int GUIVisualizationSettings::getLaneEdgeMode ( ) const

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

Returns
number of the active scheme

Definition at line 1369 of file GUIVisualizationSettings.cpp.

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

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

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

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

Referenced by 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 1396 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 1387 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 1889 of file GUIVisualizationSettings.cpp.

References angle.

Referenced by GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNEGenericData::drawFilteredAttribute(), GUIBusStop::drawGL(), GUIChargingStation::drawGL(), GUIEdge::drawGL(), and GUIParkingArea::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

Definition at line 480 of file GUIVisualizationSettings.cpp.

References GUIPropertyScheme< T >::addColor(), GUIPropertySchemeStorage< T >::addScheme(), RGBColor::BLACK, RGBColor::BLUE, COL_SCHEME_DYNAMIC, COL_SCHEME_EMISSION, COL_SCHEME_MISC, containerColorer, RGBColor::CYAN, edgeColorer, edgeScaler, RGBColor::GREEN, RGBColor::GREY, junctionColorer, laneColorer, laneScaler, RGBColor::MAGENTA, MISSING_DATA, RGBColor::ORANGE, personColorer, poiColorer, polyColorer, RGBColor::RED, SCHEME_NAME_EDGE_PARAM_NUMERICAL, 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, vehicleColorer, and RGBColor::YELLOW.

Referenced by GUIVisualizationSettings().

Here is the caller graph for this function:

◆ operator==()

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

References addFullName, addMode, addName, addSize, backgroundColor, OutputDevice::closeTag(), containerColorer, containerName, containerQuality, containerSize, cwaEdgeName, dither, drawBoundaries, drawBrakeGap, drawCrossingsAndWalkingareas, drawJunctionShape, drawLinkJunctionIndex, drawLinkTLIndex, drawMinGap, edgeColorer, edgeData, edgeName, edgeParam, edgeScaler, edgeValue, edgeValueHideCheck, edgeValueHideThreshold, forceDrawDottedContour, forceDrawForPositionSelection, forceDrawForRectangleSelection, fps, GUIPropertySchemeStorage< T >::getActive(), getLaneEdgeMode(), getLaneEdgeScaleMode(), gridXSize, gridYSize, hideConnectors, internalEdgeName, internalJunctionName, junctionColorer, junctionID, junctionName, junctionSize, laneColorer, laneMinSize, laneParam, laneScaler, laneShowBorders, laneWidthExaggeration, OutputDevice::lf(), name, OutputDevice::openTag(), personColorer, personName, personQuality, personSize, personValue, poiColorer, poiName, poiSize, poiText, poiTextParam, poiType, polyColorer, polyName, polySize, polyType, GUIVisualizationTextSettings::print(), GUIVisualizationSizeSettings::print(), GUIPropertySchemeStorage< T >::save(), showBikeMarkings, showBlinker, showBTRange, showColorLegend, showGrid, showLane2Lane, showLaneDirection, showLinkDecals, showLinkRules, showRails, showRouteIndex, showSizeLegend, showSublanes, showVehicleColorLegend, spreadSuperposed, streetName, SUMO_ATTR_NAME, 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, vehicleColorer, vehicleName, vehicleParam, vehicleQuality, vehicleSize, vehicleText, vehicleTextParam, vehicleValue, and OutputDevice::writeAttr().

Referenced by GUIDialog_ViewSettings::onCmdExportSetting(), GNEViewNet::saveVisualizationSettings(), and GUICompleteSchemeStorage::writeSettings().

Here is the caller graph for this function:

Field Documentation

◆ addFullName

◆ additionalSettings

◆ addMode

int GUIVisualizationSettings::addMode

The additional structures visualization scheme.

Definition at line 754 of file GUIVisualizationSettings.h.

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

◆ addName

◆ addSize

GUIVisualizationSizeSettings GUIVisualizationSettings::addSize

Definition at line 756 of file GUIVisualizationSettings.h.

Referenced by GNEEdge::drawEdgeGeometryPoints(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNECalibrator::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouter::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEConnection::drawGL(), GNEAdditional::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNEDemandElement::drawPersonPlanPartialJunction(), GNEDemandElement::drawPersonPlanPartialLane(), GNELane::drawStartEndShapePoints(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), GUISUMOAbstractView::paintGLGrid(), and save().

◆ angle

◆ backgroundColor

◆ candidateColorSettings

◆ colorSettings

GUIVisualizationColorSettings GUIVisualizationSettings::colorSettings

◆ connectionSettings

GUIVisualizationConnectionSettings GUIVisualizationSettings::connectionSettings

connection settings

Definition at line 867 of file GUIVisualizationSettings.h.

Referenced by GNEConnection::drawGL().

◆ containerColorer

◆ containerName

◆ containerQuality

◆ containerSize

◆ cwaEdgeName

◆ detailSettings

◆ detectorSettings

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

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

◆ dither

◆ dottedContourSettings

GUIVisualizationDottedContourSettings GUIVisualizationSettings::dottedContourSettings

◆ drawBoundaries

◆ drawBrakeGap

bool GUIVisualizationSettings::drawBrakeGap

◆ drawCrossingsAndWalkingareas

bool GUIVisualizationSettings::drawCrossingsAndWalkingareas

◆ drawForPositionSelection

◆ drawForRectangleSelection

bool GUIVisualizationSettings::drawForRectangleSelection

◆ drawJunctionShape

bool GUIVisualizationSettings::drawJunctionShape

◆ drawLaneChangePreference

bool GUIVisualizationSettings::drawLaneChangePreference

Information whether the lane change preference shall be drawn.

Definition at line 672 of file GUIVisualizationSettings.h.

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

◆ drawLinkJunctionIndex

◆ drawLinkTLIndex

◆ drawMinGap

bool GUIVisualizationSettings::drawMinGap

◆ edgeColorer

◆ edgeData

std::string GUIVisualizationSettings::edgeData

◆ edgeName

◆ edgeParam

◆ edgeScaler

◆ edgeValue

◆ edgeValueHideCheck

bool GUIVisualizationSettings::edgeValueHideCheck

◆ edgeValueHideThreshold

◆ forceDrawDottedContour

bool GUIVisualizationSettings::forceDrawDottedContour

flag to force draw dotted contour

Definition at line 832 of file GUIVisualizationSettings.h.

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

◆ forceDrawForPositionSelection

bool GUIVisualizationSettings::forceDrawForPositionSelection

◆ forceDrawForRectangleSelection

bool GUIVisualizationSettings::forceDrawForRectangleSelection

flag to force draw for rectangle selection (see drawForRectangleSelection)

Definition at line 829 of file GUIVisualizationSettings.h.

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

◆ fps

bool GUIVisualizationSettings::fps

◆ gaming

◆ gridXSize

◆ gridYSize

◆ hideConnectors

◆ internalEdgeName

◆ internalJunctionName

◆ junctionColorer

◆ junctionID

◆ junctionName

◆ junctionSize

◆ laneColorer

◆ laneMinSize

double GUIVisualizationSettings::laneMinSize

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

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

◆ MISSING_DATA

◆ name

◆ netedit

◆ neteditSizeSettings

◆ personColorer

◆ personName

◆ personQuality

◆ personSize

◆ personValue

◆ poiColorer

◆ poiName

◆ poiSize

◆ poiText

◆ poiTextParam

std::string GUIVisualizationSettings::poiTextParam

◆ poiType

◆ polyColorer

◆ polyName

◆ polySize

◆ polyType

◆ scale

double GUIVisualizationSettings::scale

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

Definition at line 808 of file GUIVisualizationSettings.h.

Referenced by GUIPointOfInterest::checkDraw(), GUIPolygon::checkDraw(), GUIViewTraffic::doPaintGL(), GNEViewNet::doPaintGL(), GUIVehicle::drawAction_drawLinkItems(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), drawAdditionals(), GNELane::drawArrows(), drawDetail(), GNEEdge::drawEdgeGeometryPoints(), GNEEdge::drawEdgeName(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIContainerStop::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIEdge::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), GUILane::drawLinkNo(), GNELane::drawLinkNo(), drawMovingGeometryPoint(), GUIBaseVehicle::drawOnPos(), GNEAdditional::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartialLane(), GUIVehicle::drawRouteHelper(), GNEJunction::drawTLSIcon(), GNELane::drawTLSLinkNo(), GUILane::drawTLSLinkNo(), GNECrossing::drawTLSLinkNo(), getCircleResolution(), GUIVisualizationSizeSettings::getExaggeration(), GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::makeSnapshot(), and GUISUMOAbstractView::paintGLGrid().

◆ SCHEME_NAME_EDGE_PARAM_NUMERICAL

const std::string GUIVisualizationSettings::SCHEME_NAME_EDGE_PARAM_NUMERICAL
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

◆ selectorFrameScale

double GUIVisualizationSettings::selectorFrameScale

the current selection scaling in NETEDIT (set in SelectorFrame)

Definition at line 817 of file GUIVisualizationSettings.h.

Referenced by GNEConnection::drawGL(), GNECrossing::drawGL(), GUIVisualizationSizeSettings::getExaggeration(), and GNEViewNet::setSelectorFrameScale().

◆ showBikeMarkings

bool GUIVisualizationSettings::showBikeMarkings

◆ showBlinker

bool GUIVisualizationSettings::showBlinker

◆ showBTRange

bool GUIVisualizationSettings::showBTRange

◆ showColorLegend

bool GUIVisualizationSettings::showColorLegend

◆ showGrid

◆ showLane2Lane

bool GUIVisualizationSettings::showLane2Lane

◆ showLaneDirection

◆ showLinkDecals

bool GUIVisualizationSettings::showLinkDecals

◆ showLinkRules

bool GUIVisualizationSettings::showLinkRules

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

Definition at line 618 of file GUIVisualizationSettings.h.

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

◆ showRails

◆ showRouteIndex

bool GUIVisualizationSettings::showRouteIndex

◆ showSizeLegend

bool GUIVisualizationSettings::showSizeLegend

◆ showSublanes

◆ showVehicleColorLegend

bool GUIVisualizationSettings::showVehicleColorLegend

◆ spreadSuperposed

◆ stoppingPlaceSettings

◆ streetName

◆ tlsPhaseIndex

◆ tlsPhaseName

◆ UseMesoSim

◆ vehicleColorer

◆ vehicleName

◆ vehicleParam

std::string GUIVisualizationSettings::vehicleParam

◆ vehicleQuality

◆ vehicleSize

◆ vehicleText

◆ vehicleTextParam

std::string GUIVisualizationSettings::vehicleTextParam

◆ vehicleValue

◆ widthSettings


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