![]() |
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 | 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 |
GUIVisualizationTextSettings | addFullName |
shapes visualization settings | |
GUIVisualizationSizeSettings | poiSize |
GUIVisualizationTextSettings | poiName |
GUIVisualizationTextSettings | poiType |
GUIVisualizationSizeSettings | polySize |
GUIVisualizationTextSettings | polyName |
GUIVisualizationTextSettings | polyType |
Static Public Attributes | |
static const RGBColor | SUMO_color_E3Entry |
static const RGBColor | SUMO_color_E3Exit |
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 116 of file GUIVisualizationSettings.h.
GUIVisualizationSettings::GUIVisualizationSettings | ( | bool | _netedit = false | ) |
constructor
Definition at line 70 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 813 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 822 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 840 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 831 of file GUIVisualizationSettings.cpp.
References edgeColorer, GUIPropertySchemeStorage< T >::getScheme(), laneColorer, and UseMesoSim.
Referenced by GUIDialog_ViewSettings::onCmdColorChange(), and GUIDialog_ViewSettings::rebuildColorMatrices().
Definition at line 1167 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 688 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 127 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 973 of file GUIVisualizationSettings.cpp.
References addFullName, addMode, addName, addSize, 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 848 of file GUIVisualizationSettings.cpp.
References addFullName, addMode, addName, addSize, 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().
GUIVisualizationTextSettings GUIVisualizationSettings::addFullName |
Definition at line 259 of file GUIVisualizationSettings.h.
Referenced by GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GUIBusStop::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
int GUIVisualizationSettings::addMode |
The additional structures visualization scheme.
Definition at line 253 of file GUIVisualizationSettings.h.
Referenced by GUISettingsHandler::myStartElement(), operator==(), and save().
GUIVisualizationTextSettings GUIVisualizationSettings::addName |
Definition at line 257 of file GUIVisualizationSettings.h.
Referenced by GNEDetectorE1::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE2::drawGL(), GNEVaporizer::drawGL(), GNEDetectorE3::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GNERouteProbe::drawGL(), GUICalibrator::drawGL(), GNEChargingStation::drawGL(), GNEVariableSpeedSign::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GNERerouter::drawGL(), GUIContainerStop::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 255 of file GUIVisualizationSettings.h.
Referenced by GNEDetectorE1::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorEntry::drawGL(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE2::drawGL(), GNEVaporizer::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GNERouteProbe::drawGL(), GUICalibrator::drawGL(), GNEChargingStation::drawGL(), GNEVariableSpeedSign::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GNERerouter::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().
RGBColor GUIVisualizationSettings::backgroundColor |
The background color to use.
Definition at line 135 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 220 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 226 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 222 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 224 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 166 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 129 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 242 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 300 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 240 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 190 of file GUIVisualizationSettings.h.
Referenced by GUIBaseVehicle::drawOnPos(), and operator==().
GUIVisualizationTextSettings GUIVisualizationSettings::drawLinkJunctionIndex |
Definition at line 236 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 236 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 192 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 147 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 166 of file GUIVisualizationSettings.h.
Referenced by GUIEdge::drawGL(), GNEEdge::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
GUIScaler GUIVisualizationSettings::edgeScaler |
The mesoscopic edge scaler.
Definition at line 149 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 294 of file GUIVisualizationSettings.h.
int GUIVisualizationSettings::editMode |
the current NETEDIT mode (temporary)
Definition at line 291 of file GUIVisualizationSettings.h.
Referenced by GNEViewNet::doPaintGL(), GNEJunction::drawGL(), and GNELane::getPopUpMenu().
bool GUIVisualizationSettings::gaming |
whether the application is in gaming mode or not
Definition at line 288 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 139 of file GUIVisualizationSettings.h.
Referenced by GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GNEViewNet::onMouseMove(), operator==(), GUISUMOAbstractView::paintGLGrid(), save(), and GUISUMOAbstractView::snapToActiveGrid().
double GUIVisualizationSettings::gridYSize |
Definition at line 139 of file GUIVisualizationSettings.h.
Referenced by GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), GUISUMOAbstractView::paintGLGrid(), save(), and GUISUMOAbstractView::snapToActiveGrid().
bool GUIVisualizationSettings::hideConnectors |
Definition at line 168 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 166 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 236 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 234 of file GUIVisualizationSettings.h.
Referenced by GUIJunctionWrapper::drawGL(), GNEConnection::drawGL(), GNEEdge::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 236 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 244 of file GUIVisualizationSettings.h.
Referenced by GNEEdge::commitShapeChange(), GNEJunction::drawGL(), GUIJunctionWrapper::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
GUIColorer GUIVisualizationSettings::laneColorer |
The lane colorer.
Definition at line 154 of file GUIVisualizationSettings.h.
Referenced by GUILane::drawAsWaterway(), GNEEdge::drawGL(), getLaneEdgeMode(), getLaneEdgeScheme(), initNeteditDefaults(), initSumoGuiDefaults(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIApplicationWindow::onCmdEditChosen(), operator==(), save(), GUILane::setColor(), and GNELane::setLaneColor().
double GUIVisualizationSettings::laneMinSize |
The minimum visual lane width for drawing.
Definition at line 172 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 156 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 158 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 170 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 123 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 126 of file GUIVisualizationSettings.h.
Referenced by GUIVisualizationSettings(), and GUIDialog_ViewSettings::loadSettings().
GUIColorer GUIVisualizationSettings::personColorer |
The person colorer.
Definition at line 206 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 212 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 208 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 210 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 269 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 267 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 271 of file GUIVisualizationSettings.h.
Referenced by GUIPointOfInterest::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
GUIVisualizationTextSettings GUIVisualizationSettings::polyName |
Definition at line 276 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 274 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 278 of file GUIVisualizationSettings.h.
Referenced by GUIPolygon::drawGL(), GUISettingsHandler::myStartElement(), 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 285 of file GUIVisualizationSettings.h.
Referenced by GUIViewTraffic::doPaintGL(), GNEViewNet::doPaintGL(), GUIVehicle::drawAction_drawLinkItems(), GNEDetectorE1::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEContainerStop::drawGL(), GNEBusStop::drawGL(), GNEDetectorE2::drawGL(), GNEVaporizer::drawGL(), GNEJunction::drawGL(), GNEInternalLane::drawGL(), GNEDetectorE3::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GUIPolygon::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GNELane::drawGL(), GUIContainer::drawGL(), GNERouteProbe::drawGL(), GUICalibrator::drawGL(), GUIPerson::drawGL(), GNEChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUIPointOfInterest::drawGL(), GNEVariableSpeedSign::drawGL(), GNEConnection::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GNERerouter::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GNEPoly::drawGL(), GNEEdge::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GNECalibrator::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GUIBaseVehicle::drawOnPos(), GUIVehicle::drawRouteHelper(), GUIVisualizationSizeSettings::getExaggeration(), GUISUMOAbstractView::makeSnapshot(), and GUISUMOAbstractView::paintGLGrid().
double GUIVisualizationSettings::selectionScale |
the current selection scaling in NETEDIT (temporary)
Definition at line 297 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 188 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 194 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 137 of file GUIVisualizationSettings.h.
Referenced by GUIViewTraffic::doPaintGL(), GNEViewNet::doPaintGL(), GUISUMOAbstractView::makeSnapshot(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GNEViewNet::onCmdShowGrid(), GNEViewNet::onMouseMove(), 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 238 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 174 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 160 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 162 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 164 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 282 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 176 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 166 of file GUIVisualizationSettings.h.
Referenced by GUIEdge::drawGL(), GNEEdge::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
|
static |
Definition at line 337 of file GUIVisualizationSettings.h.
Referenced by GNEDetectorEntry::drawGL(), and GUIE3Collector::MyWrapper::drawGL().
|
static |
Definition at line 338 of file GUIVisualizationSettings.h.
Referenced by GNEDetectorExit::drawGL(), and GUIE3Collector::MyWrapper::drawGL().
|
static |
this should be set at the same time as MSGlobals::gUseMesoSim
Definition at line 152 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 184 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 198 of file GUIVisualizationSettings.h.
Referenced by GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawOnPos(), GUIVehicle::drawRouteHelper(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
int GUIVisualizationSettings::vehicleQuality |
The quality of vehicle drawing.
Definition at line 186 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 196 of file GUIVisualizationSettings.h.
Referenced by GUIVehicle::drawAction_drawRailCarriages(), GUIBaseVehicle::drawAction_drawVehicleAsImage(), GUIEdge::drawGL(), GUILane::drawGL(), GUIBaseVehicle::drawOnPos(), GUIVehicle::drawRouteHelper(), GUIMEVehicle::drawRouteHelper(), GUICompleteSchemeStorage::init(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().