103 const std::vector<TAZCurrent::TAZEdge> &
getTAZEdges()
const;
158 void showTAZCommonStatisticsModul();
161 void hideTAZCommonStatisticsModul();
165 void updateStatistics();
191 void showTAZSaveChangesModul();
194 void hideTAZSaveChangesModul();
197 void enableButtonsAndBeginUndoList();
200 bool isChangesPending()
const;
205 long onCmdSaveChanges(FXObject*, FXSelector,
void*);
208 long onCmdCancelChanges(FXObject*, FXSelector,
void*);
242 void showTAZChildDefaultParametersModul();
245 void hideTAZChildDefaultParametersModul();
248 void updateSelectEdgesButton();
251 double getDefaultTAZSourceWeight()
const;
254 double getDefaultTAZSinkWeight()
const;
257 bool getToggleMembership()
const;
262 long onCmdSetDefaultValues(FXObject* obj, FXSelector,
void*);
265 long onCmdUseSelectedEdges(FXObject* obj, FXSelector,
void*);
320 void showTAZSelectionStatisticsModul();
323 void hideTAZSelectionStatisticsModul();
329 bool unselectEdge(
GNEEdge* edge);
332 bool isEdgeSelected(
GNEEdge* edge);
335 void clearSelectedEdges();
338 const std::vector<TAZCurrent::TAZEdge> &getEdgeAndTAZChildsSelected()
const;
343 long onCmdSetNewValues(FXObject* obj, FXSelector,
void*);
346 long onCmdSelectEdges(FXObject* obj, FXSelector,
void*);
354 void updateStatistics();
395 void showTAZParametersModul();
398 void hideTAZParametersModul();
401 bool isCurrentParametersValid()
const;
404 bool isAddEdgesWithinEnabled()
const;
407 std::map<SumoXMLAttr, std::string> getAttributesAndValues()
const;
412 long onCmdSetColorAttribute(FXObject*, FXSelector,
void*);
415 long onCmdSetAttribute(FXObject*, FXSelector,
void*);
418 long onCmdHelp(FXObject*, FXSelector,
void*);
458 void showTAZEdgesGraphicModul();
461 void hideTAZEdgesGraphicModul();
464 void updateEdgeColors();
469 long onCmdChoosenBy(FXObject* obj, FXSelector,
void*);
double myMaxSourceMinusSinkWeight
maximum source minus sink value of current TAZ Edges
TAZSelectionStatistics * getTAZSelectionStatisticsModul() const
get TAZ Selection Statistics modul
TAZParameters * myTAZParameters
TAZ parameters.
GNEAdditional * TAZSource
source TAZ
GNETAZ * getTAZ() const
get current TAZ
TAZChildDefaultParameters * myTAZChildDefaultParameters
TAZ child defaults parameters.
void hide()
hide TAZ frame
FXTextField * myTextFieldTAZSinkWeight
textField for TAZ Sink weight
struct for edges and the source/sink colors
TAZEdgesGraphic()
FOX needs this.
FXHorizontalFrame * myTAZSinkFrame
Horizontal Frame for default TAZ Sink Weight.
FXButton * myCancelChangesButton
FXButton for cancel changes in TAZEdges
FXLabel * myStatisticsLabel
Statistics labels.
FXRadioButton * myColorBySourceMinusSinkWeight
add radio button "color source - Sink"
FXHorizontalFrame * myTAZSourceFrame
Horizontal Frame for default TAZ Source Weight.
TAZEdgesGraphic * myTAZEdgesGraphic
TAZ Edges Graphic.
TAZEdge(TAZCurrent *TAZCurrentParent, GNEEdge *_edge, GNEAdditional *_TAZSource, GNEAdditional *_TAZSink)
constructor
TAZSelectionStatistics()
FOX needs this.
std::vector< RGBColor > myScaleColors
vector wit the scale colors
TAZCurrent * getTAZCurrentModul() const
get Current TAZ modul
~GNETAZFrame()
Destructor.
void processEdgeSelection(const std::vector< GNEEdge *> &edges)
process selection of edges in view net
int sourceColor
color by source [0-9]
FXButton * myUseSelectedEdges
button for use selected edges
FXCheckButton * myToggleMembership
CheckButton to enable or disable Toggle edge Membership.
FXTextField * myTextFieldColor
textField to modify the default value of color parameter
double myDefaultTAZSinkWeight
default TAZSink weight
TAZChildDefaultParameters()
FOX needs this.
GNETAZFrame * myTAZFrameParent
pointer to GNETAZFrame parent
void addTAZChild(GNEAdditional *additional)
add TAZChild
const std::vector< GNEEdge * > & getSelectedEdges() const
get current selected edges
FXLabel * myStatisticsLabel
Statistics labels.
int sourceMinusSinkColor
color by source - sink [0-9]
bool addOrRemoveTAZMember(GNEEdge *edge)
add or remove a TAZSource and a TAZSink, or remove it if edge is in the list of TAZ Childs ...
double myMinSourceMinusSinkWeight
minimum source minus sink value of current TAZ Edges
std::vector< TAZEdge > myTAZEdges
vector with TAZ's edges
double myMinSourcePlusSinkWeight
minimum source plus sink value of current TAZ Edges
DrawingShape * getDrawingShapeModul() const
get drawing mode modul
double myMaxSourcePlusSinkWeight
maximum source plus sink value of current TAZ Edges
RGBColor myEdgeDefaultColor
default RGBColor for all edges
void dropTAZMembers()
drop all TAZSources and TAZ Sinks of current TAZ
A point in 2D or 3D with translation and scaling methods.
GNETAZFrame * myTAZFrameParent
pointer to TAZFrame parent
FXButton * myColorEditor
Button for open color editor.
GNETAZFrame * myTAZFrameParent
pointer to TAZ Frame
int sourcePlusSinkColor
color by source + sink [0-9]
TAZSelectionStatistics * myTAZSelectionStatistics
TAZ Edges selection parameters.
TAZCurrent * myTAZCurrentParent
pointer to TAZCurrentParent
TAZSaveChanges()
FOX needs this.
FXRadioButton * myColorBySourceWeight
add radio button "color by source"
const std::vector< GNEEdge * > & getNetEdges() const
get current net edges
GNETAZFrame * myTAZFrameParent
pointer to TAZFrame parent
FXHorizontalFrame * myDefaultTAZSourceFrame
Horizontal Frame for default TAZ Source Weight.
bool processClick(const Position &clickedPosition, const GNEViewNet::ObjectsUnderCursor &objectsUnderCursor)
process click over Viewnet
NeteditAttributes * myNeteditAttributes
Netedit parameter.
void refreshTAZEdges()
refresh TAZEdges
FXCheckButton * myAddEdgesWithinCheckButton
CheckButton to enable or disable use edges within TAZ after creation.
GNETAZFrame * myTAZFrameParent
pointer to TAZFrame parent
FXTextField * myTextFieldDefaultValueTAZSources
textField to set a default value for TAZ Sources
TAZSaveChanges * myTAZSaveChanges
save TAZ Edges
GNEAdditional * TAZSink
sink TAZ
bool isTAZEdge(GNEEdge *edge) const
check if given edge belongs to current TAZ
int sinkColor
color by sink [0-9]
FXButton * myHelpTAZAttribute
button for help
GNETAZFrame * myTAZFrameParent
pointer to TAZFrame parent
std::vector< TAZCurrent::TAZEdge > myEdgeAndTAZChildsSelected
vector with the current selected edges and their associated childs
const std::vector< TAZCurrent::TAZEdge > & getTAZEdges() const
get TAZEdges
A road/street connecting two junctions (netedit-version)
FXHorizontalFrame * myDefaultTAZSinkFrame
Horizontal Frame for default TAZ Sink Weight.
~TAZEdge()
destructor (needed because RGBColors has to be deleted)
void setTAZ(GNETAZ *editedTAZ)
set current TAZ
double myDefaultTAZSourceWeight
default TAZSource weight
GNETAZFrame(FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
Constructor.
RGBColor myEdgeSelectedColor
RGBColor color for selected egdes.
FXLabel * myInformationLabel
information label
An Element which don't belongs to GNENet but has influency in the simulation.
TAZCurrent * myTAZCurrent
current TAZ
FXTextField * myTextFieldTAZSourceWeight
textField for TAZ Source weight
TAZSaveChanges * getTAZSaveChangesModul() const
get TAZ Save Changes modul
FXRadioButton * myColorBySourcePlusSinkWeight
add radio button "color source + sink"
TAZCurrent(GNETAZFrame *TAZFrameParent)
constructor
TAZParameters()
FOX needs this.
GNETAZ * myEditedTAZ
current edited TAZ
FXButton * mySaveChangesButton
FXButton for save changes in TAZEdges
void updateColors()
update colors
FXRadioButton * myColorBySinkWeight
add radio button "color by sink"
std::vector< GNEEdge * > mySelectedEdges
vector with pointers to selected edges
DrawingShape * myDrawingShape
Drawing shape.
FXLabel * myTAZCurrentLabel
Label for current TAZ.
GNETAZFrame * myTAZFrameParent
pointer to TAZFrame parent
TAZCommonStatistics * myTAZCommonStatistics
TAZ Edges common parameters.
bool buildShape()
build a shaped element using the drawed shape return true if was sucesfully created ...
FXTextField * myTextFieldDefaultValueTAZSinks
textField to set a default value for TAZ Sinks
std::vector< GNEEdge * > myNetEdges
vector with pointers to edges (it's used to avoid slowdowns during Source/Sinks manipulations) ...