![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct for edges and the source/sink colors More...
#include <GNETAZFrame.h>
Public Member Functions | |
TAZEdge (TAZCurrent *TAZCurrentParent, GNEEdge *_edge, GNETAZSourceSink *_TAZSource, GNETAZSourceSink *_TAZSink) | |
constructor More... | |
void | updateColors () |
update colors More... | |
~TAZEdge () | |
destructor (needed because RGBColors has to be deleted) More... | |
Data Fields | |
GNEEdge * | edge |
TAZ edge. More... | |
int | sinkColor |
color by sink [0-9] 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... | |
GNETAZSourceSink * | TAZSink |
sink TAZ More... | |
GNETAZSourceSink * | TAZSource |
source TAZ More... | |
Private Attributes | |
TAZCurrent * | myTAZCurrentParent |
pointer to TAZCurrentParent More... | |
struct for edges and the source/sink colors
Definition at line 50 of file GNETAZFrame.h.
GNETAZFrame::TAZCurrent::TAZEdge::TAZEdge | ( | TAZCurrent * | TAZCurrentParent, |
GNEEdge * | _edge, | ||
GNETAZSourceSink * | _TAZSource, | ||
GNETAZSourceSink * | _TAZSink | ||
) |
constructor
Definition at line 83 of file GNETAZFrame.cpp.
GNETAZFrame::TAZCurrent::TAZEdge::~TAZEdge | ( | ) |
destructor (needed because RGBColors has to be deleted)
Definition at line 95 of file GNETAZFrame.cpp.
void GNETAZFrame::TAZCurrent::TAZEdge::updateColors | ( | ) |
update colors
Definition at line 99 of file GNETAZFrame.cpp.
References GNETAZSourceSink::getAttribute(), GNETAZSourceSink::getDepartWeight(), GNE_ATTR_TAZCOLOR, GNETAZFrame::TAZCurrent::myMaxSourceMinusSinkWeight, GNETAZFrame::TAZCurrent::myMaxSourcePlusSinkWeight, GNETAZFrame::TAZCurrent::myMinSourceMinusSinkWeight, GNETAZFrame::TAZCurrent::myMinSourcePlusSinkWeight, myTAZCurrentParent, sinkColor, sourceColor, sourceMinusSinkColor, sourcePlusSinkColor, TAZSink, and TAZSource.
GNEEdge* GNETAZFrame::TAZCurrent::TAZEdge::edge |
TAZ edge.
Definition at line 61 of file GNETAZFrame.h.
Referenced by GNETAZFrame::TAZSelectionStatistics::selectEdge().
|
private |
pointer to TAZCurrentParent
Definition at line 83 of file GNETAZFrame.h.
Referenced by updateColors().
int GNETAZFrame::TAZCurrent::TAZEdge::sinkColor |
int GNETAZFrame::TAZCurrent::TAZEdge::sourceColor |
int GNETAZFrame::TAZCurrent::TAZEdge::sourceMinusSinkColor |
color by source - sink [0-9]
Definition at line 79 of file GNETAZFrame.h.
Referenced by updateColors().
int GNETAZFrame::TAZCurrent::TAZEdge::sourcePlusSinkColor |
color by source + sink [0-9]
Definition at line 76 of file GNETAZFrame.h.
Referenced by updateColors().
GNETAZSourceSink* GNETAZFrame::TAZCurrent::TAZEdge::TAZSink |
GNETAZSourceSink* GNETAZFrame::TAZCurrent::TAZEdge::TAZSource |