![]() |
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 More... | |
void | updateColors () |
update colors More... | |
~TAZEdgeColor () | |
destructor (needed because RGBColors has to be deleted) More... | |
Data Fields | |
GNEEdge * | edge |
TAZ edge. More... | |
GNETAZSourceSink * | sink |
@brif sink TAZ More... | |
int | sinkColor |
color by sink [0-9] More... | |
GNETAZSourceSink * | source |
source TAZ More... | |
int | sourceColor |
color by source [0-9] More... | |
int | sourceMinusSinkColor |
color by source - sink [0-9] More... | |
int | sourcePlusSinkColor |
color by source + sink [0-9] More... | |
Private Member Functions | |
TAZEdgeColor () | |
default color More... | |
Private Attributes | |
CurrentTAZ * | myCurrentTAZParent |
pointer to CurrentTAZParent More... | |
struct for edges and the source/sink colors
Definition at line 52 of file GNETAZFrame.h.
GNETAZFrame::CurrentTAZ::TAZEdgeColor::TAZEdgeColor | ( | CurrentTAZ * | CurrentTAZParent, |
GNEEdge * | _edge, | ||
GNETAZSourceSink * | _source, | ||
GNETAZSourceSink * | _sink | ||
) |
constructor
Definition at line 82 of file GNETAZFrame.cpp.
GNETAZFrame::CurrentTAZ::TAZEdgeColor::~TAZEdgeColor | ( | ) |
destructor (needed because RGBColors has to be deleted)
Definition at line 94 of file GNETAZFrame.cpp.
|
private |
default color
Definition at line 140 of file GNETAZFrame.cpp.
void GNETAZFrame::CurrentTAZ::TAZEdgeColor::updateColors | ( | ) |
update colors
Definition at line 98 of file GNETAZFrame.cpp.
References GNE_ATTR_TAZCOLOR.
Referenced by GNETAZFrame::CurrentTAZ::refreshTAZEdges().
GNEEdge* GNETAZFrame::CurrentTAZ::TAZEdgeColor::edge |
TAZ edge.
Definition at line 65 of file GNETAZFrame.h.
Referenced by GNETAZFrame::CurrentTAZ::addTAZChild(), GNETAZFrame::CurrentTAZ::isTAZEdge(), and GNETAZFrame::TAZSelectionStatistics::selectEdge().
|
private |
pointer to CurrentTAZParent
Definition at line 87 of file GNETAZFrame.h.
GNETAZSourceSink* GNETAZFrame::CurrentTAZ::TAZEdgeColor::sink |
@brif sink TAZ
Definition at line 71 of file GNETAZFrame.h.
Referenced by GNETAZFrame::CurrentTAZ::addTAZChild().
int GNETAZFrame::CurrentTAZ::TAZEdgeColor::sinkColor |
color by sink [0-9]
Definition at line 77 of file GNETAZFrame.h.
GNETAZSourceSink* GNETAZFrame::CurrentTAZ::TAZEdgeColor::source |
source TAZ
Definition at line 68 of file GNETAZFrame.h.
Referenced by GNETAZFrame::CurrentTAZ::addTAZChild().
int GNETAZFrame::CurrentTAZ::TAZEdgeColor::sourceColor |
color by source [0-9]
Definition at line 74 of file GNETAZFrame.h.
int GNETAZFrame::CurrentTAZ::TAZEdgeColor::sourceMinusSinkColor |
color by source - sink [0-9]
Definition at line 83 of file GNETAZFrame.h.
int GNETAZFrame::CurrentTAZ::TAZEdgeColor::sourcePlusSinkColor |
color by source + sink [0-9]
Definition at line 80 of file GNETAZFrame.h.