262 FXTreeItem*
addListItem(FXTreeItem* itemParent,
const std::string& text, FXIcon* icon,
bool expanded);
564 const std::vector<GNEEdge*>&
getSubPath()
const;
627 bool addEdge(
GNEEdge* edge,
const bool shiftKeyPressed,
const bool controlKeyPressed);
651 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.
FXGroupBoxModule (based on FXGroupBox)
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)
long onCmdSelectDemandElement(FXObject *, FXSelector, void *)
DemandElementSelector(GNEFrame *frameParent, SumoXMLTag demandElementTag, GNEDemandElement *defaultElement=nullptr)
FOX-declaration.
GNEFrame * myFrameParent
pointer to frame Parent
GNEDemandElement * myCurrentDemandElement
current demand element
void setDemandElement(GNEDemandElement *demandElement)
set current demand element
const std::vector< SumoXMLTag > & getAllowedTags() const
MFXIconComboBox * myDemandElementsMatchBox
comboBox with the list of elements type
void showDemandElementSelector()
show demand element selector
~DemandElementSelector()
destructor
GNEDemandElement * getCurrentDemandElement() const
get current demand element
GNEEdge * getContainerPlanPreviousEdge() const
get previous edge for the current container plan
void refreshDemandElementSelector()
refresh demand element selector
GNEEdge * getPersonPlanPreviousEdge() const
get previous edge for the current person plan
bool isDemandElementSelectorShown() const
check if demand element selector is shown
std::vector< SumoXMLTag > myDemandElementTags
demand element tags
void hideDemandElementSelector()
hide demand element selector
long onCmdStopDrawing(FXObject *, FXSelector, void *)
Called when the user press stop drawing button.
void setDeleteLastCreatedPoint(bool value)
enable or disable delete last created point
long onCmdStartDrawing(FXObject *, FXSelector, void *)
void stopDrawing()
stop drawing and check if shape can be created
bool getDeleteLastCreatedPoint()
get flag delete last created point
FXButton * myAbortDrawingButton
button for abort drawing
FXLabel * myInformationLabel
Label with information.
void abortDrawing()
abort drawing
const PositionVector & getTemporalShape() const
get Temporal shape
void startDrawing()
start drawing
DrawingShape(GNEFrame *frameParent)
FOX-declaration.
long onCmdAbortDrawing(FXObject *, FXSelector, void *)
Called when the user press abort drawing button.
void hideDrawingShape()
hide Drawing mode
~DrawingShape()
destructor
FXButton * myStartDrawingButton
button for start drawing
void addNewPoint(const Position &P)
add new point to temporal shape
FXButton * myStopDrawingButton
button for stop drawing
void removeLastPoint()
remove last added point
GNEFrame * myFrameParent
pointer to frame parent
bool myDeleteLastCreatedPoint
flag to enable/disable delete point mode
void showDrawingShape()
show Drawing mode
bool isDrawing() const
return true if currently a shape is drawed
PositionVector myTemporalShape
current drawed shape
std::set< FXTreeItem * > myTreeItemsConnections
set used to save tree items without AC assigned, the Incoming/Outcoming connections
void createPopUpMenu(int X, int Y, GNEAttributeCarrier *clickedAC)
FXTreeListDinamic * myTreeListDinamic
tree list dinamic to show the children of the element to erase
GNEConnection * myClickedConnection
junction (casted from myClickedAC)
GNELane * myClickedLane
lane (casted from myClickedAC)
FXTreeItem * addListItem(GNEAttributeCarrier *AC, FXTreeItem *itemParent=nullptr, std::string prefix="", std::string sufix="")
add item into list
void showHierarchicalElementChildren(GNEHierarchicalElement *HE, FXTreeItem *itemParent)
show children of given hierarchical element
GNEFrame * myFrameParent
frame Parent
GNEAdditional * myClickedAdditional
additional (casted from myClickedAC)
~HierarchicalElementTree()
destructor
long onCmdMoveItemDown(FXObject *, FXSelector, void *)
called when user click over option "Move down" of child menu
GNEEdge * myClickedEdge
edge (casted from myClickedAC)
long onCmdCenterItem(FXObject *, FXSelector, void *)
called when user click over option "center" of child Menu
GNEAttributeCarrier * myClickedAC
pointer to current clicked Attribute Carrier
long onCmdShowChildMenu(FXObject *, FXSelector, void *data)
void hideHierarchicalElementTree()
hide HierarchicalElementTree
GNEGenericData * myClickedGenericData
generic data element (casted from myClickedAC)
GNETAZElement * myClickedTAZElement
TAZElement (casted from myClickedAC)
void refreshHierarchicalElementTree()
refresh HierarchicalElementTree
std::map< FXTreeItem *, GNEAttributeCarrier * > myTreeItemToACMap
map used to save the FXTreeItems items with their vinculated AC
void removeCurrentEditedAttributeCarrier(const GNEAttributeCarrier *HE)
if given AttributeCarrier is the same of myHE, set it as nullptr
long onCmdInspectItem(FXObject *, FXSelector, void *)
called when user click over option "inspect" of child menu
GNEDataSet * myClickedDataSet
data set element (casted from myClickedAC)
GNECrossing * myClickedCrossing
crossing (casted from myClickedAC)
long onCmdDeleteItem(FXObject *, FXSelector, void *)
called when user click over option "delete" of child menu
GNEDataInterval * myClickedDataInterval
data interval element (casted from myClickedAC)
GNEDemandElement * myClickedDemandElement
demand element (casted from myClickedAC)
GNEShape * myClickedShape
shape (casted from myClickedAC)
GNEHierarchicalElement * myHE
hierarchical element
GNEJunction * myClickedJunction
junction (casted from myClickedAC)
long onCmdMoveItemUp(FXObject *, FXSelector, void *)
called when user click over option "Move up" of child menu
HierarchicalElementTree(GNEFrame *frameParent)
FOX-declaration.
void showHierarchicalElementTree(GNEAttributeCarrier *AC)
show HierarchicalElementTree
FXTreeItem * showAttributeCarrierParents()
show child of current attributeCarrier
FXButton * myHelpButton
button for help
~OverlappedInspection()
destructor
FXButton * myCurrentIndexButton
Button for current index.
OverlappedInspection()
FOX needs this.
long onCmdListItemSelected(FXObject *, FXSelector, void *)
called when a list item is selected
const SumoXMLTag myFilteredTag
filtered tag
long onCmdShowList(FXObject *, FXSelector, void *)
show list of overlapped elements
void showOverlappedInspection(const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor, const Position &clickedPosition)
show template editor
bool overlappedInspectionShown() const
check if overlappedInspection modul is shown
long onCmdOverlappingHelp(FXObject *, FXSelector, void *)
Called when user press the help button.
long onCmdNextElement(FXObject *, FXSelector, void *)
Inspect next Element (from top to bot)
FXButton * myNextElement
Next element button.
std::vector< GNEAttributeCarrier * > myOverlappedACs
objects under cursor
void buildFXElements()
build Fox Toolkit elemements
GNEFrame * myFrameParent
current frame parent
bool checkSavedPosition(const Position &clickedPosition) const
check if given position is near to saved position
size_t myItemIndex
current index item
int getNumberOfOverlappedACs() const
get number of overlapped ACSs
FXList * myOverlappedElementList
list of overlapped elements
FXButton * myPreviousElement
Previous element button.
Position mySavedClickedPosition
saved clicked position
long onCmdPreviousElement(FXObject *, FXSelector, void *)
Inspect previous element (from top to bot)
void hideOverlappedInspection()
hide template editor
bool previousElement(const Position &clickedPosition)
try to go to previous element if clicked position is near to saved position
bool nextElement(const Position &clickedPosition)
try to go to next element if clicked position is near to saved position
GNEAdditional * getToBusStop() const
to additional
Path()
default constructor
bool isConflictVClass() const
check if current path is conflict due vClass
GNEAdditional * myFromBusStop
from additional (usually a busStop)
bool myConflictDisconnected
flag to mark this path as disconnected
GNEAdditional * myToBusStop
to additional (usually a busStop)
std::vector< GNEEdge * > mySubPath
sub path
bool myConflictVClass
flag to mark this path as conflicted
Path & operator=(Path *)=delete
Invalidated assignment operator.
GNEAdditional * getFromBusStop() const
get from additional
bool isConflictDisconnected() const
check if current path is conflict due is disconnected
const std::vector< GNEEdge * > & getSubPath() const
get sub path
Path(Path *)=delete
Invalidated copy constructor.
void setVClass(SUMOVehicleClass vClass)
set vClass
const std::vector< Path > & getPath() const
get path route
void removeRoute()
remove route
GNEFrame * myFrameParent
current frame parent
FXButton * myAbortCreationButton
button for abort route creation
PathCreator(GNEFrame *frameParent)
default constructor
void recalculatePath()
recalculate path
GNEAdditional * getToStoppingPlace(SumoXMLTag expectedTag) const
get to stoppingPlace
bool addEdge(GNEEdge *edge, const bool shiftKeyPressed, const bool controlKeyPressed)
add edge
FXButton * myFinishCreationButton
button for finish route creation
int myCreationMode
current creation mode
void abortPathCreation()
abort path creation
void hidePathCreatorModule()
show PathCreator
long onCmdShowCandidateEdges(FXObject *, FXSelector, void *)
Called when the user click over check button "show candidate edges".
FXLabel * myInfoRouteLabel
label with route info
SUMOVehicleClass getVClass() const
get vClass
long onCmdCreatePath(FXObject *, FXSelector, void *)
PathCreator(PathCreator *)=delete
Invalidated copy constructor.
std::vector< GNEEdge * > mySelectedEdges
vector with selected edges
GNEAdditional * myToStoppingPlace
to additional (usually a busStop)
long onCmdAbortPathCreation(FXObject *, FXSelector, void *)
Called when the user click over button "Abort route creation".
void setSpecialCandidates(GNEEdge *originEdge)
set special candidates (This function will be called recursively)
FXButton * myRemoveLastInsertedElement
button for removing last inserted element
void clearEdgeColors()
clear edge colors
PathCreator & operator=(PathCreator *)=delete
Invalidated assignment operator.
void updateInfoRouteLabel()
update InfoRouteLabel
void setPossibleCandidates(GNEEdge *originEdge, const SUMOVehicleClass vClass)
set edgereachability (This function will be called recursively)
FXCheckButton * myShowCandidateEdges
CheckBox for show candidate edges.
void updateJunctionColors()
update junction colors
GNEDemandElement * myRoute
route (usually a busStop)
GNEDemandElement * getRoute() const
get route
void clearPath()
clear edges (and restore colors)
const std::vector< GNEEdge * > & getSelectedEdges() const
get current selected edges
FXLabel * myControlLabel
label for control information
void clearJunctionColors()
clear junction colors
bool drawCandidateEdgesWithSpecialColor() const
draw candidate edges with special color (Only for candidates, special and conflicted)
FXLabel * myShiftLabel
label for shift information
void removeLastElement()
remove path element
SUMOVehicleClass myVClass
current vClass
void updateEdgeColors()
update edge colors
bool addRoute(GNEDemandElement *route, const bool shiftKeyPressed, const bool controlKeyPressed)
add route
bool addJunction(GNEJunction *junction, const bool shiftKeyPressed, const bool controlKeyPressed)
add junction
const std::vector< GNEJunction * > & getSelectedJunctions() const
get current selected junctions
void createPath()
create path
std::vector< GNEJunction * > mySelectedJunctions
vector with selected junctions
void drawTemporalRoute(const GUIVisualizationSettings &s) const
draw temporal route
long onCmdRemoveLastElement(FXObject *, FXSelector, void *)
Called when the user click over button "Remove las inserted edge".
std::vector< Path > myPath
vector with current path
bool addStoppingPlace(GNEAdditional *stoppingPlace, const bool shiftKeyPressed, const bool controlKeyPressed)
add stoppingPlace
void showPathCreatorModule(SumoXMLTag element, const bool firstElement, const bool consecutives)
show PathCreator for the given tag
PathLegend(GNEFrame *frameParent)
constructor
void hidePathLegendModule()
hide Legend modul
void showPathLegendModule()
show Legend modul
SelectorParent(GNEFrame *frameParent)
constructor
GNEFrame * myFrameParent
pointer to Frame Parent
void setIDSelected(const std::string &id)
select manually a element of the list
FXLabel * myParentsLabel
Label with parent name.
std::vector< SumoXMLTag > myParentTags
current parent additional tag
FXList * myParentsList
List of parents.
std::string getIdSelected() const
get currently parent additional selected
void refreshSelectorParentModule()
Refresh list of Additional Parents Module.
~SelectorParent()
destructor
void hideSelectorParentModule()
hide SelectorParent Module
bool showSelectorParentModule(const std::vector< SumoXMLTag > &additionalTypeParents)
Show list of SelectorParent Module.
ACTemplate & operator=(const ACTemplate &src)=delete
Invalidated assignment operator.
ACTemplate(const ACTemplate &)=delete
Invalidated copy constructor.
GNEAttributeCarrier * getAC() const
get template AC
GNEAttributeCarrier * myAC
editedAC
ACTemplate(GNENet *net, const GNETagProperties tagProperty)
constructor
GNETagProperties::TagType myTagType
current tagType
void hideTagSelector()
hide item selector
long onCmdSelectTag(FXObject *, FXSelector, void *)
GNEAttributeCarrier * getTemplateAC(SumoXMLTag ACTag) const
get templateAC
void setCurrentTag(SumoXMLTag newTag, const bool notifyFrameParent=true)
set current type manually
void refreshTagSelector()
refresh tagSelector (used when frameParent is show)
GNEFrame * myFrameParent
pointer to Frame Parent
MFXIconComboBox * myTagsMatchBox
comboBox with the tags
void setCurrentTagType(GNETagProperties::TagType tagType, const bool onlyDrawables, const bool notifyFrameParent=true)
set current type manually
TagSelector(GNEFrame *frameParent, GNETagProperties::TagType type, SumoXMLTag tag, bool onlyDrawables=true)
FOX-declaration.
std::vector< ACTemplate * > myACTemplates
list with ACTemplates
GNEAttributeCarrier * getCurrentTemplateAC() const
get current templateAC
void showTagSelector()
show item selector
GNEAttributeCarrier * myCurrentTemplateAC
current templateAC;
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.
A NBNetBuilder extended by visualisation and editing capabilities.
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.