![]() |
SUMO - Simulation of Urban MObility
|
#include <GUIVisualizationSettings.h>
Public Member Functions | |
double | getExaggeration (const GUIVisualizationSettings &s, const GUIGlObject *o, 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 _constantSizeSelected=false) | |
bool | operator!= (const GUIVisualizationSizeSettings &other) |
bool | operator== (const GUIVisualizationSizeSettings &other) |
void | print (OutputDevice &dev, const std::string &name) const |
Data Fields | |
bool | constantSize |
bool | constantSizeSelected |
double | exaggeration |
The size exaggeration (upscale) More... | |
double | minSize |
The minimum size to draw this object. More... | |
Definition at line 86 of file GUIVisualizationSettings.h.
|
inline |
Definition at line 87 of file GUIVisualizationSettings.h.
double GUIVisualizationSizeSettings::getExaggeration | ( | const GUIVisualizationSettings & | s, |
const GUIGlObject * | o, | ||
double | factor = 20 |
||
) | const |
return the drawing size including exaggeration and constantSize values
Definition at line 1290 of file GUIVisualizationSettings.cpp.
References GUIVisualizationSettings::drawForSelecting, gSelected, GUISelectedStorage::isSelected(), MAX2(), and GUIVisualizationSettings::scale.
Referenced by GUIPolygon::checkDraw(), GUIPointOfInterest::checkDraw(), GUIContainer::drawAction_drawAsImage(), GUIPerson::drawAction_drawAsImage(), GUIVehicle::drawAction_drawRailCarriages(), GUIBaseVehicle::drawAction_drawVehicleAsImage(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEVariableSpeedSign::drawGL(), GNEJunction::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE1::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1Instant::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUICalibrator::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GNECalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GNETAZ::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEDetectorE2::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GNEPoly::drawGL(), GNEPOI::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GUIPerson::drawGLAdditional(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), GUIBaseVehicle::drawOnPos(), GUIVehicle::drawRouteHelper(), GUIMEVehicle::drawRouteHelper(), GNEJunction::mouseOverObject(), and GUISUMOAbstractView::paintGLGrid().
|
inline |
Definition at line 105 of file GUIVisualizationSettings.h.
|
inline |
Definition at line 99 of file GUIVisualizationSettings.h.
References constantSize, constantSizeSelected, exaggeration, and minSize.
|
inline |
Definition at line 109 of file GUIVisualizationSettings.h.
References OutputDevice::writeAttr().
Referenced by GUIVisualizationSettings::save().
bool GUIVisualizationSizeSettings::constantSize |
Definition at line 95 of file GUIVisualizationSettings.h.
Referenced by GUILane::drawGL(), operator==(), GUISettingsHandler::parseSizeSettings(), GUIDialog_ViewSettings::SizePanel::SizePanel(), and GUIDialog_ViewSettings::SizePanel::update().
bool GUIVisualizationSizeSettings::constantSizeSelected |
Definition at line 97 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 93 of file GUIVisualizationSettings.h.
Referenced by GNEEdge::commitShapeChange(), GUILane::drawGL(), 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 91 of file GUIVisualizationSettings.h.
Referenced by GUIPolygon::checkDraw(), GUIPointOfInterest::checkDraw(), GUIJunctionWrapper::drawGL(), GNETAZ::drawGL(), GUIEdge::drawGL(), GUILane::drawGL(), GUICompleteSchemeStorage::init(), operator==(), GUISettingsHandler::parseSizeSettings(), GUIDialog_ViewSettings::SizePanel::SizePanel(), and GUIDialog_ViewSettings::SizePanel::update().