![]() |
SUMO - Simulation of Urban MObility
|
#include <GUIVisualizationSettings.h>
Public Member Functions | |
SUMOReal | getExaggeration (const GUIVisualizationSettings &s) const |
return the drawing size including exaggeration and constantSize values More... | |
GUIVisualizationSizeSettings (float _minSize, float _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 |
float | exaggeration |
The size exaggeration (upscale) More... | |
float | 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 | ) | const |
return the drawing size including exaggeration and constantSize values
Definition at line 885 of file GUIVisualizationSettings.cpp.
References GUIVisualizationSettings::drawForSelecting, MAX2(), GUIVisualizationSettings::scale, and SUMOReal.
Referenced by GUIContainer::drawAction_drawAsImage(), GUIPerson::drawAction_drawAsImage(), GUIVehicle::drawAction_drawRailCarriages(), GUIBaseVehicle::drawAction_drawVehicleAsImage(), GUIContainer::drawGL(), GUIPerson::drawGL(), GUIPolygon::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUICalibrator::drawGL(), GUIPointOfInterest::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUI_E2_ZS_Collector::MyWrapper::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GUIChargingStation::drawGL(), GUIEdge::drawGL(), GUIBaseVehicle::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GUIPerson::drawGLAdditional(), 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 SUMOReal, and OutputDevice::writeAttr().
Referenced by GUIVisualizationSettings::save().
bool GUIVisualizationSizeSettings::constantSize |
Definition at line 91 of file GUIVisualizationSettings.h.
Referenced by operator==(), GUISettingsHandler::parseSizeSettings(), GUIDialog_ViewSettings::SizePanel::SizePanel(), and GUIDialog_ViewSettings::SizePanel::update().
float GUIVisualizationSizeSettings::exaggeration |
The size exaggeration (upscale)
Definition at line 89 of file GUIVisualizationSettings.h.
Referenced by operator==(), GUISettingsHandler::parseSizeSettings(), GUIDialog_ViewSettings::SizePanel::SizePanel(), and GUIDialog_ViewSettings::SizePanel::update().
float GUIVisualizationSizeSettings::minSize |
The minimum size to draw this object.
Definition at line 87 of file GUIVisualizationSettings.h.
Referenced by GUIPolygon::drawGL(), GUIPointOfInterest::drawGL(), GUIEdge::drawGL(), GUILane::drawGL(), GUICompleteSchemeStorage::init(), operator==(), GUISettingsHandler::parseSizeSettings(), GUIDialog_ViewSettings::SizePanel::SizePanel(), and GUIDialog_ViewSettings::SizePanel::update().