![]() |
SUMO - Simulation of Urban MObility
|
Stores the information about how to visualize structures. More...
#include <GUIVisualizationSettings.h>

Public Member Functions | |
| 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... | |
| GUIScaleScheme & | getLaneEdgeScaleScheme () |
| Returns the current lane (edge) scaling schme. More... | |
| GUIColorScheme & | getLaneEdgeScheme () |
| Returns the current lane (edge) coloring schme. 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 RGBColor & | getLinkColor (const LinkState &ls) |
Data Fields | |
| bool | antialiase |
| Information whether antialiase shall be enabled. More... | |
| bool | dither |
| Information whether dithering shall be enabled. More... | |
| bool | drawForSelecting |
| whether drawing is performed for the purpose of selecting objects More... | |
| int | editAdditionalMode |
| the current NETEDIT additional mode (temporary) More... | |
| int | editMode |
| the current NETEDIT mode (temporary) More... | |
| bool | gaming |
| whether the application is in gaming mode or not More... | |
| std::string | name |
| The name of this setting. More... | |
| bool | netedit |
| Whether the settings are for Netedit. More... | |
| double | scale |
| information about a lane's width (temporary, used for a single view) More... | |
| double | selectionScale |
| the current selection scaling in NETEDIT (temporary) More... | |
| bool | showSizeLegend |
| Information whether the size legend shall be drawn. 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 | showBTRange |
| Information whether the communication range shall be drawn. More... | |
| GUIVisualizationSizeSettings | vehicleSize |
| GUIVisualizationTextSettings | vehicleName |
person visualization settings | |
| GUIColorer | personColorer |
| The person colorer. More... | |
| int | personQuality |
| The quality of person drawing. More... | |
| GUIVisualizationSizeSettings | personSize |
| GUIVisualizationTextSettings | personName |
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 | junctionName |
| GUIVisualizationTextSettings | internalJunctionName |
| 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 |
shapes visualization settings | |
| GUIVisualizationSizeSettings | poiSize |
| GUIVisualizationTextSettings | poiName |
| GUIVisualizationTextSettings | poiType |
| GUIVisualizationSizeSettings | polySize |
| GUIVisualizationTextSettings | polyName |
| GUIVisualizationTextSettings | polyType |
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 | 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 |
| bool | hideConnectors |
| 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... | |
| static bool | UseMesoSim = false |
| this should be set at the same time as MSGlobals::gUseMesoSim More... | |
Stores the information about how to visualize structures.
Definition at line 117 of file GUIVisualizationSettings.h.
| GUIVisualizationSettings::GUIVisualizationSettings | ( | bool | _netedit = false | ) |
constructor
Definition at line 66 of file GUIVisualizationSettings.cpp.
References initNeteditDefaults(), initSumoGuiDefaults(), and netedit.
| int GUIVisualizationSettings::getLaneEdgeMode | ( | ) | const |
Returns the number of the active lane (edge) coloring schme.
Definition at line 786 of file GUIVisualizationSettings.cpp.
References edgeColorer, GUIPropertySchemeStorage< T >::getActive(), laneColorer, and UseMesoSim.
Referenced by GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), and save().
| int GUIVisualizationSettings::getLaneEdgeScaleMode | ( | ) | const |
Returns the number of the active lane (edge) scaling schme.
Definition at line 795 of file GUIVisualizationSettings.cpp.
References edgeScaler, GUIPropertySchemeStorage< T >::getActive(), laneScaler, and UseMesoSim.
Referenced by GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), and save().
| GUIScaleScheme & GUIVisualizationSettings::getLaneEdgeScaleScheme | ( | ) |
Returns the current lane (edge) scaling schme.
Definition at line 813 of file GUIVisualizationSettings.cpp.
References edgeScaler, GUIPropertySchemeStorage< T >::getScheme(), laneScaler, and UseMesoSim.
Referenced by GUIDialog_ViewSettings::onCmdColorChange(), and GUIDialog_ViewSettings::rebuildColorMatrices().
| GUIColorScheme & GUIVisualizationSettings::getLaneEdgeScheme | ( | ) |
Returns the current lane (edge) coloring schme.
Definition at line 804 of file GUIVisualizationSettings.cpp.
References edgeColorer, GUIPropertySchemeStorage< T >::getScheme(), laneColorer, and UseMesoSim.
Referenced by GUIDialog_ViewSettings::onCmdColorChange(), and GUIDialog_ViewSettings::rebuildColorMatrices().
Definition at line 1140 of file GUIVisualizationSettings.cpp.
References LINKSTATE_ALLWAY_STOP, LINKSTATE_DEADEND, LINKSTATE_EQUAL, LINKSTATE_MAJOR, LINKSTATE_MINOR, LINKSTATE_STOP, LINKSTATE_TL_GREEN_MAJOR, LINKSTATE_TL_GREEN_MINOR, LINKSTATE_TL_OFF_BLINKING, LINKSTATE_TL_OFF_NOSIGNAL, LINKSTATE_TL_RED, LINKSTATE_TL_REDYELLOW, LINKSTATE_TL_YELLOW_MAJOR, LINKSTATE_TL_YELLOW_MINOR, LINKSTATE_ZIPPER, SUMO_color_ALLWAY_STOP, SUMO_color_DEADEND, SUMO_color_EQUAL, SUMO_color_MAJOR, SUMO_color_MINOR, SUMO_color_STOP, SUMO_color_TL_GREEN_MAJOR, SUMO_color_TL_GREEN_MINOR, SUMO_color_TL_OFF_BLINKING, SUMO_color_TL_OFF_NOSIGNAL, SUMO_color_TL_RED, SUMO_color_TL_REDYELLOW, SUMO_color_TL_YELLOW_MAJOR, SUMO_color_TL_YELLOW_MINOR, and SUMO_color_ZIPPER.
Referenced by GNEInternalLane::colorForLinksState(), GUILane::drawLane2LaneConnections(), GUILane::drawLinkRule(), and GUITLLogicPhasesTrackerWindow::drawValues().
| void GUIVisualizationSettings::initNeteditDefaults | ( | ) |
init default settings
add edge scaling schemes
Definition at line 669 of file GUIVisualizationSettings.cpp.
References GUIPropertyScheme< T >::addColor(), GUIPropertySchemeStorage< T >::addScheme(), RGBColor::BLACK, RGBColor::BLUE, containerColorer, RGBColor::CYAN, RGBColor::GREEN, RGBColor::GREY, junctionColorer, laneColorer, laneScaler, RGBColor::MAGENTA, RGBColor::ORANGE, personColorer, RGBColor::RED, 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().
| void GUIVisualizationSettings::initSumoGuiDefaults | ( | ) |
add lane coloring schemes
add vehicle coloring schemes
add person coloring schemes
add container coloring schemes
add junction coloring schemes
add lane scaling schemes
add edge coloring schemes
add edge scaling schemes
Definition at line 122 of file GUIVisualizationSettings.cpp.
References GUIPropertyScheme< T >::addColor(), GUIPropertySchemeStorage< T >::addScheme(), RGBColor::BLACK, RGBColor::BLUE, containerColorer, RGBColor::CYAN, edgeColorer, edgeScaler, RGBColor::GREEN, RGBColor::GREY, junctionColorer, laneColorer, laneScaler, RGBColor::MAGENTA, RGBColor::ORANGE, personColorer, RGBColor::RED, GUIPropertyScheme< T >::setAllowsNegativeValues(), SVC_BICYCLE, SVC_BUS, SVC_DELIVERY, SVC_MOPED, SVC_NON_ROAD, SVC_PASSENGER, SVC_PEDESTRIAN, SVC_SHIP, SVC_TAXI, SVCAll, vehicleColorer, RGBColor::WHITE, and RGBColor::YELLOW.
Referenced by GUIVisualizationSettings().
| bool GUIVisualizationSettings::operator== | ( | const GUIVisualizationSettings & | vs2 | ) |
Comparison operator.
Definition at line 946 of file GUIVisualizationSettings.cpp.
References addMode, addName, addSize, antialiase, backgroundColor, containerColorer, containerName, containerQuality, containerSize, cwaEdgeName, dither, drawCrossingsAndWalkingareas, drawJunctionShape, drawLaneChangePreference, drawLinkJunctionIndex, drawLinkTLIndex, drawMinGap, edgeColorer, edgeName, edgeScaler, gridXSize, gridYSize, hideConnectors, internalEdgeName, internalJunctionName, junctionColorer, junctionName, junctionSize, laneColorer, laneMinSize, laneScaler, laneShowBorders, laneWidthExaggeration, personColorer, personName, personQuality, personSize, poiName, poiSize, poiType, polyName, polySize, polyType, showBlinker, showBTRange, showGrid, showLane2Lane, showLaneDirection, showLinkDecals, showLinkRules, showRails, showSizeLegend, showSublanes, streetName, vehicleColorer, vehicleName, vehicleQuality, and vehicleSize.
| void GUIVisualizationSettings::save | ( | OutputDevice & | dev | ) | const |
Writes the settings into an output device.
| [in] | dev | The device to write the settings into |
Definition at line 821 of file GUIVisualizationSettings.cpp.
References addMode, addName, addSize, antialiase, backgroundColor, OutputDevice::closeTag(), containerColorer, containerQuality, cwaEdgeName, dither, drawCrossingsAndWalkingareas, drawJunctionShape, drawLinkJunctionIndex, drawLinkTLIndex, edgeColorer, edgeName, edgeScaler, GUIPropertySchemeStorage< T >::getActive(), getLaneEdgeMode(), getLaneEdgeScaleMode(), gridXSize, gridYSize, hideConnectors, internalEdgeName, internalJunctionName, junctionColorer, junctionName, junctionSize, laneColorer, laneMinSize, laneScaler, laneShowBorders, laneWidthExaggeration, OutputDevice::lf(), name, OutputDevice::openTag(), personColorer, personName, personQuality, personSize, poiName, poiSize, poiType, polyName, polySize, polyType, GUIVisualizationTextSettings::print(), GUIVisualizationSizeSettings::print(), GUIPropertySchemeStorage< T >::save(), showBlinker, showGrid, showLane2Lane, showLaneDirection, showLinkDecals, showLinkRules, showRails, showSizeLegend, showSublanes, 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, vehicleColorer, vehicleName, vehicleQuality, vehicleSize, and OutputDevice::writeAttr().
Referenced by GUIDialog_ViewSettings::onCmdExportSetting(), and GUICompleteSchemeStorage::writeSettings().
| int GUIVisualizationSettings::addMode |
The additional structures visualization scheme.
Definition at line 256 of file GUIVisualizationSettings.h.
Referenced by GUISettingsHandler::myStartElement(), operator==(), and save().
| GUIVisualizationTextSettings GUIVisualizationSettings::addName |
Definition at line 260 of file GUIVisualizationSettings.h.
Referenced by GNEDetectorE1::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE2::drawGL(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUICalibrator::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNERouteProbe::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GNEChargingStation::drawGL(), GNERerouter::drawGL(), GUIContainerStop::drawGL(), GNEDetectorE3::drawGL(), GUIBusStop::drawGL(), GUIParkingArea::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GNECalibrator::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| GUIVisualizationSizeSettings GUIVisualizationSettings::addSize |
Definition at line 258 of file GUIVisualizationSettings.h.
Referenced by GNEDetectorE1::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorE2::drawGL(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUICalibrator::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GNEChargingStation::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GUIParkingArea::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GNECalibrator::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), GUISUMOAbstractView::paintGLGrid(), and save().
| bool GUIVisualizationSettings::antialiase |
Information whether antialiase shall be enabled.
Definition at line 130 of file GUIVisualizationSettings.h.
Referenced by GUISUMOAbstractView::makeSnapshot(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), GUISUMOAbstractView::paintGL(), and save().
| RGBColor GUIVisualizationSettings::backgroundColor |
The background color to use.
Definition at line 138 of file GUIVisualizationSettings.h.
Referenced by GUICompleteSchemeStorage::init(), GUISUMOAbstractView::makeSnapshot(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), GUISUMOAbstractView::onConfigure(), operator==(), GUISUMOAbstractView::paintGL(), and save().
| GUIColorer GUIVisualizationSettings::containerColorer |
The container colorer.
Definition at line 223 of file GUIVisualizationSettings.h.
Referenced by initNeteditDefaults(), initSumoGuiDefaults(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), GUIDialog_ViewSettings::rebuildColorMatrices(), save(), and GUIContainer::setColor().
| GUIVisualizationTextSettings GUIVisualizationSettings::containerName |
Definition at line 229 of file GUIVisualizationSettings.h.
Referenced by GUIContainer::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), and operator==().
| int GUIVisualizationSettings::containerQuality |
The quality of container drawing.
Definition at line 225 of file GUIVisualizationSettings.h.
Referenced by GUIContainer::drawGL(), GUICompleteSchemeStorage::init(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| GUIVisualizationSizeSettings GUIVisualizationSettings::containerSize |
Definition at line 227 of file GUIVisualizationSettings.h.
Referenced by GUIContainer::drawGL(), GUIEdge::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), and operator==().
| GUIVisualizationTextSettings GUIVisualizationSettings::cwaEdgeName |
Definition at line 169 of file GUIVisualizationSettings.h.
Referenced by GUIEdge::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| bool GUIVisualizationSettings::dither |
Information whether dithering shall be enabled.
Definition at line 132 of file GUIVisualizationSettings.h.
Referenced by GUISUMOAbstractView::makeSnapshot(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), GUISUMOAbstractView::paintGL(), and save().
| bool GUIVisualizationSettings::drawCrossingsAndWalkingareas |
whether crosings and walkingareas shall be drawn
Definition at line 245 of file GUIVisualizationSettings.h.
Referenced by GNECrossing::drawGL(), GUILane::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| bool GUIVisualizationSettings::drawForSelecting |
whether drawing is performed for the purpose of selecting objects
Definition at line 301 of file GUIVisualizationSettings.h.
Referenced by GUILane::drawGL(), GUIVisualizationSizeSettings::getExaggeration(), and GUISUMOAbstractView::getObjectsInBoundary().
| bool GUIVisualizationSettings::drawJunctionShape |
whether the shape of the junction should be drawn
Definition at line 243 of file GUIVisualizationSettings.h.
Referenced by GNEJunction::drawGL(), GUIJunctionWrapper::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| bool GUIVisualizationSettings::drawLaneChangePreference |
Information whether the lane change preference shall be drawn.
Definition at line 193 of file GUIVisualizationSettings.h.
Referenced by GUIBaseVehicle::drawOnPos(), and operator==().
| GUIVisualizationTextSettings GUIVisualizationSettings::drawLinkJunctionIndex |
Definition at line 239 of file GUIVisualizationSettings.h.
Referenced by GNELane::drawGL(), GUILane::drawGL(), GNELane::drawLinkNo(), GUILane::drawLinkNo(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| GUIVisualizationTextSettings GUIVisualizationSettings::drawLinkTLIndex |
Definition at line 239 of file GUIVisualizationSettings.h.
Referenced by GNELane::drawGL(), GUILane::drawGL(), GNELane::drawTLSLinkNo(), GUILane::drawTLSLinkNo(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| bool GUIVisualizationSettings::drawMinGap |
Information whether the minimum gap shall be drawn.
Definition at line 195 of file GUIVisualizationSettings.h.
Referenced by GUIBaseVehicle::drawOnPos(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), and operator==().
| GUIColorer GUIVisualizationSettings::edgeColorer |
The mesoscopic edge colorer.
Definition at line 150 of file GUIVisualizationSettings.h.
Referenced by getLaneEdgeMode(), getLaneEdgeScheme(), initSumoGuiDefaults(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), save(), and GUIEdge::setColor().
| GUIVisualizationTextSettings GUIVisualizationSettings::edgeName |
Definition at line 169 of file GUIVisualizationSettings.h.
Referenced by GNEEdge::drawGL(), GUIEdge::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| GUIScaler GUIVisualizationSettings::edgeScaler |
The mesoscopic edge scaler.
Definition at line 152 of file GUIVisualizationSettings.h.
Referenced by GUILane::drawGL(), getLaneEdgeScaleMode(), getLaneEdgeScaleScheme(), initSumoGuiDefaults(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().
| int GUIVisualizationSettings::editAdditionalMode |
the current NETEDIT additional mode (temporary)
Definition at line 295 of file GUIVisualizationSettings.h.
| int GUIVisualizationSettings::editMode |
the current NETEDIT mode (temporary)
Definition at line 292 of file GUIVisualizationSettings.h.
Referenced by GNEViewNet::doPaintGL(), GNEJunction::drawGL(), GNEJunction::getPopUpMenu(), and GNELane::getPopUpMenu().
| bool GUIVisualizationSettings::gaming |
whether the application is in gaming mode or not
Definition at line 289 of file GUIVisualizationSettings.h.
Referenced by GUITrafficLightLogicWrapper::drawGL(), GUISUMOAbstractView::GUISUMOAbstractView(), GUIApplicationWindow::onCmdGaming(), GUIDanielPerspectiveChanger::onKeyPress(), GUIDanielPerspectiveChanger::onMouseMove(), and GUIViewTraffic::setColorScheme().
| double GUIVisualizationSettings::gridXSize |
Information about the grid spacings.
Definition at line 142 of file GUIVisualizationSettings.h.
Referenced by GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), GUISUMOAbstractView::paintGLGrid(), save(), and GUISUMOAbstractView::snapToActiveGrid().
| double GUIVisualizationSettings::gridYSize |
Definition at line 142 of file GUIVisualizationSettings.h.
Referenced by GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), GUISUMOAbstractView::paintGLGrid(), save(), and GUISUMOAbstractView::snapToActiveGrid().
| bool GUIVisualizationSettings::hideConnectors |
Definition at line 171 of file GUIVisualizationSettings.h.
Referenced by GUIEdge::drawGL(), GUICompleteSchemeStorage::init(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| GUIVisualizationTextSettings GUIVisualizationSettings::internalEdgeName |
Definition at line 169 of file GUIVisualizationSettings.h.
Referenced by GUIEdge::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| GUIVisualizationTextSettings GUIVisualizationSettings::internalJunctionName |
Definition at line 239 of file GUIVisualizationSettings.h.
Referenced by GUIJunctionWrapper::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| GUIColorer GUIVisualizationSettings::junctionColorer |
The junction colorer.
Definition at line 237 of file GUIVisualizationSettings.h.
Referenced by GUIJunctionWrapper::drawGL(), GNEEdge::drawGL(), GNEConnection::drawGL(), GUIJunctionWrapper::getColorValue(), GNEJunction::getColorValue(), initNeteditDefaults(), initSumoGuiDefaults(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), GUIDialog_ViewSettings::rebuildColorMatrices(), save(), and GNEJunction::setColor().
| GUIVisualizationTextSettings GUIVisualizationSettings::junctionName |
Definition at line 239 of file GUIVisualizationSettings.h.
Referenced by GNEJunction::drawGL(), GUIJunctionWrapper::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| GUIVisualizationSizeSettings GUIVisualizationSettings::junctionSize |
Definition at line 247 of file GUIVisualizationSettings.h.
Referenced by GNEJunction::drawGL(), GUIJunctionWrapper::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), GNEViewNet::onLeftBtnRelease(), operator==(), and save().
| GUIColorer GUIVisualizationSettings::laneColorer |
The lane colorer.
Definition at line 157 of file GUIVisualizationSettings.h.
Referenced by GUILane::drawAsWaterway(), GNELane::drawGL(), GNEEdge::drawGL(), getLaneEdgeMode(), getLaneEdgeScheme(), initNeteditDefaults(), initSumoGuiDefaults(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIApplicationWindow::onCmdEditChosen(), operator==(), save(), and GUILane::setColor().
| double GUIVisualizationSettings::laneMinSize |
The minimum visual lane width for drawing.
Definition at line 175 of file GUIVisualizationSettings.h.
Referenced by GNELane::drawGL(), GUILane::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| GUIScaler GUIVisualizationSettings::laneScaler |
The lane scaler.
Definition at line 159 of file GUIVisualizationSettings.h.
Referenced by GUILane::drawGL(), getLaneEdgeScaleMode(), getLaneEdgeScaleScheme(), initNeteditDefaults(), initSumoGuiDefaults(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().
| bool GUIVisualizationSettings::laneShowBorders |
Information whether lane borders shall be drawn.
Definition at line 161 of file GUIVisualizationSettings.h.
Referenced by GNELane::drawGL(), GUILane::drawGL(), GUICompleteSchemeStorage::init(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| double GUIVisualizationSettings::laneWidthExaggeration |
The lane exaggeration (upscale thickness)
Definition at line 173 of file GUIVisualizationSettings.h.
Referenced by GNELane::drawGL(), GNEEdge::drawGL(), GUILane::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| std::string GUIVisualizationSettings::name |
The name of this setting.
Definition at line 124 of file GUIVisualizationSettings.h.
Referenced by GUICompleteSchemeStorage::add(), GUISettingsHandler::addSettings(), GUIViewTraffic::buildViewToolBars(), GNEViewNet::buildViewToolBars(), GUICompleteSchemeStorage::init(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), GUIDialog_ViewSettings::onCmdSaveSetting(), TraCIServerAPI_GUI::processGet(), save(), GUICompleteSchemeStorage::writeSettings(), and GUISUMOAbstractView::~GUISUMOAbstractView().
| bool GUIVisualizationSettings::netedit |
Whether the settings are for Netedit.
Definition at line 127 of file GUIVisualizationSettings.h.
Referenced by GUIVisualizationSettings(), and GUIDialog_ViewSettings::loadSettings().
| GUIColorer GUIVisualizationSettings::personColorer |
The person colorer.
Definition at line 209 of file GUIVisualizationSettings.h.
Referenced by initNeteditDefaults(), initSumoGuiDefaults(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), GUIDialog_ViewSettings::rebuildColorMatrices(), save(), and GUIPerson::setColor().
| GUIVisualizationTextSettings GUIVisualizationSettings::personName |
Definition at line 215 of file GUIVisualizationSettings.h.
Referenced by GUIPerson::drawGL(), GUIBaseVehicle::drawOnPos(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| int GUIVisualizationSettings::personQuality |
The quality of person drawing.
Definition at line 211 of file GUIVisualizationSettings.h.
Referenced by GUIPerson::drawGL(), GUICompleteSchemeStorage::init(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| GUIVisualizationSizeSettings GUIVisualizationSettings::personSize |
Definition at line 213 of file GUIVisualizationSettings.h.
Referenced by GUIContainer::drawAction_drawAsImage(), GUIPerson::drawAction_drawAsImage(), GUIPerson::drawGL(), GUIEdge::drawGL(), GUIPerson::drawGLAdditional(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| GUIVisualizationTextSettings GUIVisualizationSettings::poiName |
Definition at line 270 of file GUIVisualizationSettings.h.
Referenced by GUIPointOfInterest::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| GUIVisualizationSizeSettings GUIVisualizationSettings::poiSize |
Definition at line 268 of file GUIVisualizationSettings.h.
Referenced by GUIPointOfInterest::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| GUIVisualizationTextSettings GUIVisualizationSettings::poiType |
Definition at line 272 of file GUIVisualizationSettings.h.
Referenced by GUIPointOfInterest::drawGL(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| GUIVisualizationTextSettings GUIVisualizationSettings::polyName |
Definition at line 277 of file GUIVisualizationSettings.h.
Referenced by GUIPolygon::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| GUIVisualizationSizeSettings GUIVisualizationSettings::polySize |
Definition at line 275 of file GUIVisualizationSettings.h.
Referenced by GUIPolygon::drawGL(), GNEPoly::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| GUIVisualizationTextSettings GUIVisualizationSettings::polyType |
Definition at line 279 of file GUIVisualizationSettings.h.
Referenced by GUIPolygon::drawGL(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| double GUIVisualizationSettings::scale |
information about a lane's width (temporary, used for a single view)
Definition at line 286 of file GUIVisualizationSettings.h.
Referenced by GUIViewTraffic::doPaintGL(), GNEViewNet::doPaintGL(), GUIVehicle::drawAction_drawLinkItems(), GNEDetectorE1::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE2::drawGL(), GNEContainerStop::drawGL(), GNEBusStop::drawGL(), GNEInternalLane::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GUIContainer::drawGL(), GNEJunction::drawGL(), GUIPolygon::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUIPointOfInterest::drawGL(), GUICalibrator::drawGL(), GUIPerson::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GUIJunctionWrapper::drawGL(), GNERouteProbe::drawGL(), GNELane::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GNEEdge::drawGL(), GUIChargingStation::drawGL(), GNEChargingStation::drawGL(), GNERerouter::drawGL(), GUIContainerStop::drawGL(), GNEDetectorE3::drawGL(), GUIBusStop::drawGL(), GNEConnection::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GNEPoly::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GNECalibrator::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GUIBaseVehicle::drawOnPos(), GUIVisualizationSizeSettings::getExaggeration(), GUISUMOAbstractView::makeSnapshot(), and GUISUMOAbstractView::paintGLGrid().
| double GUIVisualizationSettings::selectionScale |
the current selection scaling in NETEDIT (temporary)
Definition at line 298 of file GUIVisualizationSettings.h.
Referenced by GNEJunction::drawGL(), GNELane::drawGL(), and GNEViewNet::setSelectionScaling().
| bool GUIVisualizationSettings::showBlinker |
Information whether vehicle blinkers shall be drawn.
Definition at line 191 of file GUIVisualizationSettings.h.
Referenced by GUIBaseVehicle::drawOnPos(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| bool GUIVisualizationSettings::showBTRange |
Information whether the communication range shall be drawn.
Definition at line 197 of file GUIVisualizationSettings.h.
Referenced by GUIBaseVehicle::drawOnPos(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), and operator==().
| bool GUIVisualizationSettings::showGrid |
Information whether a grid shall be shown.
Definition at line 140 of file GUIVisualizationSettings.h.
Referenced by GUIViewTraffic::doPaintGL(), GNEViewNet::doPaintGL(), GUISUMOAbstractView::makeSnapshot(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GNEViewNet::onCmdShowGrid(), operator==(), save(), GUIDialog_ViewSettings::show(), GUISUMOAbstractView::snapToActiveGrid(), and GNEViewNet::updateModeSpecificControls().
| bool GUIVisualizationSettings::showLane2Lane |
Information whether lane-to-lane arrows shall be drawn.
Definition at line 241 of file GUIVisualizationSettings.h.
Referenced by GNEViewNet::buildEditModeControls(), GNEViewNet::doPaintGL(), GUILane::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), GNEViewNet::onCmdToogleShowConnection(), operator==(), save(), and GNEViewNet::showConnections().
| bool GUIVisualizationSettings::showLaneDirection |
Whether to show direction indicators for lanes.
Definition at line 177 of file GUIVisualizationSettings.h.
Referenced by GNELane::drawGL(), GUILane::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| bool GUIVisualizationSettings::showLinkDecals |
Information whether link textures (arrows) shall be drawn.
Definition at line 163 of file GUIVisualizationSettings.h.
Referenced by GNELane::drawGL(), GUILane::drawGL(), GUICompleteSchemeStorage::init(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| bool GUIVisualizationSettings::showLinkRules |
Information whether link rules (colored bars) shall be drawn.
Definition at line 165 of file GUIVisualizationSettings.h.
Referenced by GUILane::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| bool GUIVisualizationSettings::showRails |
Information whether rails shall be drawn.
Definition at line 167 of file GUIVisualizationSettings.h.
Referenced by GNELane::drawAsRailway(), GUILane::drawAsRailway(), GNELane::drawAsWaterway(), GUILane::drawAsWaterway(), GUICompleteSchemeStorage::init(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| bool GUIVisualizationSettings::showSizeLegend |
Information whether the size legend shall be drawn.
Definition at line 283 of file GUIVisualizationSettings.h.
Referenced by GUISUMOAbstractView::makeSnapshot(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), GUISUMOAbstractView::paintGL(), and save().
| bool GUIVisualizationSettings::showSublanes |
Whether to show sublane boundaries.
Definition at line 179 of file GUIVisualizationSettings.h.
Referenced by GUILane::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| GUIVisualizationTextSettings GUIVisualizationSettings::streetName |
Definition at line 169 of file GUIVisualizationSettings.h.
Referenced by GNEEdge::drawGL(), GUIBusStop::drawGL(), GUIEdge::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
|
static |
this should be set at the same time as MSGlobals::gUseMesoSim
Definition at line 155 of file GUIVisualizationSettings.h.
Referenced by getLaneEdgeMode(), getLaneEdgeScaleMode(), getLaneEdgeScaleScheme(), getLaneEdgeScheme(), GUISUMOAbstractView::getObjectAtPosition(), GUIDialog_ViewSettings::GUIDialog_ViewSettings(), GUIDialog_ViewSettings::onCmdColorChange(), and GUILoadThread::run().
| GUIColorer GUIVisualizationSettings::vehicleColorer |
The vehicle colorer.
Definition at line 187 of file GUIVisualizationSettings.h.
Referenced by initNeteditDefaults(), initSumoGuiDefaults(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), GUIDialog_ViewSettings::rebuildColorMatrices(), save(), and GUIBaseVehicle::setColor().
| GUIVisualizationTextSettings GUIVisualizationSettings::vehicleName |
Definition at line 201 of file GUIVisualizationSettings.h.
Referenced by GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawOnPos(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| int GUIVisualizationSettings::vehicleQuality |
The quality of vehicle drawing.
Definition at line 189 of file GUIVisualizationSettings.h.
Referenced by GUIBaseVehicle::drawOnPos(), GUICompleteSchemeStorage::init(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
| GUIVisualizationSizeSettings GUIVisualizationSettings::vehicleSize |
Definition at line 199 of file GUIVisualizationSettings.h.
Referenced by GUIVehicle::drawAction_drawRailCarriages(), GUIBaseVehicle::drawAction_drawVehicleAsImage(), GUIEdge::drawGL(), GUILane::drawGL(), GUIBaseVehicle::drawOnPos(), GUIBaseVehicle::drawRoute(), GUICompleteSchemeStorage::init(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().