![]() |
Eclipse SUMO - Simulation of Urban MObility
|
class for pack all variables related with GUIDottedGeometry color More...
#include <GUIDottedGeometry.h>
Public Member Functions | |
void | changeColor () |
change color More... | |
DottedGeometryColor (const GUIVisualizationSettings &settings) | |
constructor More... | |
const RGBColor | getColor (DottedContourType type) |
get inspected color (and change flag) More... | |
void | reset () |
rest Dotted Geometry Color More... | |
Private Member Functions | |
DottedGeometryColor & | operator= (const DottedGeometryColor &other)=delete |
Invalidated assignment operator. More... | |
Private Attributes | |
bool | myColorFlag |
flag to get color More... | |
const GUIVisualizationSettings & | mySettings |
pointer to GUIVisualizationSettings More... | |
class for pack all variables related with GUIDottedGeometry color
Definition at line 52 of file GUIDottedGeometry.h.
GUIDottedGeometry::DottedGeometryColor::DottedGeometryColor | ( | const GUIVisualizationSettings & | settings | ) |
constructor
Definition at line 39 of file GUIDottedGeometry.cpp.
void GUIDottedGeometry::DottedGeometryColor::changeColor | ( | ) |
change color
Definition at line 122 of file GUIDottedGeometry.cpp.
Referenced by GNEEdge::drawDottedContourEdge(), and GUIDottedGeometry::drawDottedContourShape().
const RGBColor GUIDottedGeometry::DottedGeometryColor::getColor | ( | DottedContourType | type | ) |
get inspected color (and change flag)
Definition at line 45 of file GUIDottedGeometry.cpp.
References RGBColor::BLACK, RGBColor::BLUE, RGBColor::changedBrightness(), GUIDottedGeometry::FROMTAZ, GUIDottedGeometry::FRONT, GUIDottedGeometry::FRONT_SMALL, RGBColor::GREEN, GUIDottedGeometry::GREEN, GUIDottedGeometry::INSPECT, GUIDottedGeometry::INSPECT_SMALL, RGBColor::MAGENTA, GUIDottedGeometry::MAGENTA, RGBColor::ORANGE, GUIDottedGeometry::ORANGE, GUIDottedGeometry::REMOVE, GUIDottedGeometry::SELECT, GUIDottedGeometry::TOTAZ, RGBColor::YELLOW, and GUIDottedGeometry::YELLOW.
Referenced by GUIDottedGeometry::drawDottedGeometry().
|
privatedelete |
Invalidated assignment operator.
void GUIDottedGeometry::DottedGeometryColor::reset | ( | ) |
rest Dotted Geometry Color
Definition at line 132 of file GUIDottedGeometry.cpp.
Referenced by GNEEdge::drawDottedContourEdge(), GUIDottedGeometry::drawDottedContourShape(), and GNEEdgeRelData::drawPartialGL().
|
private |
flag to get color
Definition at line 72 of file GUIDottedGeometry.h.
|
private |
pointer to GUIVisualizationSettings
Definition at line 69 of file GUIDottedGeometry.h.