![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct for edges and the source/sink colors More...
#include <GNETAZFrame.h>
Public Member Functions | |
| TAZEdgeColor (CurrentTAZ *CurrentTAZParent, GNEEdge *_edge, GNETAZSourceSink *_source, GNETAZSourceSink *_sink) | |
| constructor | |
| void | updateColors () |
| update colors | |
| ~TAZEdgeColor () | |
| destructor (needed because RGBColors has to be deleted) | |
Data Fields | |
| GNEEdge * | edge |
| TAZ edge. | |
| GNETAZSourceSink * | sink |
| sink TAZ | |
| int | sinkColor |
| color by sink [0-9] | |
| GNETAZSourceSink * | source |
| source TAZ | |
| int | sourceColor |
| color by source [0-9] | |
| int | sourceMinusSinkColor |
| color by source - sink [0-9] | |
| int | sourcePlusSinkColor |
| color by source + sink [0-9] | |
Private Member Functions | |
| TAZEdgeColor () | |
| default color | |
Private Attributes | |
| CurrentTAZ * | myCurrentTAZParent |
| pointer to CurrentTAZParent | |
struct for edges and the source/sink colors
Definition at line 49 of file GNETAZFrame.h.
| GNETAZFrame::CurrentTAZ::TAZEdgeColor::TAZEdgeColor | ( | CurrentTAZ * | CurrentTAZParent, |
| GNEEdge * | _edge, | ||
| GNETAZSourceSink * | _source, | ||
| GNETAZSourceSink * | _sink ) |
constructor
Definition at line 76 of file GNETAZFrame.cpp.
References GNETAZFrame::CurrentTAZ::CurrentTAZ(), edge, GNETAZFrame::GNETAZFrame(), myCurrentTAZParent, sink, sinkColor, source, sourceColor, sourceMinusSinkColor, sourcePlusSinkColor, and TAZEdgeColor().
Referenced by TAZEdgeColor().
| GNETAZFrame::CurrentTAZ::TAZEdgeColor::~TAZEdgeColor | ( | ) |
destructor (needed because RGBColors has to be deleted)
Definition at line 88 of file GNETAZFrame.cpp.
|
private |
default color
Definition at line 136 of file GNETAZFrame.cpp.
References edge, myCurrentTAZParent, sink, sinkColor, source, sourceColor, sourceMinusSinkColor, and sourcePlusSinkColor.
| void GNETAZFrame::CurrentTAZ::TAZEdgeColor::updateColors | ( | ) |
update colors
Definition at line 92 of file GNETAZFrame.cpp.
References GNE_ATTR_TAZCOLOR, myCurrentTAZParent, GNEAttributeCarrier::parse(), sink, sinkColor, source, sourceColor, sourceMinusSinkColor, and sourcePlusSinkColor.
Referenced by GNETAZFrame::CurrentTAZ::refreshTAZEdges().
| GNEEdge* GNETAZFrame::CurrentTAZ::TAZEdgeColor::edge |
TAZ edge.
Definition at line 62 of file GNETAZFrame.h.
Referenced by GNETAZFrame::CurrentTAZ::addSourceSink(), GNETAZFrame::CurrentTAZ::isTAZEdge(), GNETAZFrame::TAZSelectionStatistics::selectEdge(), TAZEdgeColor(), and TAZEdgeColor().
|
private |
pointer to CurrentTAZParent
Definition at line 84 of file GNETAZFrame.h.
Referenced by TAZEdgeColor(), TAZEdgeColor(), and updateColors().
| GNETAZSourceSink* GNETAZFrame::CurrentTAZ::TAZEdgeColor::sink |
sink TAZ
Definition at line 68 of file GNETAZFrame.h.
Referenced by GNETAZFrame::CurrentTAZ::addSourceSink(), TAZEdgeColor(), TAZEdgeColor(), and updateColors().
| int GNETAZFrame::CurrentTAZ::TAZEdgeColor::sinkColor |
color by sink [0-9]
Definition at line 74 of file GNETAZFrame.h.
Referenced by TAZEdgeColor(), TAZEdgeColor(), and updateColors().
| GNETAZSourceSink* GNETAZFrame::CurrentTAZ::TAZEdgeColor::source |
source TAZ
Definition at line 65 of file GNETAZFrame.h.
Referenced by GNETAZFrame::CurrentTAZ::addSourceSink(), TAZEdgeColor(), TAZEdgeColor(), and updateColors().
| int GNETAZFrame::CurrentTAZ::TAZEdgeColor::sourceColor |
color by source [0-9]
Definition at line 71 of file GNETAZFrame.h.
Referenced by TAZEdgeColor(), TAZEdgeColor(), and updateColors().
| int GNETAZFrame::CurrentTAZ::TAZEdgeColor::sourceMinusSinkColor |
color by source - sink [0-9]
Definition at line 80 of file GNETAZFrame.h.
Referenced by TAZEdgeColor(), TAZEdgeColor(), and updateColors().
| int GNETAZFrame::CurrentTAZ::TAZEdgeColor::sourcePlusSinkColor |
color by source + sink [0-9]
Definition at line 77 of file GNETAZFrame.h.
Referenced by TAZEdgeColor(), TAZEdgeColor(), and updateColors().