![]() |
SUMO - Simulation of Urban MObility
|
#include <GNETAZFrame.h>


Public Member Functions | |
| void | hideTAZEdgesGraphicModul () |
| hide TAZ Edges Graphic Modul More... | |
| void | showTAZEdgesGraphicModul () |
| show TAZ Edges Graphic Modul More... | |
| TAZEdgesGraphic (GNETAZFrame *TAZFrameParent) | |
| FOX-declaration. More... | |
| void | updateEdgeColors () |
| update edge colors; More... | |
| ~TAZEdgesGraphic () | |
| destructor More... | |
FOX-callbacks | |
Called when the user select one kind of representation | |
| long | onCmdChoosenBy (FXObject *obj, FXSelector, void *) |
Protected Member Functions | |
| TAZEdgesGraphic () | |
| FOX needs this. More... | |
Private Attributes | |
| FXRadioButton * | myColorBySinkWeight |
| add radio button "color by sink" More... | |
| FXRadioButton * | myColorBySourceMinusSinkWeight |
| add radio button "color source - Sink" More... | |
| FXRadioButton * | myColorBySourcePlusSinkWeight |
| add radio button "color source + sink" More... | |
| FXRadioButton * | myColorBySourceWeight |
| add radio button "color by source" More... | |
| RGBColor | myEdgeDefaultColor |
| default RGBColor for all edges More... | |
| RGBColor | myEdgeSelectedColor |
| RGBColor color for selected egdes. More... | |
| std::vector< RGBColor > | myScaleColors |
| vector wit the scale colors More... | |
| GNETAZFrame * | myTAZFrameParent |
| pointer to TAZFrame parent More... | |
Definition at line 446 of file GNETAZFrame.h.
| GNETAZFrame::TAZEdgesGraphic::TAZEdgesGraphic | ( | GNETAZFrame * | TAZFrameParent | ) |
FOX-declaration.
constructor
Definition at line 1186 of file GNETAZFrame.cpp.
References MFXUtils::getFXColor(), GUIDesignAuxiliarHorizontalFrame, GUIDesignLabelCenter, GUIDesignLabelCenterThick, GUIDesignLabelLeft, GUIDesignRadioButton, MID_CHOOSEN_OPERATION, myColorBySinkWeight, myColorBySourceMinusSinkWeight, myColorBySourcePlusSinkWeight, myColorBySourceWeight, myEdgeDefaultColor, myEdgeSelectedColor, myScaleColors, and RGBColor::WHITE.
| GNETAZFrame::TAZEdgesGraphic::~TAZEdgesGraphic | ( | ) |
destructor
Definition at line 1230 of file GNETAZFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 474 of file GNETAZFrame.h.
| void GNETAZFrame::TAZEdgesGraphic::hideTAZEdgesGraphicModul | ( | ) |
hide TAZ Edges Graphic Modul
Definition at line 1242 of file GNETAZFrame.cpp.
References GNETAZFrame::TAZCurrent::getNetEdges(), GNETAZFrame::hide(), GNETAZFrame::myTAZCurrent, and myTAZFrameParent.
Referenced by GNETAZFrame::TAZCurrent::setTAZ().
| long GNETAZFrame::TAZEdgesGraphic::onCmdChoosenBy | ( | FXObject * | obj, |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 1291 of file GNETAZFrame.cpp.
References myColorBySinkWeight, myColorBySourceMinusSinkWeight, myColorBySourcePlusSinkWeight, myColorBySourceWeight, and updateEdgeColors().
| void GNETAZFrame::TAZEdgesGraphic::showTAZEdgesGraphicModul | ( | ) |
show TAZ Edges Graphic Modul
Definition at line 1234 of file GNETAZFrame.cpp.
References GNEFrame::show(), and updateEdgeColors().
Referenced by GNETAZFrame::TAZCurrent::setTAZ().
| void GNETAZFrame::TAZEdgesGraphic::updateEdgeColors | ( | ) |
update edge colors;
Definition at line 1254 of file GNETAZFrame.cpp.
References GNETAZFrame::TAZSelectionStatistics::getEdgeAndTAZChildsSelected(), GNETAZFrame::TAZCurrent::getNetEdges(), GNETAZFrame::TAZCurrent::getTAZEdges(), myColorBySinkWeight, myColorBySourcePlusSinkWeight, myColorBySourceWeight, myEdgeDefaultColor, myEdgeSelectedColor, myScaleColors, GNETAZFrame::myTAZCurrent, myTAZFrameParent, GNETAZFrame::myTAZSelectionStatistics, and GNEFrame::myViewNet.
Referenced by GNETAZFrame::TAZSelectionStatistics::clearSelectedEdges(), onCmdChoosenBy(), GNETAZFrame::TAZCurrent::refreshTAZEdges(), GNETAZFrame::TAZSelectionStatistics::selectEdge(), showTAZEdgesGraphicModul(), and GNETAZFrame::TAZSelectionStatistics::unselectEdge().
|
private |
add radio button "color by sink"
Definition at line 484 of file GNETAZFrame.h.
Referenced by onCmdChoosenBy(), TAZEdgesGraphic(), and updateEdgeColors().
|
private |
add radio button "color source - Sink"
Definition at line 490 of file GNETAZFrame.h.
Referenced by onCmdChoosenBy(), and TAZEdgesGraphic().
|
private |
add radio button "color source + sink"
Definition at line 487 of file GNETAZFrame.h.
Referenced by onCmdChoosenBy(), TAZEdgesGraphic(), and updateEdgeColors().
|
private |
add radio button "color by source"
Definition at line 481 of file GNETAZFrame.h.
Referenced by onCmdChoosenBy(), TAZEdgesGraphic(), and updateEdgeColors().
|
private |
default RGBColor for all edges
Definition at line 496 of file GNETAZFrame.h.
Referenced by TAZEdgesGraphic(), and updateEdgeColors().
|
private |
RGBColor color for selected egdes.
Definition at line 499 of file GNETAZFrame.h.
Referenced by TAZEdgesGraphic(), and updateEdgeColors().
|
private |
vector wit the scale colors
Definition at line 493 of file GNETAZFrame.h.
Referenced by TAZEdgesGraphic(), and updateEdgeColors().
|
private |
pointer to TAZFrame parent
Definition at line 478 of file GNETAZFrame.h.
Referenced by hideTAZEdgesGraphicModul(), and updateEdgeColors().