236 FXTreeItem*
addListItem(FXTreeItem* itemParent,
const std::string& text, FXIcon* icon,
bool expanded);
538 const std::vector<GNEEdge*>&
getSubPath()
const;
598 bool addEdge(
GNEEdge* edge,
const bool shiftKeyPressed,
const bool controlKeyPressed);
619 const std::vector<Path>&
getPath()
const;
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
SumoXMLTag
Numbers representing SUMO-XML - element names.
An Element which don't belongs to GNENet but has influency in the simulation.
This object is responsible for drawing a shape and for supplying a a popup menu. Messages are routete...
An Element which don't belongs to GNENet but has influency in the simulation.
An Element which don't belongs to GNENet but has influency in the simulation.
A road/street connecting two junctions (netedit-version)
GNEDemandElement * getCurrentDemandElement() const
get current demand element
~DemandElementSelector()
destructor
void setDemandElement(GNEDemandElement *demandElement)
set current demand element
GNEEdge * getPersonPlanPreviousEdge() const
get previous edge for the current selected demand elemnt
long onCmdSelectDemandElement(FXObject *, FXSelector, void *)
const std::vector< SumoXMLTag > & getAllowedTags() const
GNEFrame * myFrameParent
pointer to frame Parent
std::vector< SumoXMLTag > myDemandElementTags
demand element tags
DemandElementSelector(GNEFrame *frameParent, SumoXMLTag demandElementTag)
FOX-declaration.
void showDemandElementSelector()
show demand element selector
FXComboBox * myDemandElementsMatchBox
comboBox with the list of elements type
bool isDemandElementSelectorShown() const
check if demand element selector is shown
void hideDemandElementSelector()
hide demand element selector
void refreshDemandElementSelector()
refresh demand element selector
GNEDemandElement * myCurrentDemandElement
current demand element
long onCmdAbortDrawing(FXObject *, FXSelector, void *)
Called when the user press abort drawing button.
void showDrawingShape()
show Drawing mode
FXLabel * myInformationLabel
Label with information.
void startDrawing()
start drawing
DrawingShape(GNEFrame *frameParent)
FOX-declaration.
bool getDeleteLastCreatedPoint()
get flag delete last created point
long onCmdStartDrawing(FXObject *, FXSelector, void *)
~DrawingShape()
destructor
void hideDrawingShape()
hide Drawing mode
long onCmdStopDrawing(FXObject *, FXSelector, void *)
Called when the user press stop drawing button.
void stopDrawing()
stop drawing and check if shape can be created
FXButton * myAbortDrawingButton
button for abort drawing
void setDeleteLastCreatedPoint(bool value)
enable or disable delete last created point
const PositionVector & getTemporalShape() const
get Temporal shape
GNEFrame * myFrameParent
pointer to frame parent
void addNewPoint(const Position &P)
add new point to temporal shape
bool myDeleteLastCreatedPoint
flag to enable/disable delete point mode
PositionVector myTemporalShape
current drawed shape
void abortDrawing()
abort drawing
void removeLastPoint()
remove last added point
bool isDrawing() const
return true if currently a shape is drawed
FXButton * myStopDrawingButton
button for stop drawing
FXButton * myStartDrawingButton
button for start drawing
void showHierarchicalElementChildren(GNEHierarchicalElement *HE, FXTreeItem *itemParent)
show children of given hierarchical element
long onCmdDeleteItem(FXObject *, FXSelector, void *)
called when user click over option "delete" of child menu
GNEConnection * myClickedConnection
junction (casted from myClickedAC)
void removeCurrentEditedAttributeCarrier(const GNEAttributeCarrier *HE)
if given AttributeCarrier is the same of myHE, set it as nullptr
GNEDataSet * myClickedDataSet
data set element (casted from myClickedAC)
GNEFrame * myFrameParent
frame Parent
FXTreeItem * showAttributeCarrierParents()
show child of current attributeCarrier
long onCmdMoveItemUp(FXObject *, FXSelector, void *)
called when user click over option "Move up" of child menu
void refreshHierarchicalElementTree()
refresh HierarchicalElementTree
GNEDataInterval * myClickedDataInterval
data interval element (casted from myClickedAC)
GNEEdge * myClickedEdge
edge (casted from myClickedAC)
long onCmdInspectItem(FXObject *, FXSelector, void *)
called when user click over option "inspect" of child menu
long onCmdCenterItem(FXObject *, FXSelector, void *)
called when user click over option "center" of child Menu
GNETAZElement * myClickedTAZElement
TAZElement (casted from myClickedAC)
long onCmdMoveItemDown(FXObject *, FXSelector, void *)
called when user click over option "Move down" of child menu
long onCmdShowChildMenu(FXObject *, FXSelector, void *data)
GNECrossing * myClickedCrossing
crossing (casted from myClickedAC)
GNEAttributeCarrier * myClickedAC
pointer to current clicked Attribute Carrier
GNEShape * myClickedShape
shape (casted from myClickedAC)
void createPopUpMenu(int X, int Y, GNEAttributeCarrier *clickedAC)
FXTreeList * myTreelist
tree list to show the children of the element to erase
HierarchicalElementTree(GNEFrame *frameParent)
FOX-declaration.
void showHierarchicalElementTree(GNEAttributeCarrier *AC)
show HierarchicalElementTree
void hideHierarchicalElementTree()
hide HierarchicalElementTree
GNEDemandElement * myClickedDemandElement
demand element (casted from myClickedAC)
GNELane * myClickedLane
lane (casted from myClickedAC)
GNEGenericData * myClickedGenericData
generic data element (casted from myClickedAC)
FXTreeItem * addListItem(GNEAttributeCarrier *AC, FXTreeItem *itemParent=nullptr, std::string prefix="", std::string sufix="")
add item into list
GNEJunction * myClickedJunction
junction (casted from myClickedAC)
~HierarchicalElementTree()
destructor
GNEAdditional * myClickedAdditional
additional (casted from myClickedAC)
std::set< FXTreeItem * > myTreeItemsConnections
set used to save tree items without AC assigned, the Incoming/Outcoming connections
std::map< FXTreeItem *, GNEAttributeCarrier * > myTreeItemToACMap
map used to save the FXTreeItems items with their vinculated AC
GNEHierarchicalElement * myHE
hierarchical element
FXButton * myHelpButton
button for help
long onCmdOverlappingHelp(FXObject *, FXSelector, void *)
Called when user press the help button.
Position mySavedClickedPosition
saved clicked position
void showOverlappedInspection(const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor, const Position &clickedPosition)
show template editor
const SumoXMLTag myFilteredTag
filtered tag
bool nextElement(const Position &clickedPosition)
try to go to next element if clicked position is near to saved position
size_t myItemIndex
current index item
OverlappedInspection()
FOX needs this.
FXList * myOverlappedElementList
list of overlapped elements
bool checkSavedPosition(const Position &clickedPosition) const
check if given position is near to saved position
FXButton * myNextElement
Next element button.
bool previousElement(const Position &clickedPosition)
try to go to previous element if clicked position is near to saved position
FXButton * myPreviousElement
Previous element button.
void buildFXElements()
build Fox Toolkit elemements
long onCmdShowList(FXObject *, FXSelector, void *)
show list of overlapped elements
long onCmdPreviousElement(FXObject *, FXSelector, void *)
Inspect previous element (from top to bot)
long onCmdListItemSelected(FXObject *, FXSelector, void *)
called when a list item is selected
~OverlappedInspection()
destructor
FXButton * myCurrentIndexButton
Button for current index.
std::vector< GNEAttributeCarrier * > myOverlappedACs
objects under cursor
GNEFrame * myFrameParent
current frame parent
int getNumberOfOverlappedACs() const
get number of overlapped ACSs
long onCmdNextElement(FXObject *, FXSelector, void *)
Inspect next Element (from top to bot)
void hideOverlappedInspection()
hide template editor
bool overlappedInspectionShown() const
check if overlappedInspection modul is shown
bool myConflictDisconnected
flag to mark this path as disconnected
const std::vector< GNEEdge * > & getSubPath() const
get sub path
Path(Path *)=delete
Invalidated copy constructor.
GNEAdditional * getFromBusStop() const
get from additional
Path()
default constructor
bool myConflictVClass
flag to mark this path as conflicted
GNEAdditional * myToBusStop
to additional (usually a busStop)
std::vector< GNEEdge * > mySubPath
sub path
GNEAdditional * getToBusStop() const
to additional
bool isConflictVClass() const
check if current path is conflict due vClass
Path & operator=(Path *)=delete
Invalidated assignment operator.
bool isConflictDisconnected() const
check if current path is conflict due is disconnected
GNEAdditional * myFromBusStop
from additional (usually a busStop)
GNEDemandElement * myRoute
route (usually a busStop)
bool addRoute(GNEDemandElement *route, const bool shiftKeyPressed, const bool controlKeyPressed)
add route
std::vector< GNEEdge * > getSelectedEdges() const
get current selected additionals
int myCreationMode
current creation mode
void updateInfoRouteLabel()
update InfoRouteLabel
std::vector< Path > myPath
vector with current path
const std::vector< Path > & getPath() const
get path route
bool drawCandidateEdgesWithSpecialColor() const
draw candidate edges with special color (Only for candidates, special and conflicted)
SUMOVehicleClass getVClass() const
get vClass
GNEAdditional * myToStoppingPlace
to additional (usually a busStop)
GNEDemandElement * getRoute() const
get route
void drawTemporalRoute(const GUIVisualizationSettings &s) const
draw temporal route
PathCreator & operator=(PathCreator *)=delete
Invalidated assignment operator.
void removeLastElement()
remove path element
void abortPathCreation()
abort path creation
FXLabel * myControlLabel
label for control information
long onCmdCreatePath(FXObject *, FXSelector, void *)
FXButton * myAbortCreationButton
button for abort route creation
void recalculatePath()
recalculate path
void showPathCreatorModul(SumoXMLTag tag, const bool firstElement, const bool consecutives)
show PathCreator for the given tag
GNEFrame * myFrameParent
current frame parent
void clearPath()
clear edges (and restore colors)
std::vector< GNEEdge * > mySelectedEdges
vector with selected edges
GNEAdditional * getToStoppingPlace(SumoXMLTag expectedTag) const
get to stoppingPlace
bool addEdge(GNEEdge *edge, const bool shiftKeyPressed, const bool controlKeyPressed)
add edge
void createPath()
create path
long onCmdRemoveLastElement(FXObject *, FXSelector, void *)
Called when the user click over button "Remove las inserted edge".
void setPossibleCandidates(GNEEdge *originEdge, const SUMOVehicleClass vClass)
set edgereachability (This function will be called recursively)
void setVClass(SUMOVehicleClass vClass)
set vClass
bool addStoppingPlace(GNEAdditional *stoppingPlace, const bool shiftKeyPressed, const bool controlKeyPressed)
add stoppingPlace
GNEAdditional * myFromStoppingPlace
from additional (usually a busStop)
long onCmdShowCandidateEdges(FXObject *, FXSelector, void *)
Called when the user click over check button "show candidate edges".
SUMOVehicleClass myVClass
current vClass
void setSpecialCandidates(GNEEdge *originEdge)
set special candidates (This function will be called recursively)
FXLabel * myShiftLabel
label for shift information
FXLabel * myInfoRouteLabel
label with route info
PathCreator(PathCreator *)=delete
Invalidated copy constructor.
long onCmdAbortPathCreation(FXObject *, FXSelector, void *)
Called when the user click over button "Abort route creation".
FXButton * myRemoveLastInsertedElement
button for removing last inserted element
FXCheckButton * myShowCandidateEdges
CheckBox for show candidate edges.
PathCreator(GNEFrame *frameParent)
default constructor
void hidePathCreatorModul()
show PathCreator
FXButton * myFinishCreationButton
button for finish route creation
void updateEdgeColors()
update edge colors
GNEAdditional * getFromStoppingPlace(SumoXMLTag expectedTag) const
get from stoppingPlace
PathLegend(GNEFrame *frameParent)
constructor
void hidePathLegendModul()
hide Legend modul
void showPathLegendModul()
show Legend modul
void refreshSelectorParentModul()
Refresh list of Additional Parents Modul.
std::string getIdSelected() const
get currently parent additional selected
FXLabel * myParentsLabel
Label with parent name.
SelectorParent(GNEFrame *frameParent)
constructor
GNEFrame * myFrameParent
pointer to Frame Parent
void hideSelectorParentModul()
hide SelectorParent Modul
~SelectorParent()
destructor
bool showSelectorParentModul(SumoXMLTag additionalTypeParent)
Show list of SelectorParent Modul.
FXList * myParentsList
List of parents.
SumoXMLTag myParentTag
current parent additional tag
void setIDSelected(const std::string &id)
select manually a element of the list
void hideTagSelector()
hide item selector
FXComboBox * myTagsMatchBox
comboBox with the list of tags
void setCurrentTagType(GNETagProperties::TagType tagType)
set current type manually
std::vector< std::pair< std::string, GNETagProperties::TagType > > myListOfTagTypes
list of tags types that will be shown in Match Box
GNETagProperties myInvalidTagProperty
dummy tag properties used if user select an invalid tag
TagSelector(GNEFrame *frameParent, GNETagProperties::TagType type, bool onlyDrawables=true)
FOX-declaration.
void refreshTagProperties()
due myCurrentTagProperties is a Reference, we need to refresh it when frameParent is show
GNETagProperties myCurrentTagProperties
current tag properties
GNEFrame * myFrameParent
pointer to Frame Parent
std::vector< std::pair< SumoXMLTag, const std::string > > myListOfTags
list of tags that will be shown in Match Box
FXComboBox * myTagTypesMatchBox
comboBox with tag type
long onCmdSelectTag(FXObject *, FXSelector, void *)
Called when the user select an elementin ComboBox.
const GNETagProperties & getCurrentTagProperties() const
get current type tag
long onCmdSelectTagType(FXObject *, FXSelector, void *)
void showTagSelector()
show item selector
void setCurrentTag(SumoXMLTag newTag)
set current type manually
static FXLabel * buildRainbow(FXComposite *parent)
build rainbow in frame modul
An Element which don't belongs to GNENet but has influency in the simulation.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
An Element which don't belongs to GNENet but has influency in the simulation.
class used to group all variables related with objects under cursor after a click over view
Stores the information about how to visualize structures.
A point in 2D or 3D with translation and scaling methods.