![]() |
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, GNEAdditional *_TAZSource, GNEAdditional *_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... | |
GNEAdditional * | TAZSink |
sink TAZ More... | |
GNEAdditional * | TAZSource |
source TAZ More... | |
Private Attributes | |
TAZCurrent * | myTAZCurrentParent |
pointer to TAZCurrentParent More... | |
struct for edges and the source/sink colors
Definition at line 45 of file GNETAZFrame.h.
GNETAZFrame::TAZCurrent::TAZEdge::TAZEdge | ( | TAZCurrent * | TAZCurrentParent, |
GNEEdge * | _edge, | ||
GNEAdditional * | _TAZSource, | ||
GNEAdditional * | _TAZSink | ||
) |
constructor
Definition at line 84 of file GNETAZFrame.cpp.
GNETAZFrame::TAZCurrent::TAZEdge::~TAZEdge | ( | ) |
destructor (needed because RGBColors has to be deleted)
Definition at line 96 of file GNETAZFrame.cpp.
void GNETAZFrame::TAZCurrent::TAZEdge::updateColors | ( | ) |
update colors
Definition at line 100 of file GNETAZFrame.cpp.
References GNEAdditional::getAttribute(), GNE_ATTR_TAZCOLOR, GNETAZFrame::TAZCurrent::myMaxSourceMinusSinkWeight, GNETAZFrame::TAZCurrent::myMaxSourcePlusSinkWeight, GNETAZFrame::TAZCurrent::myMinSourceMinusSinkWeight, GNETAZFrame::TAZCurrent::myMinSourcePlusSinkWeight, myTAZCurrentParent, sinkColor, sourceColor, sourceMinusSinkColor, sourcePlusSinkColor, SUMO_ATTR_WEIGHT, TAZSink, and TAZSource.
GNEEdge* GNETAZFrame::TAZCurrent::TAZEdge::edge |
TAZ edge.
Definition at line 56 of file GNETAZFrame.h.
Referenced by GNETAZFrame::TAZSelectionStatistics::selectEdge().
|
private |
pointer to TAZCurrentParent
Definition at line 78 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 74 of file GNETAZFrame.h.
Referenced by updateColors().
int GNETAZFrame::TAZCurrent::TAZEdge::sourcePlusSinkColor |
color by source + sink [0-9]
Definition at line 71 of file GNETAZFrame.h.
Referenced by updateColors().
GNEAdditional* GNETAZFrame::TAZCurrent::TAZEdge::TAZSink |
GNEAdditional* GNETAZFrame::TAZCurrent::TAZEdge::TAZSource |