![]() |
SUMO - Simulation of Urban MObility
|
#include <GUIVisualizationSettings.h>
Public Member Functions | |
double | getExaggeration (const GUIVisualizationSettings &s, double factor=20) const |
return the drawing size including exaggeration and constantSize values More... | |
GUIVisualizationSizeSettings (double _minSize, double _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 |
double | exaggeration |
The size exaggeration (upscale) More... | |
double | minSize |
The minimum size to draw this object. More... | |
Definition at line 81 of file GUIVisualizationSettings.h.
|
inline |
Definition at line 82 of file GUIVisualizationSettings.h.
double GUIVisualizationSizeSettings::getExaggeration | ( | const GUIVisualizationSettings & | s, |
double | factor = 20 |
||
) | const |
return the drawing size including exaggeration and constantSize values
Definition at line 1160 of file GUIVisualizationSettings.cpp.
References GUIVisualizationSettings::drawForSelecting, MAX2(), and GUIVisualizationSettings::scale.
Referenced by GUIContainer::drawAction_drawAsImage(), GUIPerson::drawAction_drawAsImage(), GUIVehicle::drawAction_drawRailCarriages(), GUIBaseVehicle::drawAction_drawVehicleAsImage(), GNEDetectorE1::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorEntry::drawGL(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE2::drawGL(), GNEVaporizer::drawGL(), GNEJunction::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GUIPolygon::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIContainer::drawGL(), GUICalibrator::drawGL(), GNERouteProbe::drawGL(), GUIPerson::drawGL(), GNEChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUIPointOfInterest::drawGL(), GNEVariableSpeedSign::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GNERerouter::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GNEPoly::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GNECalibrator::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawOnPos(), GUIVehicle::drawRouteHelper(), GUIMEVehicle::drawRouteHelper(), and GUISUMOAbstractView::paintGLGrid().
|
inline |
Definition at line 97 of file GUIVisualizationSettings.h.
|
inline |
Definition at line 92 of file GUIVisualizationSettings.h.
References constantSize, exaggeration, and minSize.
|
inline |
Definition at line 101 of file GUIVisualizationSettings.h.
References OutputDevice::writeAttr().
Referenced by GUIVisualizationSettings::save().
bool GUIVisualizationSizeSettings::constantSize |
Definition at line 90 of file GUIVisualizationSettings.h.
Referenced by operator==(), GUISettingsHandler::parseSizeSettings(), GUIDialog_ViewSettings::SizePanel::SizePanel(), and GUIDialog_ViewSettings::SizePanel::update().
double GUIVisualizationSizeSettings::exaggeration |
The size exaggeration (upscale)
Definition at line 88 of file GUIVisualizationSettings.h.
Referenced by GNEEdge::commitShapeChange(), operator==(), GUISettingsHandler::parseSizeSettings(), GUIDialog_ViewSettings::SizePanel::SizePanel(), and GUIDialog_ViewSettings::SizePanel::update().
double GUIVisualizationSizeSettings::minSize |
The minimum size to draw this object.
Definition at line 86 of file GUIVisualizationSettings.h.
Referenced by GUIPolygon::drawGL(), GUIJunctionWrapper::drawGL(), GUIPointOfInterest::drawGL(), GUIEdge::drawGL(), GUILane::drawGL(), GUICompleteSchemeStorage::init(), operator==(), GUISettingsHandler::parseSizeSettings(), GUIDialog_ViewSettings::SizePanel::SizePanel(), and GUIDialog_ViewSettings::SizePanel::update().