![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GUIVisualizationSettings.h>
Public Member Functions | |
| GUIVisualizationRainbowSettings (bool _hideMin, double _minThreshold, bool _hideMax, double _maxThreshold, bool _setNeutral, double _neutralThreshold, bool _fixRange, int _rainboScheme) | |
| constructor | |
| bool | operator!= (const GUIVisualizationRainbowSettings &other) |
| inequality comparator | |
| bool | operator== (const GUIVisualizationRainbowSettings &other) |
| equality comparator | |
| void | print (OutputDevice &dev, const std::string &name) const |
| print values in output device | |
Data Fields | |
| std::vector< RGBColor > | colors |
| color steps for the rainbow; | |
| bool | fixRange |
| whether the color scale should be fixed to the given min/max values | |
| bool | hideMax |
| whether data above threshold should not be colored | |
| bool | hideMin |
| whether data below threshold should not be colored | |
| double | maxThreshold |
| threshold above which value should not be colored | |
| double | minThreshold |
| threshold below which value should not be colored | |
| double | neutralThreshold |
| neutral point of scale | |
| int | rainbowScheme |
| index in the list of color schemes | |
| bool | setNeutral |
| whether the scale should be centered at a specific value | |
Definition at line 89 of file GUIVisualizationSettings.h.
| GUIVisualizationRainbowSettings::GUIVisualizationRainbowSettings | ( | bool | _hideMin, |
| double | _minThreshold, | ||
| bool | _hideMax, | ||
| double | _maxThreshold, | ||
| bool | _setNeutral, | ||
| double | _neutralThreshold, | ||
| bool | _fixRange, | ||
| int | _rainboScheme | ||
| ) |
constructor
Definition at line 290 of file GUIVisualizationSettings.cpp.
| bool GUIVisualizationRainbowSettings::operator!= | ( | const GUIVisualizationRainbowSettings & | other | ) |
inequality comparator
Definition at line 318 of file GUIVisualizationSettings.cpp.
| bool GUIVisualizationRainbowSettings::operator== | ( | const GUIVisualizationRainbowSettings & | other | ) |
equality comparator
Definition at line 305 of file GUIVisualizationSettings.cpp.
References fixRange, hideMin, maxThreshold, minThreshold, neutralThreshold, rainbowScheme, and setNeutral.
| void GUIVisualizationRainbowSettings::print | ( | OutputDevice & | dev, |
| const std::string & | name | ||
| ) | const |
print values in output device
Definition at line 324 of file GUIVisualizationSettings.cpp.
References fixRange, hideMax, hideMin, maxThreshold, minThreshold, neutralThreshold, rainbowScheme, setNeutral, and OutputDevice::writeAttr().
Referenced by GUIVisualizationSettings::save().
| std::vector<RGBColor> GUIVisualizationRainbowSettings::colors |
color steps for the rainbow;
Definition at line 121 of file GUIVisualizationSettings.h.
Referenced by GUISUMOAbstractView::buildMinMaxRainbow(), and GUIDialog_ViewSettings::RainbowPanel::getSettings().
| bool GUIVisualizationRainbowSettings::fixRange |
whether the color scale should be fixed to the given min/max values
Definition at line 117 of file GUIVisualizationSettings.h.
Referenced by GUISUMOAbstractView::buildMinMaxRainbow(), operator==(), GUISettingsHandler::parseRainbowSettings(), print(), GUIDialog_ViewSettings::RainbowPanel::RainbowPanel(), and GUIDialog_ViewSettings::RainbowPanel::update().
| bool GUIVisualizationRainbowSettings::hideMax |
whether data above threshold should not be colored
Definition at line 109 of file GUIVisualizationSettings.h.
Referenced by GUISUMOAbstractView::buildMinMaxRainbow(), GUIEdge::drawGL(), GUISettingsHandler::parseRainbowSettings(), print(), GUIDialog_ViewSettings::RainbowPanel::RainbowPanel(), and GUIDialog_ViewSettings::RainbowPanel::update().
| bool GUIVisualizationRainbowSettings::hideMin |
whether data below threshold should not be colored
Definition at line 105 of file GUIVisualizationSettings.h.
Referenced by GUISUMOAbstractView::buildMinMaxRainbow(), GUIEdge::drawGL(), operator==(), GUISettingsHandler::parseRainbowSettings(), print(), GUIDialog_ViewSettings::RainbowPanel::RainbowPanel(), and GUIDialog_ViewSettings::RainbowPanel::update().
| double GUIVisualizationRainbowSettings::maxThreshold |
threshold above which value should not be colored
Definition at line 111 of file GUIVisualizationSettings.h.
Referenced by GUISUMOAbstractView::buildMinMaxRainbow(), GUIEdge::drawGL(), operator==(), GUISettingsHandler::parseRainbowSettings(), print(), GUIDialog_ViewSettings::RainbowPanel::RainbowPanel(), and GUIDialog_ViewSettings::RainbowPanel::update().
| double GUIVisualizationRainbowSettings::minThreshold |
threshold below which value should not be colored
Definition at line 107 of file GUIVisualizationSettings.h.
Referenced by GUISUMOAbstractView::buildMinMaxRainbow(), GUIEdge::drawGL(), operator==(), GUISettingsHandler::parseRainbowSettings(), print(), GUIDialog_ViewSettings::RainbowPanel::RainbowPanel(), and GUIDialog_ViewSettings::RainbowPanel::update().
| double GUIVisualizationRainbowSettings::neutralThreshold |
neutral point of scale
Definition at line 115 of file GUIVisualizationSettings.h.
Referenced by GUISUMOAbstractView::buildMinMaxRainbow(), operator==(), GUISettingsHandler::parseRainbowSettings(), print(), GUIDialog_ViewSettings::RainbowPanel::RainbowPanel(), and GUIDialog_ViewSettings::RainbowPanel::update().
| int GUIVisualizationRainbowSettings::rainbowScheme |
index in the list of color schemes
Definition at line 119 of file GUIVisualizationSettings.h.
Referenced by operator==(), GUISettingsHandler::parseRainbowSettings(), print(), GUIDialog_ViewSettings::RainbowPanel::RainbowPanel(), and GUIDialog_ViewSettings::RainbowPanel::update().
| bool GUIVisualizationRainbowSettings::setNeutral |
whether the scale should be centered at a specific value
Definition at line 113 of file GUIVisualizationSettings.h.
Referenced by GUISUMOAbstractView::buildMinMaxRainbow(), operator==(), print(), GUIDialog_ViewSettings::RainbowPanel::RainbowPanel(), and GUIDialog_ViewSettings::RainbowPanel::update().