SUMO - Simulation of Urban MObility
|
#include <GUIVisualizationSettings.h>
Public Member Functions | |
SUMOReal | getExaggeration (const GUIVisualizationSettings &s, SUMOReal factor=20) const |
return the drawing size including exaggeration and constantSize values More... | |
GUIVisualizationSizeSettings (SUMOReal _minSize, SUMOReal _exaggeration=1.0, bool _constantSize=false) | |
bool | operator!= (const GUIVisualizationSizeSettings &other) |
bool | operator== (const GUIVisualizationSizeSettings &other) |
void | print (OutputDevice &dev, const std::string &name) const |
Data Fields | |
bool | constantSize |
SUMOReal | exaggeration |
The size exaggeration (upscale) More... | |
SUMOReal | minSize |
The minimum size to draw this object. More... | |
Definition at line 82 of file GUIVisualizationSettings.h.
|
inline |
Definition at line 83 of file GUIVisualizationSettings.h.
SUMOReal GUIVisualizationSizeSettings::getExaggeration | ( | const GUIVisualizationSettings & | s, |
SUMOReal | factor = 20 |
||
) | const |
return the drawing size including exaggeration and constantSize values
Definition at line 972 of file GUIVisualizationSettings.cpp.
References constantSize, GUIVisualizationSettings::drawForSelecting, exaggeration, MAX2(), GUIVisualizationSettings::scale, and SUMOReal.
Referenced by GUIContainer::drawAction_drawAsImage(), GUIPerson::drawAction_drawAsImage(), GUIVehicle::drawAction_drawRailCarriages(), GUIBaseVehicle::drawAction_drawVehicleAsImage(), GNEDetectorExit::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE2::drawGL(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEJunction::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSignal::drawGL(), GUIPolygon::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUICalibrator::drawGL(), GUIPointOfInterest::drawGL(), GNERouteProbe::drawGL(), GUIJunctionWrapper::drawGL(), GNEChargingStation::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GNECalibrator::drawGL(), GUIBusStop::drawGL(), GUIEdge::drawGL(), GUI_E2_ZS_Collector::MyWrapper::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GNERerouter::drawGL(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawOnPos(), and GUIBaseVehicle::drawRoute().
|
inline |
Definition at line 98 of file GUIVisualizationSettings.h.
|
inline |
Definition at line 93 of file GUIVisualizationSettings.h.
References constantSize, exaggeration, and minSize.
|
inline |
Definition at line 102 of file GUIVisualizationSettings.h.
References OutputDevice::writeAttr().
Referenced by GUIVisualizationSettings::save().
bool GUIVisualizationSizeSettings::constantSize |
Definition at line 91 of file GUIVisualizationSettings.h.
Referenced by getExaggeration(), operator==(), GUISettingsHandler::parseSizeSettings(), GUIDialog_ViewSettings::SizePanel::SizePanel(), and GUIDialog_ViewSettings::SizePanel::update().
SUMOReal GUIVisualizationSizeSettings::exaggeration |
The size exaggeration (upscale)
Definition at line 89 of file GUIVisualizationSettings.h.
Referenced by getExaggeration(), operator==(), GUISettingsHandler::parseSizeSettings(), GUIDialog_ViewSettings::SizePanel::SizePanel(), and GUIDialog_ViewSettings::SizePanel::update().
SUMOReal GUIVisualizationSizeSettings::minSize |
The minimum size to draw this object.
Definition at line 87 of file GUIVisualizationSettings.h.
Referenced by GUIPolygon::drawGL(), GUIPointOfInterest::drawGL(), GUIJunctionWrapper::drawGL(), GUIEdge::drawGL(), GUILane::drawGL(), GUICompleteSchemeStorage::init(), operator==(), GUISettingsHandler::parseSizeSettings(), GUIDialog_ViewSettings::SizePanel::SizePanel(), and GUIDialog_ViewSettings::SizePanel::update().