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) | |
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 | |
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 | ||
) |
constructor
Definition at line 289 of file GUIVisualizationSettings.cpp.
bool GUIVisualizationRainbowSettings::operator!= | ( | const GUIVisualizationRainbowSettings & | other | ) |
inequality comparator
Definition at line 314 of file GUIVisualizationSettings.cpp.
bool GUIVisualizationRainbowSettings::operator== | ( | const GUIVisualizationRainbowSettings & | other | ) |
equality comparator
Definition at line 302 of file GUIVisualizationSettings.cpp.
References fixRange, hideMin, maxThreshold, minThreshold, neutralThreshold, and setNeutral.
void GUIVisualizationRainbowSettings::print | ( | OutputDevice & | dev, |
const std::string & | name | ||
) | const |
print values in output device
Definition at line 320 of file GUIVisualizationSettings.cpp.
References fixRange, hideMax, hideMin, maxThreshold, minThreshold, neutralThreshold, setNeutral, and OutputDevice::writeAttr().
Referenced by GUIVisualizationSettings::save().
std::vector<RGBColor> GUIVisualizationRainbowSettings::colors |
color steps for the rainbow;
Definition at line 118 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 116 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 108 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 104 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 110 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 106 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 114 of file GUIVisualizationSettings.h.
Referenced by GUISUMOAbstractView::buildMinMaxRainbow(), 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 112 of file GUIVisualizationSettings.h.
Referenced by GUISUMOAbstractView::buildMinMaxRainbow(), operator==(), print(), GUIDialog_ViewSettings::RainbowPanel::RainbowPanel(), and GUIDialog_ViewSettings::RainbowPanel::update().