![]() |
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 () | |
constructor More... | |
bool | operator== (const GUIVisualizationSettings &vs2) |
Comparison operator. More... | |
void | save (OutputDevice &dev) const |
Writes the settings into an output device. More... | |
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... | |
SUMOReal | scale |
information about a lane's width (temporary, used for a single view) More... | |
SUMOReal | 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... | |
SUMOReal | gridXSize |
Information about the grid spacings. More... | |
SUMOReal | 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 | showRails |
Information whether rails shall be drawn. More... | |
GUIVisualizationTextSettings | edgeName |
GUIVisualizationTextSettings | internalEdgeName |
GUIVisualizationTextSettings | cwaEdgeName |
GUIVisualizationTextSettings | streetName |
bool | hideConnectors |
float | laneWidthExaggeration |
The lane exaggeration (upscale thickness) More... | |
float | 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 | ( | ) |
constructor
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 50 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(), SUMOReal, 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.
int GUIVisualizationSettings::getLaneEdgeMode | ( | ) | const |
Returns the number of the active lane (edge) coloring schme.
Definition at line 624 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 633 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 651 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 642 of file GUIVisualizationSettings.cpp.
References edgeColorer, GUIPropertySchemeStorage< T >::getScheme(), laneColorer, and UseMesoSim.
Referenced by GUIDialog_ViewSettings::onCmdColorChange(), and GUIDialog_ViewSettings::rebuildColorMatrices().
bool GUIVisualizationSettings::operator== | ( | const GUIVisualizationSettings & | vs2 | ) |
Comparison operator.
Definition at line 783 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, showRails, showSizeLegend, showSublanes, streetName, SUMOReal, 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 659 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, 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 251 of file GUIVisualizationSettings.h.
Referenced by GUISettingsHandler::myStartElement(), operator==(), and save().
GUIVisualizationTextSettings GUIVisualizationSettings::addName |
Definition at line 255 of file GUIVisualizationSettings.h.
Referenced by GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE2::drawGL(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE3::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSignal::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUICalibrator::drawGL(), GNERouteProbe::drawGL(), GNEChargingStation::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GUI_E2_ZS_Collector::MyWrapper::drawGL(), GNECalibrator::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GNERerouter::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
GUIVisualizationSizeSettings GUIVisualizationSettings::addSize |
Definition at line 253 of file GUIVisualizationSettings.h.
Referenced by GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE2::drawGL(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSignal::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUICalibrator::drawGL(), GNERouteProbe::drawGL(), GNEChargingStation::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GUI_E2_ZS_Collector::MyWrapper::drawGL(), GNECalibrator::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNERerouter::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
bool GUIVisualizationSettings::antialiase |
Information whether antialiase shall be enabled.
Definition at line 127 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 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 218 of file GUIVisualizationSettings.h.
Referenced by GUIVisualizationSettings(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), GUIDialog_ViewSettings::rebuildColorMatrices(), save(), and GUIContainer::setColor().
GUIVisualizationTextSettings GUIVisualizationSettings::containerName |
Definition at line 224 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 220 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 222 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 164 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 240 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 296 of file GUIVisualizationSettings.h.
Referenced by GUIVisualizationSizeSettings::getExaggeration(), and GUISUMOAbstractView::getObjectsInBoundary().
bool GUIVisualizationSettings::drawJunctionShape |
whether the shape of the junction should be drawn
Definition at line 238 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 188 of file GUIVisualizationSettings.h.
Referenced by GUIBaseVehicle::drawOnPos(), and operator==().
GUIVisualizationTextSettings GUIVisualizationSettings::drawLinkJunctionIndex |
Definition at line 234 of file GUIVisualizationSettings.h.
Referenced by GUILane::drawGL(), GUILane::drawLinkNo(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
GUIVisualizationTextSettings GUIVisualizationSettings::drawLinkTLIndex |
Definition at line 234 of file GUIVisualizationSettings.h.
Referenced by GUILane::drawGL(), 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 190 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(), GUIVisualizationSettings(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), save(), and GUIEdge::setColor().
GUIVisualizationTextSettings GUIVisualizationSettings::edgeName |
Definition at line 164 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 149 of file GUIVisualizationSettings.h.
Referenced by GUILane::drawGL(), getLaneEdgeScaleMode(), getLaneEdgeScaleScheme(), GUIVisualizationSettings(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), and save().
int GUIVisualizationSettings::editAdditionalMode |
the current NETEDIT additional mode (temporary)
Definition at line 290 of file GUIVisualizationSettings.h.
int GUIVisualizationSettings::editMode |
the current NETEDIT mode (temporary)
Definition at line 287 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 284 of file GUIVisualizationSettings.h.
Referenced by GUITrafficLightLogicWrapper::drawGL(), GUISUMOAbstractView::GUISUMOAbstractView(), GUIApplicationWindow::onCmdGaming(), GUIDanielPerspectiveChanger::onMouseMove(), and GUIViewTraffic::setColorScheme().
SUMOReal GUIVisualizationSettings::gridXSize |
Information about the grid spacings.
Definition at line 139 of file GUIVisualizationSettings.h.
Referenced by GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), GUISUMOAbstractView::paintGLGrid(), and save().
SUMOReal GUIVisualizationSettings::gridYSize |
Definition at line 139 of file GUIVisualizationSettings.h.
Referenced by GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), operator==(), GUISUMOAbstractView::paintGLGrid(), and save().
bool GUIVisualizationSettings::hideConnectors |
Definition at line 166 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 164 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 234 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 232 of file GUIVisualizationSettings.h.
Referenced by GNEEdge::drawGL(), GUIJunctionWrapper::drawGL(), GUIJunctionWrapper::getColorValue(), GNEJunction::getColorValue(), GUIVisualizationSettings(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), GUIDialog_ViewSettings::rebuildColorMatrices(), save(), and GNEJunction::setColor().
GUIVisualizationTextSettings GUIVisualizationSettings::junctionName |
Definition at line 234 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 242 of file GUIVisualizationSettings.h.
Referenced by 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(), GNELane::drawGL(), getLaneEdgeMode(), getLaneEdgeScheme(), GUIVisualizationSettings(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIApplicationWindow::onCmdEditChosen(), operator==(), save(), and GUILane::setColor().
float GUIVisualizationSettings::laneMinSize |
The minimum visual lane width for drawing.
Definition at line 170 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(), GUIVisualizationSettings(), 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 GUICompleteSchemeStorage::init(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
float GUIVisualizationSettings::laneWidthExaggeration |
The lane exaggeration (upscale thickness)
Definition at line 168 of file GUIVisualizationSettings.h.
Referenced by GNELane::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(), GUICompleteSchemeStorage::init(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), GUIDialog_ViewSettings::onCmdSaveSetting(), TraCIServerAPI_GUI::processGet(), save(), GUICompleteSchemeStorage::writeSettings(), and GUISUMOAbstractView::~GUISUMOAbstractView().
GUIColorer GUIVisualizationSettings::personColorer |
The person colorer.
Definition at line 204 of file GUIVisualizationSettings.h.
Referenced by GUIVisualizationSettings(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), GUIDialog_ViewSettings::rebuildColorMatrices(), save(), and GUIPerson::setColor().
GUIVisualizationTextSettings GUIVisualizationSettings::personName |
Definition at line 210 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 206 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 208 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 265 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 263 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 267 of file GUIVisualizationSettings.h.
Referenced by GUIPointOfInterest::drawGL(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
GUIVisualizationTextSettings GUIVisualizationSettings::polyName |
Definition at line 272 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 270 of file GUIVisualizationSettings.h.
Referenced by GUIPolygon::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
GUIVisualizationTextSettings GUIVisualizationSettings::polyType |
Definition at line 274 of file GUIVisualizationSettings.h.
Referenced by GUIPolygon::drawGL(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
SUMOReal GUIVisualizationSettings::scale |
information about a lane's width (temporary, used for a single view)
Definition at line 281 of file GUIVisualizationSettings.h.
Referenced by GUIViewTraffic::doPaintGL(), GNEViewNet::doPaintGL(), GUIVehicle::drawAction_drawLinkItems(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE2::drawGL(), GNEContainerStop::drawGL(), GNEBusStop::drawGL(), GNEDetectorE3::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GUIContainer::drawGL(), GNEVaporizer::drawGL(), GUIPerson::drawGL(), GNEVariableSpeedSignal::drawGL(), GUIPolygon::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUICalibrator::drawGL(), GUIPointOfInterest::drawGL(), GNERouteProbe::drawGL(), GNELane::drawGL(), GNEEdge::drawGL(), GUIJunctionWrapper::drawGL(), GNEChargingStation::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GUI_E2_ZS_Collector::MyWrapper::drawGL(), GNECalibrator::drawGL(), GUIContainerStop::drawGL(), GNEPoly::drawGL(), GUIBusStop::drawGL(), GUIEdge::drawGL(), GNEConnection::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GNERerouter::drawGL(), GUIBaseVehicle::drawOnPos(), GUIVisualizationSizeSettings::getExaggeration(), and GUISUMOAbstractView::makeSnapshot().
SUMOReal GUIVisualizationSettings::selectionScale |
the current selection scaling in NETEDIT (temporary)
Definition at line 293 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 186 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 192 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(), operator==(), and save().
bool GUIVisualizationSettings::showLane2Lane |
Information whether lane-to-lane arrows shall be drawn.
Definition at line 236 of file GUIVisualizationSettings.h.
Referenced by GUILane::drawGL(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
bool GUIVisualizationSettings::showLaneDirection |
Whether to show direction indicators for lanes.
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().
bool GUIVisualizationSettings::showLinkDecals |
Information whether link textures (arrows) shall be drawn.
Definition at line 160 of file GUIVisualizationSettings.h.
Referenced by GUILane::drawGL(), GUICompleteSchemeStorage::init(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), and save().
bool GUIVisualizationSettings::showRails |
Information whether rails shall be drawn.
Definition at line 162 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 278 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 174 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 164 of file GUIVisualizationSettings.h.
Referenced by GNEEdge::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 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 182 of file GUIVisualizationSettings.h.
Referenced by GUIVisualizationSettings(), GUISettingsHandler::myStartElement(), GUIDialog_ViewSettings::onCmdColorChange(), GUIDialog_ViewSettings::onCmdNameChange(), operator==(), GUIDialog_ViewSettings::rebuildColorMatrices(), save(), and GUIBaseVehicle::setColor().
GUIVisualizationTextSettings GUIVisualizationSettings::vehicleName |
Definition at line 196 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 184 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 194 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().