 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
108 const std::vector<TAZCurrent::TAZEdge>&
getTAZEdges()
const;
423 long onCmdHelp(FXObject*, FXSelector,
void*);
FXTextField * myTextFieldDefaultValueTAZSinks
textField to set a default value for TAZ Sinks
long onCmdSetNewValues(FXObject *obj, FXSelector, void *)
int sourceColor
color by source [0-9]
TAZCurrent * getTAZCurrentModul() const
get Current TAZ modul
~TAZSaveChanges()
destructor
long onCmdCancelChanges(FXObject *, FXSelector, void *)
Called when the user press the button cancel changes.
void showTAZEdgesGraphicModul()
show TAZ Edges Graphic Modul
GNEFrameModuls::DrawingShape * myDrawingShape
Drawing shape.
FXCheckButton * myAddEdgesWithinCheckButton
CheckButton to enable or disable use edges within TAZ after creation.
GNETAZFrame * myTAZFrameParent
pointer to GNETAZFrame parent
FXTextField * myTextFieldTAZSourceWeight
textField for TAZ Source weight
GNEFrameAttributesModuls::NeteditAttributes * myNeteditAttributes
Netedit parameter.
const std::vector< GNEEdge * > & getNetEdges() const
get current net edges
void refreshTAZEdges()
refresh TAZEdges
GNETAZFrame * myTAZFrameParent
pointer to TAZFrame parent
void hideTAZEdgesGraphicModul()
hide TAZ Edges Graphic Modul
TAZSaveChanges * myTAZSaveChanges
save TAZ Edges
FXButton * myHelpTAZAttribute
button for help
FXLabel * myTAZCurrentLabel
Label for current TAZ.
void updateEdgeColors()
update edge colors;
bool getToggleMembership() const
check if toggle membership is enabled
bool isTAZEdge(GNEEdge *edge) const
check if given edge belongs to current TAZ
void hideTAZParametersModul()
hide TAZ parameters
FXTextField * myTextFieldTAZSinkWeight
textField for TAZ Sink weight
bool processClick(const Position &clickedPosition, const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor)
process click over Viewnet
const std::vector< TAZCurrent::TAZEdge > & getEdgeAndTAZChildrenSelected() const
get map with edge and TAZChildren
void hideTAZSaveChangesModul()
hide TAZ Save Changes Modul
void clearSelectedEdges()
clear current TAZ children
FXButton * myCancelChangesButton
@field FXButton for cancel changes in TAZEdges
void setTAZ(GNETAZ *editedTAZ)
set current TAZ
GNETAZFrame(FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
Constructor.
std::vector< TAZCurrent::TAZEdge > myEdgeAndTAZChildrenSelected
vector with the current selected edges and their associated children
void showTAZChildDefaultParametersModul()
show TAZ child default parameters Modul
TAZCurrent * myTAZCurrent
current TAZ
TAZSelectionStatistics()
FOX needs this.
GNETAZ * getTAZ() const
get current TAZ
void showTAZParametersModul()
show TAZ parameters and set the default value of parameters
TAZSaveChanges * getTAZSaveChangesModul() const
get TAZ Save Changes modul
GNETAZSourceSink * TAZSink
@brif sink TAZ
TAZCurrent(GNETAZFrame *TAZFrameParent)
constructor
FXCheckButton * myToggleMembership
CheckButton to enable or disable Toggle edge Membership.
std::vector< TAZEdge > myTAZEdges
vector with TAZ's edges
long onCmdUseSelectedEdges(FXObject *obj, FXSelector, void *)
Called when the user press use selected edges.
double myDefaultTAZSinkWeight
default TAZSink weight
TAZChildDefaultParameters * myTAZChildDefaultParameters
TAZ child defaults parameters.
GNETAZ * myEditedTAZ
current edited TAZ
TAZParameters()
FOX needs this.
FXRadioButton * myColorBySourcePlusSinkWeight
add radio button "color source + sink"
FXRadioButton * myColorBySourceMinusSinkWeight
add radio button "color source - Sink"
FXHorizontalFrame * myTAZSinkFrame
Horizontal Frame for default TAZ Sink Weight.
TAZSelectionStatistics * myTAZSelectionStatistics
TAZ Edges selection parameters.
void enableButtonsAndBeginUndoList()
enable buttons save and cancel changes (And begin Undo List)
void showTAZCommonStatisticsModul()
show TAZ Common Statistics Modul
FXLabel * myStatisticsLabel
Statistics labels.
FXHorizontalFrame * myTAZSourceFrame
Horizontal Frame for default TAZ Source Weight.
~TAZSelectionStatistics()
destructor
GNETAZFrame * myTAZFrameParent
pointer to TAZ Frame
A road/street connecting two junctions (netedit-version)
FXButton * myUseSelectedEdges
button for use selected edges
FXRadioButton * myColorBySourceWeight
add radio button "color by source"
long onCmdSetColorAttribute(FXObject *, FXSelector, void *)
FXTextField * myTextFieldColor
textField to modify the default value of color parameter
long onCmdChoosenBy(FXObject *obj, FXSelector, void *)
TAZCommonStatistics(GNETAZFrame *TAZFrameParent)
constructor
long onCmdSetDefaultValues(FXObject *obj, FXSelector, void *)
bool isCurrentParametersValid() const
check if current parameters are valid
FXButton * myColorEditor
Button for open color editor.
double myMaxSourceMinusSinkWeight
maximum source minus sink value of current TAZ Edges
TAZChildDefaultParameters()
FOX needs this.
GNETAZFrame * myTAZFrameParent
pointer to TAZFrame parent
void updateStatistics()
update Statistics label
class used to group all variables related with objects under cursor after a click over view
std::vector< RGBColor > myScaleColors
vector wit the scale colors
TAZParameters * myTAZParameters
TAZ parameters.
~TAZChildDefaultParameters()
destructor
~TAZEdgesGraphic()
destructor
bool shapeDrawed()
build a shaped element using the drawed shape return true if was sucesfully created
long onCmdSaveChanges(FXObject *, FXSelector, void *)
RGBColor myEdgeSelectedColor
RGBColor color for selected egdes.
bool isChangesPending() const
return true if there is changes to save
FXLabel * myStatisticsLabel
Statistics labels.
long onCmdSelectEdges(FXObject *obj, FXSelector, void *)
Called when the user press select edges.
TAZCurrent * myTAZCurrentParent
pointer to TAZCurrentParent
void hideTAZChildDefaultParametersModul()
hide TAZ child default parameters Modul
A point in 2D or 3D with translation and scaling methods.
FXHorizontalFrame * myDefaultTAZSourceFrame
Horizontal Frame for default TAZ Source Weight.
std::vector< GNEEdge * > myNetEdges
vector with pointers to edges (it's used to avoid slowdowns during Source/Sinks manipulations)
void hideTAZSelectionStatisticsModul()
hide TAZ Selection Statistics Modul
int sourcePlusSinkColor
color by source + sink [0-9]
int sourceMinusSinkColor
color by source - sink [0-9]
void updateColors()
update colors
bool isAddEdgesWithinEnabled() const
check if edges within has to be used after TAZ Creation
TAZSelectionStatistics * getTAZSelectionStatisticsModul() const
get TAZ Selection Statistics modul
long onCmdHelp(FXObject *, FXSelector, void *)
Called when help button is pressed.
FXHorizontalFrame * myDefaultTAZSinkFrame
Horizontal Frame for default TAZ Sink Weight.
~TAZCommonStatistics()
destructor
void showTAZSelectionStatisticsModul()
show TAZ Selection Statistics Modul
TAZEdge(TAZCurrent *TAZCurrentParent, GNEEdge *_edge, GNETAZSourceSink *_TAZSource, GNETAZSourceSink *_TAZSink)
constructor
~TAZEdge()
destructor (needed because RGBColors has to be deleted)
FXTextField * myTextFieldDefaultValueTAZSources
textField to set a default value for TAZ Sources
~TAZParameters()
destructor
void hide()
hide TAZ frame
double myMinSourcePlusSinkWeight
minimum source plus sink value of current TAZ Edges
bool isEdgeSelected(GNEEdge *edge)
check if an edge is selected
std::vector< GNEEdge * > mySelectedEdges
vector with pointers to selected edges
FXRadioButton * myColorBySinkWeight
add radio button "color by sink"
struct for edges and the source/sink colors
TAZEdgesGraphic * myTAZEdgesGraphic
TAZ Edges Graphic.
TAZSaveChanges()
FOX needs this.
GNETAZFrame * myTAZFrameParent
pointer to TAZFrame parent
TAZCommonStatistics * myTAZCommonStatistics
TAZ Edges common parameters.
double myDefaultTAZSourceWeight
default TAZSource weight
~GNETAZFrame()
Destructor.
double getDefaultTAZSourceWeight() const
get default TAZSource weight
GNEFrameModuls::DrawingShape * getDrawingShapeModul() const
get drawing mode modul
GNETAZSourceSink * TAZSource
source TAZ
void addTAZChild(GNETAZSourceSink *additional)
add TAZChild
void processEdgeSelection(const std::vector< GNEEdge * > &edges)
process selection of edges in view net
int sinkColor
color by sink [0-9]
FXLabel * myInformationLabel
information label
void updateSelectEdgesButton()
update "select edges button"
void updateStatistics()
update TAZSelectionStatistics
void showTAZSaveChangesModul()
show TAZ Save Changes Modul
GNETAZFrame * myTAZFrameParent
pointer to TAZFrame parent
bool selectEdge(const TAZCurrent::TAZEdge &edge)
add an edge and their TAZ Children in the list of selected items
long onCmdSetAttribute(FXObject *, FXSelector, void *)
Called when user set a value.
void hideTAZCommonStatisticsModul()
hide TAZ Common Statistics Modul
std::map< SumoXMLAttr, std::string > getAttributesAndValues() const
get a map with attributes and their values
const std::vector< TAZCurrent::TAZEdge > & getTAZEdges() const
get TAZEdges
FXButton * mySaveChangesButton
@field FXButton for save changes in TAZEdges
double myMaxSourcePlusSinkWeight
maximum source plus sink value of current TAZ Edges
TAZEdgesGraphic()
FOX needs this.
bool addOrRemoveTAZMember(GNEEdge *edge)
add or remove a TAZSource and a TAZSink, or remove it if edge is in the list of TAZ Children
const std::vector< GNEEdge * > & getSelectedEdges() const
get current selected edges
bool unselectEdge(GNEEdge *edge)
un select an edge (and their TAZ Children)
double getDefaultTAZSinkWeight() const
default TAZSink weight
RGBColor myEdgeDefaultColor
default RGBColor for all edges
void dropTAZMembers()
drop all TAZSources and TAZ Sinks of current TAZ
double myMinSourceMinusSinkWeight
minimum source minus sink value of current TAZ Edges
GNETAZFrame * myTAZFrameParent
pointer to TAZFrame parent