Eclipse SUMO - Simulation of Urban MObility
|
A NBNetBuilder extended by visualisation and editing capabilities. More...
#include <GNENet.h>
Public Member Functions | ||||
void | addExplicitTurnaround (std::string id) | |||
add edge id to the list of explicit turnarounds | ||||
void | addGLObjectIntoGrid (GNEAttributeCarrier *AC) | |||
add GL Object into net | ||||
bool | addGreenVergeLane (GNEEdge *edge, int index, GNEUndoList *undoList) | |||
add restricted lane to edge | ||||
bool | addRestrictedLane (SUMOVehicleClass vclass, GNEEdge *edge, int index, GNEUndoList *undoList) | |||
add restricted lane to edge | ||||
GNEEdge * | addReversedEdge (GNEEdge *edge, const bool disconnected, GNEUndoList *undoList) | |||
add reversed edge | ||||
void | adjustPersonPlans (GNEUndoList *undoList) | |||
adjust person plans | ||||
void | changeEdgeEndpoints (GNEEdge *edge, const std::string &newSourceID, const std::string &newDestID) | |||
modifies endpoins of the given edge | ||||
bool | cleanInvalidCrossings (GNEUndoList *undoList) | |||
clear invalid crossings | ||||
void | cleanInvalidDemandElements (GNEUndoList *undoList) | |||
clean invalid demand elements | ||||
void | cleanUnusedRoutes (GNEUndoList *undoList) | |||
clean unused routes | ||||
void | clearAdditionalElements (GNEUndoList *undoList) | |||
clear additionals | ||||
void | clearDataElements (GNEUndoList *undoList) | |||
clear data elements | ||||
void | clearDemandElements (GNEUndoList *undoList) | |||
clear demand elements | ||||
void | clearJunctionConnections (GNEJunction *junction, GNEUndoList *undoList) | |||
clear junction's connections | ||||
void | clearMeanDataElements (GNEUndoList *undoList) | |||
clear meanDatas | ||||
void | computeAndUpdate (OptionsCont &neteditOptions, bool volatileOptions) | |||
recompute the network and update lane geometries | ||||
void | computeDataElements (GNEApplicationWindow *window) | |||
compute data elements param[in] window The window to inform about delay | ||||
void | computeDemandElements (GNEApplicationWindow *window) | |||
compute demand elements param[in] window The window to inform about delay | ||||
void | computeJunction (GNEJunction *junction) | |||
trigger recomputation of junction shape and logic param[in] window The window to inform about delay | ||||
void | computeNetwork (GNEApplicationWindow *window, bool force=false, bool volatileOptions=false) | |||
trigger full netbuild computation param[in] window The window to inform about delay param[in] force Whether to force recomputation even if not needed param[in] volatileOptions enable or disable volatile options | ||||
GNEEdge * | createEdge (GNEJunction *src, GNEJunction *dest, GNEEdge *edgeTemplate, GNEUndoList *undoList, const std::string &suggestedName="", bool wasSplit=false, bool allowDuplicateGeom=false, bool recomputeConnections=true) | |||
creates a new edge (unless an edge with the same geometry already exists) | ||||
GNEJunction * | createJunction (const Position &pos, GNEUndoList *undoList) | |||
creates a new junction | ||||
void | createRoundabout (GNEJunction *junction, GNEUndoList *undoList) | |||
transform the given junction into a roundabout | ||||
void | deleteAdditional (GNEAdditional *additional, GNEUndoList *undoList) | |||
remove additional | ||||
void | deleteConnection (GNEConnection *connection, GNEUndoList *undoList) | |||
remove connection | ||||
void | deleteCrossing (GNECrossing *crossing, GNEUndoList *undoList) | |||
remove crossing | ||||
void | deleteDataInterval (GNEDataInterval *dataInterval, GNEUndoList *undoList) | |||
remove data interval | ||||
void | deleteDataSet (GNEDataSet *dataSet, GNEUndoList *undoList) | |||
remove data set | ||||
void | deleteDemandElement (GNEDemandElement *demandElement, GNEUndoList *undoList) | |||
remove demand element | ||||
void | deleteEdge (GNEEdge *edge, GNEUndoList *undoList, bool recomputeConnections) | |||
removes edge | ||||
void | deleteGenericData (GNEGenericData *genericData, GNEUndoList *undoList) | |||
remove generic data | ||||
void | deleteJunction (GNEJunction *junction, GNEUndoList *undoList) | |||
removes junction and all incident edges | ||||
void | deleteLane (GNELane *lane, GNEUndoList *undoList, bool recomputeConnections) | |||
removes lane | ||||
void | deleteMeanData (GNEMeanData *meanData, GNEUndoList *undoList) | |||
remove generic data | ||||
void | deleteNetworkElement (GNENetworkElement *networkElement, GNEUndoList *undoList) | |||
delete network element | ||||
virtual void | drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const | |||
Draws additional, user-triggered visualisations. | ||||
void | drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0, bool forceShow=false) const | |||
draw name of item | ||||
void | duplicateLane (GNELane *lane, GNEUndoList *undoList, bool recomputeConnections) | |||
duplicates lane | ||||
FXApp * | getApp () | |||
get pointer to the main App | ||||
GNENetHelper::AttributeCarriers * | getAttributeCarriers () const | |||
get all attribute carriers used in this net | ||||
const Boundary & | getBoundary () const | |||
returns the bounder of the network | ||||
GNEPathManager * | getDataPathManager () | |||
get data path manager | ||||
double | getDataSetIntervalMaximumEnd () const | |||
get maximum interval | ||||
double | getDataSetIntervalMinimumBegin () const | |||
get minimum interval | ||||
GNEPathManager * | getDemandPathManager () | |||
get demand path manager | ||||
NBEdgeCont & | getEdgeCont () | |||
returns the NBEdgeCont of the underlying netbuilder | ||||
const std::map< std::string, int > & | getEdgesAndNumberOfLanes () const | |||
et edges and number of lanes | ||||
SUMORTree & | getGrid () | |||
Returns the RTree used for visualisation speed-up. | ||||
NBNetBuilder * | getNetBuilder () const | |||
get net builder | ||||
GNEPathManager * | getNetworkPathManager () | |||
get network path manager | ||||
int | getNumberOfTLSPrograms () const | |||
get number of TLS Programs | ||||
GNENetHelper::SavingStatus * | getSavingStatus () const | |||
get saving status | ||||
NBTrafficLightLogicCont & | getTLLogicCont () | |||
returns the tllcont of the underlying netbuilder | ||||
GNEViewNet * | getViewNet () const | |||
get view net | ||||
GNENet (NBNetBuilder *netBuilder) | ||||
Constructor. | ||||
void | initGNEConnections () | |||
initialize GNEConnections | ||||
bool | isNetRecomputed () const | |||
check if net require recomputing | ||||
void | joinRoutes (GNEUndoList *undoList) | |||
join routes | ||||
bool | joinSelectedJunctions (GNEUndoList *undoList) | |||
join selected junctions | ||||
void | mergeJunctions (GNEJunction *moved, GNEJunction *target, GNEUndoList *undoList) | |||
merge the given junctions edges between the given junctions will be deleted | ||||
virtual void | onLeftBtnPress (void *) | |||
notify object about left click | ||||
virtual void | removeActiveAddVisualisation (GUISUMOAbstractView *const, int) | |||
remove additional user-griggered visualisations | ||||
void | removeExplicitTurnaround (std::string id) | |||
remove edge id from the list of explicit turnarounds | ||||
void | removeGLObjectFromGrid (GNEAttributeCarrier *AC) | |||
add GL Object into net | ||||
bool | removeRestrictedLane (SUMOVehicleClass vclass, GNEEdge *edge, GNEUndoList *undoList) | |||
remove restricted lane | ||||
void | removeSolitaryJunctions (GNEUndoList *undoList) | |||
removes junctions that have no edges | ||||
void | replaceIncomingEdge (GNEEdge *which, GNEEdge *by, GNEUndoList *undoList) | |||
replaces edge | ||||
void | replaceJunctionByGeometry (GNEJunction *junction, GNEUndoList *undoList) | |||
replace the selected junction by geometry node(s) and merge the edges | ||||
void | requireRecompute () | |||
inform the net about the need for recomputation | ||||
void | resetJunctionConnections (GNEJunction *junction, GNEUndoList *undoList) | |||
reset junction's connections | ||||
bool | restrictLane (SUMOVehicleClass vclass, GNELane *lane, GNEUndoList *undoList) | |||
transform lane to restricted lane | ||||
void | reverseEdge (GNEEdge *edge, GNEUndoList *undoList) | |||
reverse edge | ||||
void | saveAdditionals () | |||
save additional elements | ||||
void | saveDataElements () | |||
save data set elements of the network | ||||
void | saveDemandElements () | |||
save demand element elements of the network | ||||
void | saveEdgeTypes (const std::string &filename) | |||
save edgeTypes elements of the network | ||||
void | saveJoined (const std::string &filename) | |||
save log of joined junctions (and nothing else) | ||||
void | saveJuPedSimElements (const std::string &file) | |||
save JuPedSim elements | ||||
void | saveMeanDatas () | |||
save meanData elements of the network | ||||
void | saveNetwork () | |||
save the network | ||||
void | savePlain (const std::string &prefix) | |||
save plain xml representation of the network (and nothing else) | ||||
void | saveTLSPrograms (const std::string &filename) | |||
save TLS Programs elements of the network | ||||
void | selectRoundabout (GNEJunction *junction, GNEUndoList *undoList) | |||
select all roundabout edges and junctions for the current roundabout | ||||
void | setViewNet (GNEViewNet *viewNet) | |||
Set the net to be notified of network changes. | ||||
std::pair< GNEJunction *, GNEEdge * > | splitEdge (GNEEdge *edge, const Position &pos, GNEUndoList *undoList, GNEJunction *newJunction=0) | |||
split edge at position by inserting a new junction | ||||
void | splitEdgesBidi (GNEEdge *edge, GNEEdge *oppositeEdge, const Position &pos, GNEUndoList *undoList) | |||
split all edges at position by inserting one new junction | ||||
void | splitJunction (GNEJunction *junction, bool reconnect, GNEUndoList *undoList) | |||
replace the selected junction by a list of junctions for each unique edge endpoint | ||||
~GNENet () | ||||
Destructor. | ||||
inherited from GUIGlObject | ||||
GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own popup-menu. | ||||
GUIParameterTableWindow * | getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own parameter window. | ||||
Boundary | getCenteringBoundary () const | |||
Returns the boundary to which the view shall be centered in order to show the object. | ||||
void | expandBoundary (const Boundary &newBoundary) | |||
expand boundary | ||||
const Boundary & | getZBoundary () const | |||
Returns the Z boundary (stored in the x() coordinate) values of 0 do not affect the boundary. | ||||
void | addZValueInBoundary (const double z) | |||
add Z in net boundary | ||||
void | drawGL (const GUIVisualizationSettings &s) const | |||
Draws the object. | ||||
Functions related to Enable or disable update geometry of elements after insertion | ||||
enable update geometry of elements after inserting or removing an element in net | ||||
void | enableUpdateGeometry () | |||
void | disableUpdateGeometry () | |||
disable update geometry of elements after inserting or removing an element in net | ||||
bool | isUpdateGeometryEnabled () const | |||
check if update geometry after inserting or removing has to be updated | ||||
Functions related to Enable or disable update data of elements after insertion | ||||
enable update data elements after inserting or removing an element in net | ||||
void | enableUpdateData () | |||
void | disableUpdateData () | |||
disable update data elements after inserting or removing an element in net | ||||
bool | isUpdateDataEnabled () const | |||
check if update data after inserting or removing has to be updated | ||||
getter methods | ||||
Returns the full name appearing in the tool tip
| ||||
const std::string & | getFullName () const | |||
virtual std::string | getParentName () const | |||
Returns the name of the parent object (if any) | ||||
GUIGlID | getGlID () const | |||
Returns the numerical id of the object. | ||||
FXIcon * | getGLIcon () const | |||
get icon associated with this GL Object | ||||
interfaces to be implemented by derived classes | ||||
virtual void | removedPopupMenu () | |||
notify object about popup menu removal | ||||
virtual GUIParameterTableWindow * | getTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own type parameter window (optional) | ||||
const std::string & | getMicrosimID () const | |||
Returns the id of the object as known to microsim. | ||||
virtual const std::string | getOptionalName () const | |||
Returns the name of the object (default "") | ||||
virtual void | setMicrosimID (const std::string &newID) | |||
Changes the microsimID of the object. | ||||
GUIGlObjectType | getType () const | |||
Returns the type of the object as coded in GUIGlObjectType. | ||||
virtual double | getClickPriority () const | |||
Returns the priority of receiving mouse clicks. | ||||
bool | isBlocked () const | |||
get blocking status | ||||
void | setBlocked (const bool state=true) | |||
set blocking status | ||||
virtual double | getExaggeration (const GUIVisualizationSettings &s) const | |||
return exaggeration associated with this GLObject | ||||
virtual bool | isGLObjectLocked () const | |||
check if element is locked (Currently used only in netedit) | ||||
virtual void | markAsFrontElement () | |||
mark element as front element (Currently used only in netedit) | ||||
virtual void | deleteGLObject () | |||
delete GLObject (Currently used only in netedit) | ||||
virtual void | selectGLObject () | |||
select GLObject (Currently used only in netedit) | ||||
virtual void | updateGLObject () | |||
update GLObject (geometry, ID, etc.) (optional) | ||||
virtual double | getColorValue (const GUIVisualizationSettings &, int) const | |||
Parameter table window I/O | ||||
Lets this object know a parameter window showing the object's values was opened
| ||||
void | addParameterTable (GUIParameterTableWindow *w) | |||
void | removeParameterTable (GUIParameterTableWindow *w) | |||
Lets this object know a parameter window showing the object's values was closed. | ||||
Static Public Attributes | |
static const std::map< SumoXMLAttr, std::string > | EMPTY_HEADER |
variable used for write headers in additional, demand and data elements | |
static const GUIGlID | INVALID_ID = 0 |
static const double | INVALID_PRIORITY |
static StringBijection< GUIGlObjectType > | TypeNames |
associates object types with strings | |
Protected Member Functions | |
void | buildAdditionalsPopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type) |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI | |
void | buildShapePopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type) |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI | |
helper methods for building popup-menus | |
void | buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true) |
Builds the header. | |
void | buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to center to the object. | |
void | buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds entries which allow to copy the name / typed name into the clipboard. | |
void | buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to (de)select the object. | |
void | buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the parameter window. | |
void | buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the type parameter window. | |
void | buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, const GUIMainWindow &app) const |
Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. | |
void | buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the manipulator window. | |
Protected Attributes | |
GNENetHelper::AttributeCarriers * | myAttributeCarriers = nullptr |
AttributeCarriers of net. | |
GNEPathManager * | myDataPathManager |
Data path manager. | |
GNEPathManager * | myDemandPathManager |
Demand path manager. | |
SUMORTree | myGrid |
the rtree which contains all GUIGlObjects (so named for historical reasons) | |
NBNetBuilder * | myNetBuilder |
The internal netbuilder. | |
GNEPathManager * | myNetworkPathManager |
Network path manager. | |
GNENetHelper::SavingStatus * | mySavingStatus |
AttributeCarriers of net. | |
GNEViewNet * | myViewNet = nullptr |
The net to be notified of about changes. | |
Private Member Functions | |
std::string | createFullName () const |
create full name | |
Private Attributes | |
bool | myAmBlocked = false |
whether the object can be deleted | |
std::string | myFullName |
full name of GL Object | |
const GUIGlID | myGlID |
The numerical id of the object. | |
const GUIGlObjectType | myGLObjectType |
The type of the object. | |
FXIcon * | myIcon |
icon associatd with this GL Object | |
std::string | myMicrosimID |
ID of GL object. | |
std::set< GUIParameterTableWindow * > | myParamWindows |
Parameter table windows which refer to this object. | |
Static Private Attributes | |
static StringBijection< GUIGlObjectType >::Entry | GUIGlObjectTypeNamesInitializer [] |
vector for TypeNames Initializer | |
counters for junction/edge IDs | |
unsigned int | myJunctionIDCounter = 0 |
unsigned int | myEdgeIDCounter = 0 |
std::set< std::string > | myExplicitTurnarounds |
list of edge ids for which turn-arounds must be added explicitly | |
bool | myNeedRecompute = true |
whether the net needs recomputation | |
bool | myUpdateGeometryEnabled = true |
Flag to enable or disable update geometry of elements after inserting or removing element in net. | |
bool | myUpdateDataEnabled = true |
Flag to enable or disable update data elements after inserting or removing element in net. | |
Boundary | myZBoundary |
the z boundary (stored in the x-coordinate), values of 0 are ignored | |
std::map< std::string, int > | myEdgesAndNumberOfLanes |
map with the Edges and their number of lanes | |
static const double | Z_INITIALIZED = 1 |
marker for whether the z-boundary is initialized | |
void | initJunctionsAndEdges () |
Init Junctions and edges. | |
bool | checkJunctionPosition (const Position &pos) |
return true if there are already a Junction in the given position, false in other case | |
void | saveAdditionalsConfirmed () |
save additionals after confirming invalid objects | |
void | saveDemandElementsConfirmed () |
save demand elements after confirming invalid objects | |
void | saveDataElementsConfirmed () |
save data elements after confirming invalid objects | |
void | saveMeanDatasConfirmed () |
save meanDatas | |
void | writeAdditionalByType (OutputDevice &device, const std::vector< SumoXMLTag > tags) const |
write additional element by type and sorted by ID | |
void | writeDemandByType (OutputDevice &device, SumoXMLTag tag) const |
write demand element by type and sorted by ID | |
void | writeRouteDistributions (OutputDevice &device, const bool additionalFile) const |
write route distributions sorted by ID | |
void | writeRoutes (OutputDevice &device, const bool additionalFile) const |
write route sorted by ID | |
void | writeVTypeDistributions (OutputDevice &device, const bool additionalFile) const |
write vTypeDistributions sorted by ID | |
void | writeVTypes (OutputDevice &device, const bool additionalFile) const |
write vTypes sorted by ID | |
void | writeMeanDatas (OutputDevice &device, SumoXMLTag tag) const |
write meanData element by type and sorted by ID | |
bool | writeVTypeComment (OutputDevice &device, const bool additionalFile) const |
write vType comment | |
bool | writeRouteComment (OutputDevice &device, const bool additionalFile) const |
write route comment | |
bool | writeRouteProbeComment (OutputDevice &device) const |
write routeProbe comment | |
bool | writeCalibratorComment (OutputDevice &device) const |
write calibrator comment | |
bool | writeStoppingPlaceComment (OutputDevice &device) const |
write stoppingPlace comment | |
bool | writeDetectorComment (OutputDevice &device) const |
write detector comment | |
bool | writeOtherAdditionalsComment (OutputDevice &device) const |
write other additional comment | |
bool | writeShapesComment (OutputDevice &device) const |
write shape comment | |
bool | writeJuPedSimComment (OutputDevice &device) const |
write JuPedSim comment | |
bool | writeTAZComment (OutputDevice &device) const |
write TAZ comment | |
bool | writeWireComment (OutputDevice &device) const |
write Wire comment | |
bool | writeMeanDataEdgeComment (OutputDevice &device) const |
write meanDataEdge comment | |
bool | writeMeanDataLaneComment (OutputDevice &device) const |
write Wire comment | |
GNENet (const GNENet &)=delete | |
Invalidated copy constructor. | |
GNENet & | operator= (const GNENet &)=delete |
Invalidated assignment operator. | |
static void | replaceInListAttribute (GNEAttributeCarrier *ac, SumoXMLAttr key, const std::string &which, const std::string &by, GNEUndoList *undoList) |
replace in list attribute | |
A NBNetBuilder extended by visualisation and editing capabilities.
GNENet::GNENet | ( | NBNetBuilder * | netBuilder | ) |
Constructor.
[in] | netbuilder | the netbuilder which may already have been filled GNENet becomes responsible for cleaning this up |
Definition at line 89 of file GNENet.cpp.
References GUIGlObjectStorage::gIDStorage, GUIGlObjectStorage::setNetObject(), and WRITE_GLDEBUG.
GNENet::~GNENet | ( | ) |
Destructor.
Definition at line 111 of file GNENet.cpp.
References myAttributeCarriers, myDataPathManager, myDemandPathManager, myNetBuilder, myNetworkPathManager, mySavingStatus, and WRITE_DEBUG.
|
privatedelete |
Invalidated copy constructor.
void GNENet::addExplicitTurnaround | ( | std::string | id | ) |
add edge id to the list of explicit turnarounds
Definition at line 2173 of file GNENet.cpp.
References NBEdgeCont::insert(), and myExplicitTurnarounds.
Referenced by GNEJunction::removeConnectionsFrom(), and GNEJunction::removeConnectionsTo().
void GNENet::addGLObjectIntoGrid | ( | GNEAttributeCarrier * | AC | ) |
add GL Object into net
Definition at line 1386 of file GNENet.cpp.
References SUMORTree::addAdditionalGLObject(), GNEAttributeCarrier::getGUIGlObject(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::inGrid(), GNETagProperties::isPlacedInRTree(), myGrid, and GNEAttributeCarrier::setInGrid().
Referenced by GNEDataInterval::addGenericDataChild(), computeAndUpdate(), GNEPoly::deleteGeometryPoint(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNEJunction::retrieveGNEWalkingArea(), GNEPOI::setAttribute(), GNEEdge::setNumLanes(), GNEMultiEntryExitDetector::updateCenteringBoundary(), GNEParkingSpace::updateCenteringBoundary(), GNERerouter::updateCenteringBoundary(), GNETAZ::updateCenteringBoundary(), GNETractionSubstation::updateCenteringBoundary(), GNEVariableSpeedSign::updateCenteringBoundary(), GNEEdge::updateCenteringBoundary(), GNEJunction::updateCenteringBoundary(), GNEPOI::updateCenteringBoundary(), GNEPoly::updateCenteringBoundary(), GNETAZRelData::updateGeometry(), and GNEDemandElementPlan::updatePlanCenteringBoundary().
bool GNENet::addGreenVergeLane | ( | GNEEdge * | edge, |
int | index, | ||
GNEUndoList * | undoList | ||
) |
add restricted lane to edge
[in] | edge | The edge in which insert restricted lane |
[in] | index | to be changed |
[in] | undoList | The undolist in which to mark changes |
Definition at line 893 of file GNENet.cpp.
References duplicateLane(), GNEEdge::getLanes(), MIN2(), restrictLane(), and SVC_IGNORING.
Referenced by GNEViewNet::addRestrictedLane().
|
inherited |
Definition at line 369 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::GUIParameterTableWindow().
bool GNENet::addRestrictedLane | ( | SUMOVehicleClass | vclass, |
GNEEdge * | edge, | ||
int | index, | ||
GNEUndoList * | undoList | ||
) |
add restricted lane to edge
[in] | vclass | vehicle class to restrict |
[in] | edge | The edge in which insert restricted lane |
[in] | index | to be changed |
[in] | undoList | The undolist in which to mark changes |
Definition at line 857 of file GNENet.cpp.
References duplicateLane(), GNEEdge::getLanes(), GNEEdge::getNBEdge(), NBEdge::getPermissions(), MIN2(), restrictLane(), SVC_BICYCLE, SVC_BUS, and SVC_PEDESTRIAN.
Referenced by GNEViewNet::addRestrictedLane().
GNEEdge * GNENet::addReversedEdge | ( | GNEEdge * | edge, |
const bool | disconnected, | ||
GNEUndoList * | undoList | ||
) |
add reversed edge
[in] | edge | The edge of which to add the reverse |
[in] | disconnected | add edge reversed or disconnected parallel |
Definition at line 1078 of file GNENet.cpp.
References GNEUndoList::begin(), createEdge(), createJunction(), GNEUndoList::end(), GNEEdge::getAttribute(), GNEEdge::getFromJunction(), NBEdge::getGeometry(), GNEAttributeCarrier::getID(), NBEdge::getInnerGeometry(), GNEEdge::getNBEdge(), GNEEdge::getReverseEdge(), GNEEdge::getToJunction(), NBEdge::getTotalWidth(), GNE_ATTR_SELECTED, GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, PositionVector::move2side(), PositionVector::reverse(), GNEEdge::setAttribute(), GNEJunction::setAttribute(), SUMO_ATTR_SHAPE, TL, and toString().
Referenced by GNEViewNet::onCmdAddReversedEdge(), and GNEViewNet::onCmdAddReversedEdgeDisconnected().
void GNENet::addZValueInBoundary | ( | const double | z | ) |
add Z in net boundary
Definition at line 223 of file GNENet.cpp.
References Boundary::add(), myZBoundary, and Z_INITIALIZED.
void GNENet::adjustPersonPlans | ( | GNEUndoList * | undoList | ) |
adjust person plans
Definition at line 1851 of file GNENet.cpp.
References GNEUndoList::begin(), GNEUndoList::end(), GNEDemandElement::getAttribute(), GNEHierarchicalElement::getChildDemandElements(), GNENetHelper::AttributeCarriers::getDemandElements(), GNEDemandElement::getNextChildDemandElement(), GNEDemandElement::getPreviousChildDemandElement(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNE_TAG_STOPPERSON_EDGE, GNETagProperties::hasAttribute(), MODEPERSONPLAN, myAttributeCarriers, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_ENDPOS, SUMO_TAG_PERSON, SUMO_TAG_PERSONFLOW, and TL.
Referenced by GNEApplicationWindow::onCmdProcessButton().
|
protectedinherited |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 407 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), and TLF.
|
protectedinherited |
Builds an entry which allows to center to the object.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 286 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_CENTER, RECENTERVIEW, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GNEDemandElementPlan::getPlanPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
protectedinherited |
Builds entries which allow to copy the name / typed name into the clipboard.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 295 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), MID_COPY_NAME, MID_COPY_TYPED_NAME, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protectedinherited |
Builds the header.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 274 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIMainWindow::getBoldFont(), GUIGlObject::getFullName(), OptionsCont::getOptions(), MID_COPY_TEST_COORDINATES, GUIGlObject::myIcon, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GNEDemandElementPlan::getPlanPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
protectedinherited |
Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 336 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GEOHACK, GeoConvHelper::getFinal(), GUIIconSubSys::getIcon(), GUIMainWindow::getOnlineMaps(), GOOGLEMAPS, GUIGLObjectPopupMenu::insertMenuPaneChild(), MID_COPY_CURSOR_GEOPOSITION, MID_COPY_CURSOR_POSITION, MID_SHOW_GEOPOSITION_ONLINE, OSM, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GNEDemandElementPlan::getPlanPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
protectedinherited |
Builds an entry which allows to (de)select the object.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 305 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), FLAG_MINUS, FLAG_PLUS, GUIGlObject::getGlID(), GUIIconSubSys::getIcon(), GUIGlObject::getType(), gSelected, GUISelectedStorage::isSelected(), MID_ADDSELECT, MID_REMOVESELECT, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUIPerson::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protectedinherited |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 384 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), and TLF.
Referenced by GUIPointOfInterest::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the manipulator window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 360 of file GUIGlObject.cpp.
References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MANIP, MID_MANIP, and TL.
Referenced by GUILaneSpeedTrigger::getPopUpMenu(), and GUITriggeredRerouter::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the parameter window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 318 of file GUIGlObject.cpp.
References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_SHOWPARS, and TL.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GNEDemandElementPlan::getPlanPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
protectedinherited |
Builds an entry which allows to open the type parameter window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 327 of file GUIGlObject.cpp.
References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_SHOWTYPEPARS, and TL.
Referenced by GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), and GUIPerson::getPopUpMenu().
void GNENet::changeEdgeEndpoints | ( | GNEEdge * | edge, |
const std::string & | newSourceID, | ||
const std::string & | newDestID | ||
) |
modifies endpoins of the given edge
Definition at line 2146 of file GNENet.cpp.
References GNEEdge::getNBEdge(), GNEJunction::getNBNode(), myAttributeCarriers, NBEdge::reinitNodes(), requireRecompute(), and GNENetHelper::AttributeCarriers::retrieveJunction().
Referenced by GNEEdge::setAttribute().
|
private |
return true if there are already a Junction in the given position, false in other case
Definition at line 1305 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getJunctions(), and myAttributeCarriers.
Referenced by joinSelectedJunctions().
bool GNENet::cleanInvalidCrossings | ( | GNEUndoList * | undoList | ) |
clear invalid crossings
Definition at line 1692 of file GNENet.cpp.
References GNEUndoList::begin(), deleteCrossing(), GNEUndoList::end(), getApp(), GNENetHelper::AttributeCarriers::getJunctions(), MODEDELETE, myAttributeCarriers, TL, and WRITE_DEBUG.
Referenced by GNEApplicationWindow::onCmdProcessButton().
void GNENet::cleanInvalidDemandElements | ( | GNEUndoList * | undoList | ) |
clean invalid demand elements
Definition at line 1896 of file GNENet.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNENetHelper::AttributeCarriers::getDemandElements(), MODEDELETE, myAttributeCarriers, GNEDemandElement::OK, SUMO_TAG_FLOW, SUMO_TAG_ROUTE, SUMO_TAG_TRIP, and TL.
Referenced by GNEApplicationWindow::onCmdProcessButton().
void GNENet::cleanUnusedRoutes | ( | GNEUndoList * | undoList | ) |
clean unused routes
Definition at line 1761 of file GNENet.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNENetHelper::AttributeCarriers::getDemandElements(), MODEDELETE, myAttributeCarriers, SUMO_TAG_ROUTE, and TL.
Referenced by GNEApplicationWindow::onCmdProcessButton().
void GNENet::clearAdditionalElements | ( | GNEUndoList * | undoList | ) |
clear additionals
Definition at line 2096 of file GNENet.cpp.
References GNEUndoList::begin(), deleteAdditional(), GNEUndoList::end(), GNENetHelper::AttributeCarriers::getAdditionals(), MODEDELETE, myAttributeCarriers, and TL.
Referenced by GNEApplicationWindow::onCmdReloadAdditionals().
void GNENet::clearDataElements | ( | GNEUndoList * | undoList | ) |
clear data elements
Definition at line 2122 of file GNENet.cpp.
References GNEUndoList::begin(), deleteDataSet(), GNEUndoList::end(), GNENetHelper::AttributeCarriers::getDataSets(), MODEDELETE, myAttributeCarriers, and TL.
void GNENet::clearDemandElements | ( | GNEUndoList * | undoList | ) |
clear demand elements
Definition at line 2109 of file GNENet.cpp.
References GNEUndoList::begin(), deleteDemandElement(), GNEUndoList::end(), GNENetHelper::AttributeCarriers::getDemandElements(), MODEDELETE, myAttributeCarriers, and TL.
Referenced by GNEApplicationWindow::onCmdReloadDataElements(), and GNEApplicationWindow::onCmdReloadDemandElements().
void GNENet::clearJunctionConnections | ( | GNEJunction * | junction, |
GNEUndoList * | undoList | ||
) |
clear junction's connections
Definition at line 2073 of file GNENet.cpp.
References GNEUndoList::begin(), deleteConnection(), GNEUndoList::end(), GNEJunction::getGNEConnections(), MODEDELETE, and TL.
Referenced by GNEViewNet::onCmdClearConnections(), replaceJunctionByGeometry(), and resetJunctionConnections().
void GNENet::clearMeanDataElements | ( | GNEUndoList * | undoList | ) |
clear meanDatas
Definition at line 2133 of file GNENet.cpp.
References GNEUndoList::begin(), deleteMeanData(), GNEUndoList::end(), GNENetHelper::AttributeCarriers::getMeanDatas(), MODEDELETE, myAttributeCarriers, and TL.
Referenced by GNEApplicationWindow::onCmdReloadMeanDatas().
void GNENet::computeAndUpdate | ( | OptionsCont & | neteditOptions, |
bool | volatileOptions | ||
) |
recompute the network and update lane geometries
Definition at line 2888 of file GNENet.cpp.
References Boundary::add(), GNENetHelper::AttributeCarriers::addDefaultVTypes(), addGLObjectIntoGrid(), GNEUndoList::clear(), GNENetHelper::AttributeCarriers::clearAdditionals(), GNENetHelper::AttributeCarriers::clearDemandElements(), GNENetHelper::AttributeCarriers::clearEdges(), GNEInspectorFrame::clearInspectedAC(), GNENetHelper::AttributeCarriers::clearJunctions(), NBNetBuilder::compute(), GUISUMOAbstractView::destroyPopup(), OptionsCont::getBool(), GeoConvHelper::getConvBoundary(), GNENetHelper::AttributeCarriers::getEdges(), GeoConvHelper::getFinal(), GNEViewParent::getInspectorFrame(), GNENetHelper::AttributeCarriers::getJunctions(), GNEViewNet::getUndoList(), GNEViewNet::getViewParent(), initJunctionsAndEdges(), OptionsCont::isSet(), myAttributeCarriers, myExplicitTurnarounds, myGrid, myNeedRecompute, myNetBuilder, myUpdateGeometryEnabled, myViewNet, GNENetHelper::AttributeCarriers::remapJunctionAndEdgeIds(), removeGLObjectFromGrid(), Boundary::reset(), and WRITE_GLDEBUG.
Referenced by computeNetwork(), GNEViewNet::onCmdEditCrossingShape(), GNEViewNet::onCmdEditJunctionShape(), GNEViewNet::onCmdEditWalkingAreaShape(), GNELoadThread::run(), saveJoined(), saveNetwork(), and savePlain().
void GNENet::computeDataElements | ( | GNEApplicationWindow * | window | ) |
compute data elements param[in] window The window to inform about delay
Definition at line 1510 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getGenericDatas(), myAttributeCarriers, GNEApplicationWindow::setStatusBarText(), and TL.
Referenced by saveDataElements().
void GNENet::computeDemandElements | ( | GNEApplicationWindow * | window | ) |
compute demand elements param[in] window The window to inform about delay
Definition at line 1490 of file GNENet.cpp.
References GNEPathManager::clearSegments(), GNENetHelper::AttributeCarriers::getDemandElements(), GNEViewNet::getEditModes(), GNEPathManager::getPathCalculator(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEPathManager::PathCalculator::isPathCalculatorUpdated(), myAttributeCarriers, myDemandPathManager, myViewNet, GNEApplicationWindow::setStatusBarText(), TL, and GNEPathManager::PathCalculator::updatePathCalculator().
Referenced by GNEApplicationWindow::onCmdProcessButton(), GNEViewNet::onCmdToggleShowDemandElementsData(), GNEViewNet::onCmdToggleShowDemandElementsNetwork(), and saveDemandElements().
void GNENet::computeJunction | ( | GNEJunction * | junction | ) |
trigger recomputation of junction shape and logic param[in] window The window to inform about delay
Definition at line 1523 of file GNENet.cpp.
References NBTrafficLightLogicCont::computeSingleLogic(), NBNode::getControllingTLS(), GNEJunction::getNBNode(), OptionsCont::getOptions(), and getTLLogicCont().
void GNENet::computeNetwork | ( | GNEApplicationWindow * | window, |
bool | force = false , |
||
bool | volatileOptions = false |
||
) |
trigger full netbuild computation param[in] window The window to inform about delay param[in] force Whether to force recomputation even if not needed param[in] volatileOptions enable or disable volatile options
Definition at line 1406 of file GNENet.cpp.
References computeAndUpdate(), GNENetHelper::AttributeCarriers::getEdges(), GNEViewParent::getGNEAppWindows(), OptionsCont::getOptions(), GNEViewNet::getViewParent(), GNEApplicationWindow::isUndoRedoAllowed(), myAttributeCarriers, myEdgesAndNumberOfLanes, myNeedRecompute, myViewNet, DataHandler::parse(), GeneralHandler::parse(), GNEApplicationWindow::setStatusBarText(), TL, WRITE_ERROR, and WRITE_MESSAGE.
Referenced by GNEApplicationWindow::computeJunctionWithVolatileOptions(), GNEApplicationWindow::onCmdOpenTLSPrograms(), GNEApplicationWindow::onCmdProcessButton(), GNEApplicationWindow::onCmdReloadTLSPrograms(), GNEApplicationWindow::onCmdSaveAdditionals(), GNEApplicationWindow::onCmdSaveDemandElements(), GNEApplicationWindow::onCmdSaveNetwork(), GNEApplicationWindow::onCmdSaveTLSPrograms(), and GNEAdditionalFrame::tagSelected().
GNEEdge * GNENet::createEdge | ( | GNEJunction * | src, |
GNEJunction * | dest, | ||
GNEEdge * | edgeTemplate, | ||
GNEUndoList * | undoList, | ||
const std::string & | suggestedName = "" , |
||
bool | wasSplit = false , |
||
bool | allowDuplicateGeom = false , |
||
bool | recomputeConnections = true |
||
) |
creates a new edge (unless an edge with the same geometry already exists)
[in] | src | The starting junction |
[in] | dest | The ending junction |
[in] | edgeTemplate | The template edge from which to copy attributes (including lane attrs) |
[in] | undoList | The undoList in which to mark changes |
[in] | suggestedName | |
[in] | wasSplit | Whether the edge was created from a split |
[in] | allowDuplicateGeom | Whether to create the edge even though another edge with the same geometry exists |
[in] | recomputeConnections | Whether connections on the affected junctions must be recomputed |
Definition at line 248 of file GNENet.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNENetHelper::AttributeCarriers::getEdges(), GNEAttributeCarrier::getID(), GNEEdge::getNBEdge(), GNEJunction::getNBNode(), OptionsCont::getOptions(), NBNode::getOutgoingEdges(), OptionsCont::getString(), myAttributeCarriers, myEdgeIDCounter, requireRecompute(), GNENetHelper::AttributeCarriers::retrieveEdge(), GNENetHelper::AttributeCarriers::retrieveEdges(), RIGHT, GNEJunction::setLogicValid(), TL, toString(), StringUtils::trim(), NBEdge::UNSPECIFIED_FRICTION, NBEdge::UNSPECIFIED_OFFSET, and NBEdge::UNSPECIFIED_WIDTH.
Referenced by addReversedEdge(), createRoundabout(), GNECreateEdgeFrame::processClick(), reverseEdge(), splitEdge(), and splitJunction().
|
privateinherited |
create full name
Definition at line 430 of file GUIGlObject.cpp.
References GUIGlObject::getMicrosimID(), StringBijection< T >::getString(), GUIGlObject::myGLObjectType, and GUIGlObject::TypeNames.
Referenced by GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
GNEJunction * GNENet::createJunction | ( | const Position & | pos, |
GNEUndoList * | undoList | ||
) |
creates a new junction
[in] | position | The position of the new junction |
[in] | undoList | The undolist in which to mark changes |
Definition at line 232 of file GNENet.cpp.
References GNEUndoList::add(), GNENetHelper::AttributeCarriers::getJunctions(), OptionsCont::getOptions(), OptionsCont::getString(), myAttributeCarriers, myJunctionIDCounter, and toString().
Referenced by addReversedEdge(), joinSelectedJunctions(), GNECreateEdgeFrame::processClick(), splitEdge(), and splitJunction().
void GNENet::createRoundabout | ( | GNEJunction * | junction, |
GNEUndoList * | undoList | ||
) |
transform the given junction into a roundabout
Definition at line 1168 of file GNENet.cpp.
References GNEUndoList::add(), GeomHelper::angleDiff(), Position::angleTo2D(), GNEUndoList::begin(), GNEEdge::copyTemplate(), createEdge(), deleteJunction(), GNEUndoList::end(), OptionsCont::getBool(), NBNode::getEdges(), OptionsCont::getFloat(), GNEJunction::getGNECrossings(), GNEJunction::getGNEIncomingEdges(), GNEJunction::getGNEOutgoingEdges(), GNEAttributeCarrier::getID(), GNEEdge::getNBEdge(), GNEJunction::getNBNode(), NBEdge::getNumLanes(), GNEEdge::getOppositeEdges(), OptionsCont::getOptions(), GNEJunction::getPositionInView(), NBEdge::getPriority(), NBNode::getRadius(), GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, MAX2(), MIN2(), myAttributeCarriers, GNENetHelper::AttributeCarriers::retrieveEdge(), GNEEdge::setAttribute(), splitEdge(), SUMO_ATTR_ID, SUMO_ATTR_SHAPE, TL, toString(), NBNode::UNSPECIFIED_RADIUS, and NBNode::updateSurroundingGeometry().
Referenced by GNEViewNet::onCmdConvertRoundabout().
void GNENet::deleteAdditional | ( | GNEAdditional * | additional, |
GNEUndoList * | undoList | ||
) |
remove additional
[in] | additional | The Shape to be removed |
[in] | undoList | The undolist in which to mark changes |
Definition at line 676 of file GNENet.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), deleteAdditional(), deleteDemandElement(), deleteGenericData(), GNEUndoList::end(), GNEHierarchicalElement::getChildAdditionals(), GNEHierarchicalElement::getChildDemandElements(), GNEHierarchicalElement::getChildGenericDatas(), GNEAttributeCarrier::getTagStr(), MODEDELETE, and TL.
Referenced by clearAdditionalElements(), deleteAdditional(), deleteDemandElement(), deleteEdge(), GNEAdditional::deleteGLObject(), deleteLane(), GNEViewNet::deleteNetworkAttributeCarrier(), GNEFixAdditionalElements::onCmdAccept(), GNEFixElementsDialog::onCmdAccept(), GNEElementTree::onCmdDeleteItem(), GNEViewNet::onCmdTransformPOI(), GNEAdditionalHandler::overwriteAdditional(), and GNEDeleteFrame::removeSelectedAttributeCarriers().
void GNENet::deleteConnection | ( | GNEConnection * | connection, |
GNEUndoList * | undoList | ||
) |
remove connection
[in] | connection | The connection to be removed |
[in] | undoList | The undolist in which to mark changes |
Definition at line 643 of file GNENet.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNEConnection::getEdgeFrom(), GNEConnection::getNBConnection(), GNEConnection::getNBEdgeConnection(), GNEEdge::getToJunction(), GNEJunction::invalidateTLS(), GNEAttributeCarrier::isAttributeCarrierSelected(), GNEJunction::markAsModified(), MODEDELETE, requireRecompute(), and TL.
Referenced by GNEConnectorFrame::buildConnection(), clearJunctionConnections(), GNEViewNet::deleteNetworkAttributeCarrier(), deleteNetworkElement(), GNEElementTree::onCmdDeleteItem(), and GNEDeleteFrame::removeSelectedAttributeCarriers().
void GNENet::deleteCrossing | ( | GNECrossing * | crossing, |
GNEUndoList * | undoList | ||
) |
remove crossing
[in] | crossing | The crossing to be removed |
[in] | undoList | The undolist in which to mark changes |
Definition at line 658 of file GNENet.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), NBNode::Crossing::customShape, NBNode::Crossing::customTLIndex, NBNode::Crossing::customTLIndex2, NBNode::Crossing::edges, GNEUndoList::end(), GNECrossing::getNBCrossing(), GNECrossing::getParentJunction(), GNEAttributeCarrier::isAttributeCarrierSelected(), MODEDELETE, NBNode::Crossing::priority, requireRecompute(), TL, and NBNode::Crossing::width.
Referenced by cleanInvalidCrossings(), deleteJunction(), GNEViewNet::deleteNetworkAttributeCarrier(), deleteNetworkElement(), GNEFixNetworkElements::FixCrossingOptions::fixElements(), joinSelectedJunctions(), GNEElementTree::onCmdDeleteItem(), GNEJunction::removeEdgeFromCrossings(), GNEEdge::removeEdgeFromCrossings(), and GNEDeleteFrame::removeSelectedAttributeCarriers().
void GNENet::deleteDataInterval | ( | GNEDataInterval * | dataInterval, |
GNEUndoList * | undoList | ||
) |
remove data interval
[in] | dataInterval | The data interval to be removed |
[in] | undoList | The undolist in which to mark changes |
Definition at line 736 of file GNENet.cpp.
References GNEUndoList::begin(), deleteGenericData(), GNEUndoList::end(), GNEDataInterval::getGenericDataChildren(), GNEAttributeCarrier::getTagStr(), MODEDELETE, and TL.
Referenced by GNEViewNet::deleteDataAttributeCarrier(), deleteDataSet(), and GNEElementTree::onCmdDeleteItem().
void GNENet::deleteDataSet | ( | GNEDataSet * | dataSet, |
GNEUndoList * | undoList | ||
) |
remove data set
[in] | dataSet | The data set to be removed |
[in] | undoList | The undolist in which to mark changes |
Definition at line 723 of file GNENet.cpp.
References GNEUndoList::begin(), deleteDataInterval(), GNEUndoList::end(), GNEDataSet::getDataIntervalChildren(), GNEAttributeCarrier::getTagStr(), MODEDELETE, and TL.
Referenced by clearDataElements(), GNEViewNet::deleteDataAttributeCarrier(), and GNEElementTree::onCmdDeleteItem().
void GNENet::deleteDemandElement | ( | GNEDemandElement * | demandElement, |
GNEUndoList * | undoList | ||
) |
remove demand element
[in] | demandElement | The Shape to be removed |
[in] | undoList | The undolist in which to mark changes |
Definition at line 697 of file GNENet.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), deleteAdditional(), deleteDemandElement(), deleteGenericData(), GNEUndoList::end(), GNEDemandElement::getAttribute(), GNEHierarchicalElement::getChildAdditionals(), GNEHierarchicalElement::getChildDemandElements(), GNEHierarchicalElement::getChildGenericDatas(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNE_ATTR_DEFAULT_VTYPE, MODEDELETE, SUMO_TAG_VTYPE, and TL.
Referenced by clearDemandElements(), deleteAdditional(), GNEViewNet::deleteDemandAttributeCarrier(), deleteDemandElement(), deleteEdge(), deleteGenericData(), GNEDemandElement::deleteGLObject(), deleteJunction(), deleteLane(), GNEFixDemandElements::FixRouteOptions::fixElements(), GNEFixDemandElements::FixVehicleOptions::fixElements(), GNEFixDemandElements::FixPersonPlanOptions::fixElements(), GNEElementTree::onCmdDeleteItem(), GNERouteHandler::overwriteDemandElement(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToTripJunctions(), GNERouteHandler::transformToTripTAZs(), and GNERouteHandler::transformToVehicle().
void GNENet::deleteEdge | ( | GNEEdge * | edge, |
GNEUndoList * | undoList, | ||
bool | recomputeConnections | ||
) |
removes edge
[in] | edge | The edge to be removed |
[in] | undoList | The undolist in which to mark changes |
Definition at line 433 of file GNENet.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), deleteAdditional(), deleteDemandElement(), deleteGenericData(), GNEUndoList::end(), GNEHierarchicalElement::getChildAdditionals(), GNEHierarchicalElement::getChildDemandElements(), GNEHierarchicalElement::getChildGenericDatas(), GNEEdge::getFromJunction(), GNEJunction::getGNEIncomingEdges(), GNEJunction::getGNEOutgoingEdges(), GNEEdge::getLanes(), GNEJunction::getNBNode(), GNEEdge::getToJunction(), GNE_TAG_ROUTE_EMBEDDED, GNEPathManager::invalidateLanePath(), NBNode::isTLControlled(), MODEDELETE, myDataPathManager, myDemandPathManager, myNetworkPathManager, PRIORITY, GNEJunction::removeConnectionsFrom(), GNEJunction::removeConnectionsTo(), GNEJunction::removeEdgeFromCrossings(), requireRecompute(), GNEJunction::setAttribute(), GNEJunction::setLogicValid(), SUMO_ATTR_TYPE, TL, and toString().
Referenced by GNEEdge::deleteGLObject(), deleteJunction(), deleteLane(), GNEViewNet::deleteNetworkAttributeCarrier(), deleteNetworkElement(), GNEFixNetworkElements::FixEdgeOptions::fixElements(), joinSelectedJunctions(), mergeJunctions(), GNEElementTree::onCmdDeleteItem(), GNEDeleteFrame::removeSelectedAttributeCarriers(), and reverseEdge().
void GNENet::deleteGenericData | ( | GNEGenericData * | genericData, |
GNEUndoList * | undoList | ||
) |
remove generic data
[in] | genericData | The generic data to be removed |
[in] | undoList | The undolist in which to mark changes |
Definition at line 749 of file GNENet.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), deleteDemandElement(), deleteGenericData(), GNEUndoList::end(), GNEHierarchicalElement::getChildDemandElements(), GNEHierarchicalElement::getChildGenericDatas(), GNEDataSet::getDataIntervalChildren(), GNEGenericData::getDataIntervalParent(), GNEDataInterval::getDataSetParent(), GNEDataInterval::getGenericDataChildren(), GNEAttributeCarrier::getTagStr(), MODEDELETE, and TL.
Referenced by deleteAdditional(), GNEViewNet::deleteDataAttributeCarrier(), deleteDataInterval(), deleteDemandElement(), deleteEdge(), deleteGenericData(), GNEGenericData::deleteGLObject(), deleteLane(), GNEElementTree::onCmdDeleteItem(), and GNEDeleteFrame::removeSelectedAttributeCarriers().
|
virtualinherited |
delete GLObject (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, GNEConnection, GNECrossing, GNEEdge, GNEEdgeType, GNEInternalLane, GNEJunction, GNELane, GNELaneType, GNEWalkingArea, and GNENetworkElement.
Definition at line 221 of file GUIGlObject.cpp.
void GNENet::deleteJunction | ( | GNEJunction * | junction, |
GNEUndoList * | undoList | ||
) |
removes junction and all incident edges
[in] | junction | The junction to be removed |
[in] | undoList | The undolist in which to mark changes |
Definition at line 386 of file GNENet.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), deleteCrossing(), deleteDemandElement(), deleteEdge(), GNEUndoList::end(), GNEHierarchicalElement::getChildDemandElements(), NBNode::getEdges(), GNENetHelper::AttributeCarriers::getEdges(), GNEJunction::getGNECrossings(), GNEJunction::getJunctionNeighbours(), GNEJunction::getNBNode(), GNEPathManager::invalidateJunctionPath(), MODEDELETE, myAttributeCarriers, myDataPathManager, myDemandPathManager, myNetworkPathManager, PRIORITY, GNEJunction::setAttribute(), SUMO_ATTR_TYPE, TL, and toString().
Referenced by createRoundabout(), GNEJunction::deleteGLObject(), GNEViewNet::deleteNetworkAttributeCarrier(), deleteNetworkElement(), joinSelectedJunctions(), mergeJunctions(), GNEElementTree::onCmdDeleteItem(), GNEDeleteFrame::removeSelectedAttributeCarriers(), removeSolitaryJunctions(), replaceJunctionByGeometry(), and splitJunction().
void GNENet::deleteLane | ( | GNELane * | lane, |
GNEUndoList * | undoList, | ||
bool | recomputeConnections | ||
) |
removes lane
[in] | lane | The lane to be removed |
[in] | undoList | The undolist in which to mark changes |
Definition at line 601 of file GNENet.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), deleteAdditional(), deleteDemandElement(), deleteEdge(), deleteGenericData(), GNEUndoList::end(), GNEHierarchicalElement::getChildAdditionals(), GNEHierarchicalElement::getChildDemandElements(), GNEHierarchicalElement::getChildGenericDatas(), GNEEdge::getFromJunction(), GNELane::getIndex(), NBEdge::getLaneStruct(), GNEEdge::getNBEdge(), NBEdge::getNumLanes(), GNELane::getParentEdge(), GNEEdge::getToJunction(), GNEPathManager::invalidateLanePath(), MODEDELETE, myDataPathManager, myDemandPathManager, myNetworkPathManager, GNEJunction::removeConnectionsFrom(), GNEJunction::removeConnectionsTo(), requireRecompute(), GNEJunction::setLogicValid(), and TL.
Referenced by GNELane::deleteGLObject(), GNEViewNet::deleteNetworkAttributeCarrier(), deleteNetworkElement(), GNEElementTree::onCmdDeleteItem(), removeRestrictedLane(), and GNEDeleteFrame::removeSelectedAttributeCarriers().
void GNENet::deleteMeanData | ( | GNEMeanData * | meanData, |
GNEUndoList * | undoList | ||
) |
remove generic data
[in] | genericData | The generic data to be removed |
[in] | undoList | The undolist in which to mark changes |
Definition at line 779 of file GNENet.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNEAttributeCarrier::getTagStr(), MODEDELETE, and TL.
Referenced by clearMeanDataElements().
void GNENet::deleteNetworkElement | ( | GNENetworkElement * | networkElement, |
GNEUndoList * | undoList | ||
) |
delete network element
[in] | networkElement | The network element to be removed |
[in] | undoList | The undolist in which to mark changes |
Definition at line 345 of file GNENet.cpp.
References deleteConnection(), deleteCrossing(), deleteEdge(), deleteJunction(), deleteLane(), GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), myAttributeCarriers, GNENetHelper::AttributeCarriers::retrieveConnection(), GNENetHelper::AttributeCarriers::retrieveCrossing(), GNENetHelper::AttributeCarriers::retrieveEdge(), GNENetHelper::AttributeCarriers::retrieveJunction(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, and SUMO_TAG_LANE.
Referenced by GNEConnection::deleteGLObject(), GNECrossing::deleteGLObject(), GNEEdgeType::deleteGLObject(), and GNELaneType::deleteGLObject().
void GNENet::disableUpdateData | ( | ) |
disable update data elements after inserting or removing an element in net
Definition at line 2819 of file GNENet.cpp.
References myUpdateDataEnabled.
Referenced by GNEApplicationWindow::loadDataElements(), GNEApplicationWindow::onCmdOpenDataElements(), and GNEApplicationWindow::onCmdReloadDataElements().
void GNENet::disableUpdateGeometry | ( | ) |
disable update geometry of elements after inserting or removing an element in net
Definition at line 2796 of file GNENet.cpp.
References myUpdateGeometryEnabled.
Referenced by GNEAdditionalHandler::buildTAZ(), GNEDeleteFrame::removeAttributeCarrier(), and GNEDeleteFrame::removeSelectedAttributeCarriers().
|
virtual |
Draws the object.
[in] | s | The settings for the current view (may influence drawing) |
Implements GUIGlObject.
Definition at line 198 of file GNENet.cpp.
References GLHelper::drawBoundary(), and getCenteringBoundary().
Referenced by GNEViewNet::doPaintGL().
|
virtualinherited |
Draws additional, user-triggered visualisations.
[in] | parent | The view |
[in] | s | The settings for the current view (may influence drawing) |
Reimplemented in GUIBaseVehicle, GUIContainer, and GUIPerson.
Definition at line 253 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
|
inherited |
draw name of item
Definition at line 436 of file GUIGlObject.cpp.
References GLHelper::drawTextSettings(), GUIGlObject::getMicrosimID(), and GUIVisualizationTextSettings::show().
Referenced by GNEEdge::drawEdgeName(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GNETAZ::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNECrossing::drawGL(), GNEWalkingArea::drawGL(), GUIContainer::drawGL(), GUIEdge::drawGL(), GUIPerson::drawGL(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), GNEJunction::drawJunctionName(), GNELaneAreaDetector::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GUIBaseVehicle::drawOnPos(), GNEDemandElementPlan::drawPlanLanePartial(), and GNEPoly::drawPolygonNameAndType().
void GNENet::duplicateLane | ( | GNELane * | lane, |
GNEUndoList * | undoList, | ||
bool | recomputeConnections | ||
) |
duplicates lane
[in] | lane | The lane to be duplicated |
[in] | undoList | The undolist in which to mark changes |
Definition at line 788 of file GNENet.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNEEdge::getFromJunction(), GNELane::getIndex(), NBEdge::getLaneStruct(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEEdge::getToJunction(), requireRecompute(), GNEJunction::setLogicValid(), and TL.
Referenced by addGreenVergeLane(), addRestrictedLane(), GNEViewNet::onCmdDuplicateLane(), and splitJunction().
void GNENet::enableUpdateData | ( | ) |
Definition at line 2808 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getDataIntervals(), myAttributeCarriers, and myUpdateDataEnabled.
Referenced by GNEApplicationWindow::loadDataElements(), GNEApplicationWindow::onCmdOpenDataElements(), and GNEApplicationWindow::onCmdReloadDataElements().
void GNENet::enableUpdateGeometry | ( | ) |
Definition at line 2790 of file GNENet.cpp.
References myUpdateGeometryEnabled.
Referenced by GNEAdditionalHandler::buildTAZ(), GNEDeleteFrame::removeAttributeCarrier(), and GNEDeleteFrame::removeSelectedAttributeCarriers().
void GNENet::expandBoundary | ( | const Boundary & | newBoundary | ) |
FXApp * GNENet::getApp | ( | ) |
get pointer to the main App
Definition at line 1553 of file GNENet.cpp.
References myViewNet.
Referenced by cleanInvalidCrossings(), and joinSelectedJunctions().
GNENetHelper::AttributeCarriers * GNENet::getAttributeCarriers | ( | ) | const |
get all attribute carriers used in this net
Definition at line 127 of file GNENet.cpp.
References myAttributeCarriers.
Referenced by GNEDataSet::addDataIntervalChild(), GNEDataInterval::addGenericDataChild(), GNEEdge::addLane(), GNETAZFrame::addOrRemoveTAZMember(), GNEViewNet::addRestrictedLane(), GNETAZFrame::CurrentTAZ::addTAZChild(), GNEVehicleFrame::addVehicle(), GNEAdditionalHandler::buildAccess(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEViewNet::buildColorRainbow(), GNEContainerFrame::buildContainer(), GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), GNERouteHandler::buildContainerPlan(), GNERouteHandler::buildContainerStop(), GNEAdditionalHandler::buildContainerStop(), GNEDataHandler::buildDataInterval(), GNEDataHandler::buildDataSet(), GNEAdditionalHandler::buildDestProbReroute(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEDataHandler::buildEdgeData(), GNEMeanDataHandler::buildEdgeMeanData(), GNELane::buildEdgeOperations(), GNEDataHandler::buildEdgeRelationData(), GNERouteHandler::buildEmbeddedRoute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNETLSEditorFrame::buildInternalLanes(), GNEAdditionalHandler::buildJpsObstacle(), GNEAdditionalHandler::buildJpsWalkableArea(), GNEAdditionalHandler::buildLaneCalibrator(), GNEMeanDataHandler::buildLaneMeanData(), GNELane::buildLaneOperations(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingAreaReroute(), GNEAdditionalHandler::buildParkingSpace(), GNEPersonFrame::buildPerson(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonPlan(), GNERouteHandler::buildPersonStop(), GNERouteHandler::buildPersonTrip(), GNEAdditionalHandler::buildPOI(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildPolygon(), GNEAdditionalHandler::buildRerouter(), GNERouteHandler::buildRide(), GNERouteHandler::buildRoute(), GNERouteHandler::buildRouteDistribution(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEDataHandler::buildTAZRelationData(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNELane::buildTemplateOperations(), GNEAdditionalHandler::buildTractionSubstation(), GNEAdditionalHandler::buildTrainStop(), GNERouteHandler::buildTranship(), GNERouteHandler::buildTransport(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNERouteHandler::buildVehicleOverRoute(), GNEVehicleFrame::buildVehicleOverRoute(), GNERouteHandler::buildVType(), GNERouteHandler::buildVTypeDistribution(), GNERouteHandler::buildWalk(), GNEWireFrame::buildWireOverView(), GNEPathManager::PathCalculator::calculateDijkstraPath(), GNEPathManager::PathCalculator::calculateReachability(), GNEConnection::changeTLIndex(), GNERouteHandler::checkDuplicatedDemandElement(), GNEAdditionalHandler::checkDuplicatedID(), GNEViewNet::checkMergeJunctions(), GNETLSEditorFrame::cleanup(), GNEPathCreator::clearEdgeColors(), GNEEdge::clearGNEConnections(), GNEPathCreator::clearJunctionColors(), GNEConsecutiveSelector::clearPath(), GNEJunction::clearWalkingAreas(), GNEVehicle::computePathElement(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), GNEElementTree::createPopUpMenu(), GNETLSEditorFrame::TLSDefinition::createTLS(), GNEViewNet::deleteDataAttributeCarrier(), GNEViewNet::deleteDemandAttributeCarrier(), GNEViewNet::deleteNetworkAttributeCarrier(), GNEViewNet::drawTemporalE1TLSLines(), GNEViewNet::drawTemporalJunctionTLSLines(), GNEViewNet::drawTemporalRoundabout(), GNEPlanCreator::drawTemporalRoute(), GNETAZFrame::dropTAZMembers(), GNETLSEditorFrame::editJunction(), GNEMatchGenericDataAttribute::enableMatchGenericDataAttribute(), GNEFixNetworkElements::FixEdgeOptions::fixElements(), GNEFixNetworkElements::FixCrossingOptions::fixElements(), GNEAttributesCreatorRow::generateID(), GNEViewNet::getAdditionalAtPopupPosition(), GNEAdditionalHandler::getAdditionalParent(), GNEViewNet::getConnectionAtPopupPosition(), GNERouteHandler::getContainerParent(), GNEViewNet::getCrossingAtPopupPosition(), GNEGenericDataFrame::DataSetSelector::getDataSet(), GNEViewNetHelper::IntervalBar::getDataSet(), GNEViewNet::getDemandElementAtPopupPosition(), GNERouteHandler::getDistributionElements(), GNEDemandElement::getDistributionParents(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getEdgeDataAttrs(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GNESelectorFrame::getMatches(), GNEEdge::getMoveOperation(), GNEEdge::getOppositeEdges(), GNERouteHandler::getPersonParent(), GNEViewNet::getPOIAtPopupPosition(), GNEViewNet::getPolygonAtPopupPosition(), GNEAdditional::getPopUpMenu(), GNEVehicle::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNEDemandElementDistribution::getPossibleDistributionKeys(), GNEViewNet::getRelDataAttrs(), GNEAdditionalHandler::getRerouterIntervalParent(), GNEViewNet::getShapeEditedAtPopupPosition(), GNEViewNet::getTAZAtPopupPosition(), GNERouteHandler::getType(), GNEDemandElement::getTypeParent(), GNEViewNet::getWalkingAreaAtPopupPosition(), GNEEdge::GNEEdge(), GNETypeFrame::GNETypeFrame(), GNESelectorFrame::handleIDs(), GNETLSEditorFrame::handleMultiChange(), GNEGenericDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNEViewNet::hotkeyDel(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectSingleElement(), GNEJunction::invalidateTLS(), GNEDetector::isDetectorValid(), GNEAccess::isValid(), GNEBusStop::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEChargingStation::isValid(), GNEClosingLaneReroute::isValid(), GNEClosingReroute::isValid(), GNEContainerStop::isValid(), GNEDestProbReroute::isValid(), GNEEntryExitDetector::isValid(), GNEOverheadWire::isValid(), GNEParkingArea::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNERouteProbe::isValid(), GNERouteProbReroute::isValid(), GNEVaporizer::isValid(), GNEDataSet::isValid(), GNEEdgeRelData::isValid(), GNEMeanData::isValid(), GNETAZRelData::isValid(), GNEContainer::isValid(), GNEPerson::isValid(), GNEStop::isValid(), GNEVehicle::isValid(), GNEEdge::isValid(), GNEEdgeType::isValid(), GNEJunction::isValid(), GNEPOI::isValid(), GNEAdditional::isValidAdditionalID(), GNEAdditional::isValidAdditionalID(), GNEDemandElement::isValidDemandElementID(), GNEDemandElement::isValidDemandElementID(), GNEAdditional::isValidDetectorID(), GNEAdditional::isValidDetectorID(), GNEAttributesCreatorRow::isValidID(), GNERouteHandler::isViaAttributeValid(), GNEJunction::markAsModified(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEFrameAttributeModules::AttributesEditorRow::mergeJunction(), GNERerouterIntervalDialog::onCmdAddClosingLaneReroute(), GNERerouterIntervalDialog::onCmdAddClosingReroute(), GNERerouterIntervalDialog::onCmdAddDestProbReroute(), GNECalibratorDialog::onCmdAddFlow(), GNEViewNet::onCmdAddJoinTLS(), GNERerouterIntervalDialog::onCmdAddParkingAreaReroute(), GNEViewNet::onCmdAddReversedEdge(), GNEViewNet::onCmdAddReversedEdgeDisconnected(), GNERerouterIntervalDialog::onCmdAddRouteProbReroute(), GNEViewNet::onCmdAddTLS(), GNECalibratorDialog::onCmdAddVehicleType(), GNEViewNet::onCmdClearConnections(), GNEConnectorFrame::ConnectionOperations::onCmdClearSelectedConnections(), GNECalibratorDialog::onCmdClickedRoute(), GNECalibratorDialog::onCmdClickedVehicleType(), GNEViewNet::onCmdClosePolygon(), GNECreateEdgeFrame::EdgeTypeSelector::onCmdDeleteEdgeType(), GNEViewNet::onCmdDuplicateLane(), GNEViewNet::onCmdEgeApplyTemplate(), GNEViewNet::onCmdLaneReachability(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), GNEViewParent::onCmdLocate(), GNEViewNet::onCmdOpenPolygon(), GNEApplicationWindow::onCmdOpenSUMOGUI(), GNEMatchGenericDataAttribute::onCmdProcessString(), GNEViewNet::onCmdResetConnections(), GNEViewNet::onCmdResetEdgeEndpoint(), GNEViewNet::onCmdResetEdgeEndPoints(), GNEViewNet::onCmdResetEndPoints(), GNEViewNet::onCmdResetJunctionShape(), GNEViewNet::onCmdResetLaneCustomShape(), GNEViewNet::onCmdResetLength(), GNEViewNet::onCmdResetOppositeLane(), GNEViewNet::onCmdReverseEdge(), GNETLSEditorFrame::TLSDefinition::onCmdSaveChanges(), GNEApplicationWindow::onCmdSaveMeanDatas(), GNEApplicationWindow::onCmdSaveNetwork(), GNEApplicationWindow::onCmdSaveSumoConfig(), GNEMatchGenericDataAttribute::onCmdSelectAttribute(), GNEConnectorFrame::ConnectionOperations::onCmdSelectConflicts(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), GNEDemandElementSelector::onCmdSelectDemandElement(), GNEViewNet::onCmdSelectPolygonElements(), GNEMatchGenericDataAttribute::onCmdSelectTag(), GNECrossingFrame::CrossingParameters::onCmdSetAttribute(), GNEMatchGenericDataAttribute::onCmdSetFromTAZ(), GNEMatchGenericDataAttribute::onCmdSetToTAZ(), GNEViewNet::onCmdSimplifyShape(), GNEViewNet::onCmdSmoothEdges(), GNEViewNet::onCmdSmoothEdgesElevation(), GNEViewNet::onCmdStraightenEdges(), GNEViewNet::onCmdStraightenEdgesElevation(), GNEViewNet::onCmdToggleDrawSpreadVehicles(), GNENetworkSelector::onCmdUseSelectedElements(), GNEApplicationWindow::onUpdNeedsNetworkElement(), GNEApplicationWindow::onUpdSaveAdditionalsAs(), GNEApplicationWindow::onUpdSaveDataElementsAs(), GNEApplicationWindow::onUpdSaveDemandElementsAs(), GNEApplicationWindow::onUpdSaveEdgeTypes(), GNEApplicationWindow::onUpdSaveEdgeTypesAs(), GNEApplicationWindow::onUpdSaveJuPedSimElementsAs(), GNEApplicationWindow::onUpdSaveMeanDatasAs(), GNEApplicationWindow::onUpdSaveTLSPrograms(), GNEAttributeCarrier::parse(), GNERouteHandler::parseEdge(), GNERouteHandler::parseEdgeFromLaneID(), GNEAdditionalHandler::parseEdges(), GNEMeanDataHandler::parseEdges(), GNERouteHandler::parseEdges(), GNERouteHandler::parseJunction(), GNEAdditionalHandler::parseLanes(), GNERouteHandler::parseStopEdge(), GNERouteHandler::parseTAZ(), GNETLSEditorFrame::parseTLSPrograms(), GNECreateEdgeFrame::processClick(), GNEShapeFrame::processClickPOI(), GNEShapeFrame::processClickPOIGeo(), GNEShapeFrame::processClickPOILanes(), GNEJunction::rebuildGNECrossings(), GNEViewNet::recalculateBoundaries(), GNEPlanCreator::recalculatePath(), GNEChange_Additional::redo(), GNEChange_Attribute::redo(), GNEChange_Crossing::redo(), GNEChange_DataSet::redo(), GNEChange_DemandElement::redo(), GNEChange_Edge::redo(), GNEChange_EdgeType::redo(), GNEChange_Junction::redo(), GNEChange_MeanData::redo(), GNEDemandElementSelector::refreshDemandElementSelector(), GNESelectorParent::refreshSelectorParentModule(), GNEEdge::remakeGNEConnections(), GNEEdge::removeConnection(), GNEJunction::removeConnectionsTo(), GNEDataSet::removeDataIntervalChild(), GNEDataInterval::removeGenericDataChild(), GNEEdge::removeLane(), GNEViewNet::removeRestrictedLane(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEJunction::removeTLSConnections(), GNEAdditional::replaceAdditionalParent(), GNEAdditional::replaceDemandElementParent(), GNEDemandElement::replaceDemandElementParent(), GNEDemandElement::replaceFirstParentAdditional(), GNEGenericData::replaceFirstParentEdge(), GNEDemandElement::replaceFirstParentEdge(), GNEDemandElement::replaceFirstParentJunction(), GNEJunction::replaceIncomingConnections(), GNEDemandElement::replaceLastParentAdditional(), GNEGenericData::replaceLastParentEdge(), GNEDemandElement::replaceLastParentEdge(), GNEDemandElement::replaceLastParentJunction(), GNEGenericData::replaceParentTAZElement(), GNEDemandElementPlan::replacePlanParent(), GNEViewNet::restrictLane(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNEJunction::retrieveGNEWalkingArea(), GNELoadThread::run(), GNEDeleteFrame::selectedACsToDelete(), GNEAdditional::setAdditionalID(), GNEAccess::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNEVehicle::setAttribute(), GNEEdge::setAttribute(), GNEEdgeType::setAttribute(), GNEJunction::setAttribute(), GNEEdge::setAttribute(), GNEJunction::setAttribute(), GNEDemandElement::setDemandElementID(), GNEJunction::setJunctionType(), GNEJunction::setLogicValid(), GNEJunction::setMoveShape(), GNEPathCreator::setPossibleCandidates(), GNEPathCreator::setSpecialCandidates(), GNETAZFrame::CurrentTAZ::setTAZ(), GNEDemandElement::setVTypeDistributionParent(), GNEShapeFrame::shapeDrawed(), GNETAZFrame::shapeDrawed(), GNEMoveFrame::show(), GNEContainerPlanFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNEElementTree::showAttributeCarrierParents(), GNEFrameAttributeModules::AttributesEditor::showAttributeEditorModule(), GNEDemandElementSelector::showDemandElementSelector(), GNEElementTree::showHierarchicalElementChildren(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToTripJunctions(), GNERouteHandler::transformToTripTAZs(), GNERouteHandler::transformToVehicle(), GNEChange_Additional::undo(), GNEChange_Attribute::undo(), GNEChange_Crossing::undo(), GNEChange_DataSet::undo(), GNEChange_DemandElement::undo(), GNEChange_Edge::undo(), GNEChange_EdgeType::undo(), GNEChange_Junction::undo(), GNEChange_MeanData::undo(), GNEViewNetHelper::ViewObjectsSelector::updateDemandElements(), GNEPathCreator::updateEdgeColors(), GNEEdge::updateFirstParentJunction(), GNECalibratorDialog::updateFlowAndLabelButton(), GNEPathCreator::updateJunctionColors(), GNEConsecutiveSelector::updateLaneColors(), GNEViewNetHelper::ViewObjectsSelector::updateNetworkElements(), GNEApplicationWindow::updateRecomputingLabel(), GNECalibratorDialog::updateRouteTable(), GNEEdge::updateSecondParentJunction(), GNEMatchGenericDataAttribute::updateTAZComboBox(), GNECalibratorDialog::updateVehicleTypeTable(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_DataInterval::~GNEChange_DataInterval(), GNEChange_DataSet::~GNEChange_DataSet(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_EdgeType::~GNEChange_EdgeType(), GNEChange_GenericData::~GNEChange_GenericData(), GNEChange_MeanData::~GNEChange_MeanData(), GNEEdge::~GNEEdge(), and GNEJunction::~GNEJunction().
const Boundary & GNENet::getBoundary | ( | ) | const |
returns the bounder of the network
Definition at line 157 of file GNENet.cpp.
References myGrid.
Referenced by getCenteringBoundary(), and GNEDemandElement::getColorByScheme().
|
virtual |
Returns the boundary to which the view shall be centered in order to show the object.
Implements GUIGlObject.
Definition at line 205 of file GNENet.cpp.
References getBoundary().
Referenced by drawGL().
|
inlinevirtualinherited |
Returns the priority of receiving mouse clicks.
Reimplemented in GUIEdge, GUILane, GUIPointOfInterest, and GUIPolygon.
Definition at line 161 of file GUIGlObject.h.
References GUIGlObject::myGLObjectType.
Referenced by GUISUMOAbstractView::getObjectAtPosition(), and ComparatorClickPriority::operator()().
|
inlinevirtualinherited |
Reimplemented in GUIJunctionWrapper, GUIVehicle, GUIMEVehicle, GNEEdgeData, GNEEdgeRelData, GNETAZRelData, GNEJunction, GNELane, GUIBaseVehicle, GUIContainer, GUIEdge, GUILane, and GUIPerson.
Definition at line 203 of file GUIGlObject.h.
Referenced by GNEPerson::drawGL().
GNEPathManager * GNENet::getDataPathManager | ( | ) |
get data path manager
Definition at line 151 of file GNENet.cpp.
References myDataPathManager.
Referenced by GNEEdgeRelData::computePathElement(), GNEViewNet::doPaintGL(), GNELane::drawChildren(), GNEJunction::drawJunctionChildren(), GNEGenericDataFrame::GNEGenericDataFrame(), GNEViewNet::redrawPathElementContours(), GNEDataInterval::removeGenericDataChild(), and GNEEdgeData::updateGeometry().
double GNENet::getDataSetIntervalMaximumEnd | ( | ) | const |
get maximum interval
Definition at line 2306 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getDataIntervals(), myAttributeCarriers, and SUMO_ATTR_END.
double GNENet::getDataSetIntervalMinimumBegin | ( | ) | const |
get minimum interval
Definition at line 2289 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getDataIntervals(), myAttributeCarriers, and SUMO_ATTR_BEGIN.
GNEPathManager * GNENet::getDemandPathManager | ( | ) |
get demand path manager
Definition at line 145 of file GNENet.cpp.
References myDemandPathManager.
Referenced by GNEDemandElement::buildMenuCommandRouteLength(), GNERouteHandler::canReverse(), GNERouteHandler::canReverse(), GNERoute::computePathElement(), GNEVehicle::computePathElement(), GNEDemandElementPlan::computePlanPathElement(), GNEViewNet::doPaintGL(), GNELane::drawChildren(), GNEContainer::drawGL(), GNEVehicle::drawGL(), GNEJunction::drawJunctionChildren(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEDemandElementPlan::drawPlanJunctionPartial(), GNEDemandElementPlan::drawPlanLanePartial(), GNEVehicle::getDemandElementProblem(), GNEDemandElement::getEdgeStopIndex(), GNEContainerFrame::GNEContainerFrame(), GNEContainerPlanFrame::GNEContainerPlanFrame(), GNEPersonFrame::GNEPersonFrame(), GNEPersonPlanFrame::GNEPersonPlanFrame(), GNERouteFrame::GNERouteFrame(), GNEVehicleFrame::GNEVehicleFrame(), GNEVehicle::isDemandElementValid(), GNEApplicationWindow::onCmdComputePathManager(), GNEViewNet::onCmdLaneReachability(), GNEApplicationWindow::onUpdComputePathManager(), GNEViewNet::redrawPathElementContours(), GNEConnection::setAttribute(), GNECrossing::setAttribute(), GNEEdge::setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), GNERouteHandler::transformToRouteFlow(), and GNERouteHandler::transformToVehicle().
NBEdgeCont & GNENet::getEdgeCont | ( | ) |
returns the NBEdgeCont of the underlying netbuilder
Definition at line 2167 of file GNENet.cpp.
References NBNetBuilder::getEdgeCont(), and myNetBuilder.
Referenced by GNEViewNet::getEdgeLaneParamKeys(), GNELane::isValid(), GNETLSEditorFrame::parseTLSPrograms(), and GNELane::setAttribute().
const std::map< std::string, int > & GNENet::getEdgesAndNumberOfLanes | ( | ) | const |
et edges and number of lanes
Definition at line 169 of file GNENet.cpp.
References myEdgesAndNumberOfLanes.
|
inlinevirtualinherited |
return exaggeration associated with this GLObject
Reimplemented in GUIBaseVehicle, GUIBusStop, GUICalibrator, GUIChargingStation, GUIDetectorWrapper, GUIE3Collector::MyWrapper, GUIInstantInductLoop::MyWrapper, GUIJunctionWrapper, GUILaneSpeedTrigger, GUIOverheadWire, GUIOverheadWireClamp, GUIParkingArea, GUITriggeredRerouter, GUITriggeredRerouter::GUITriggeredRerouterEdge, GUIMEInductLoop::MyWrapper, GUIMEVehicle, GNEAdditional, GNETAZ, GNEContainer, GNEPerson, GNERoute, GNEStop, GNEStopPlan, GNEVehicle, GNEConnection, GNEEdge, GNEJunction, GNELane, GUIContainer, GUIE2Collector::MyWrapper, GUIPerson, GNEPOI, GNEPoly, GUIPointOfInterest, and GUIPolygon.
Definition at line 176 of file GUIGlObject.h.
References UNUSED_PARAMETER.
Referenced by GUIPointOfInterest::checkDraw(), GUIPolygon::checkDraw(), GNEWalkingArea::drawGL(), GUIPointOfInterest::drawInnerPOI(), and GUIPolygon::drawInnerPolygon().
|
inlineinherited |
Definition at line 94 of file GUIGlObject.h.
References GUIGlObject::myFullName.
Referenced by SUMORTree::addAdditionalGLObject(), GUIGlObject::buildPopupHeader(), GNENetworkElement::getShapeEditedPopUpMenu(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUIGLObjectPopupMenu::onCmdCopyTypedName(), GUIParam_PopupMenuInterface::onCmdOpenTracker(), GUIParameterTableWindow::onLeftBtnPress(), GUICalibrator::openManipulator(), GUILaneSpeedTrigger::openManipulator(), GUITriggeredRerouter::openManipulator(), GUIDialog_GLChosenEditor::rebuildList(), GUIGlObject_AbstractAdd::remove(), SUMORTree::removeAdditionalGLObject(), and GUISelectedStorage::save().
|
inherited |
get icon associated with this GL Object
Definition at line 194 of file GUIGlObject.cpp.
References GUIGlObject::myIcon.
Referenced by GNENetworkElement::getShapeEditedPopUpMenu().
|
inlineinherited |
Returns the numerical id of the object.
Definition at line 104 of file GUIGlObject.h.
References GUIGlObject::myGlID.
Referenced by GUIMessageWindow::appendMsg(), GUIGlObject::buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUIContainer::drawGL(), GUIEdge::drawGL(), GUILane::drawGL(), GUIPerson::drawGL(), GUIPointOfInterest::drawGL(), GUIPolygon::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GUIJunctionWrapper::getColorValue(), GUIVehicle::getColorValue(), GUIMEVehicle::getColorValue(), GUIContainer::getColorValue(), GUIEdge::getColorValue(), GUIPerson::getColorValue(), GNEPOI::getGlID(), GNEPoly::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIShapeContainer::getPOIIds(), GUIShapeContainer::getPolygonIDs(), GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIEdge::getScaleValue(), GNEViewNet::getToolTipID(), GUITransportableControl::insertIDs(), GUIMEVehicleControl::insertVehicleIDs(), GUIVehicleControl::insertVehicleIDs(), GUILane::isLaneOrEdgeSelected(), GUIVehicle::isSelected(), GUIContainer::isSelected(), GUIEdge::isSelected(), GUILane::isSelected(), GUIPerson::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GNEElementTree::onCmdCenterItem(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIDialog_ChooserAbstract::onCmdTrack(), GUIViewTraffic::onGamingClick(), ComparatorClickPriority::operator()(), GUIDialog_ChooserAbstract::refreshList(), GLObjectValuePassConnector< T >::removeObject(), GUIVehicle::selectBlockingFoes(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GUIMessageWindow::setCursorPos(), GUIViewTraffic::showLaneReachability(), GUIBaseVehicle::~GUIBaseVehicle(), GUIGlObject::~GUIGlObject(), and GUIPerson::~GUIPerson().
SUMORTree & GNENet::getGrid | ( | ) |
Returns the RTree used for visualisation speed-up.
Definition at line 164 of file GNENet.cpp.
References myGrid.
Referenced by GNEViewNet::recalculateBoundaries().
|
inlineinherited |
Returns the id of the object as known to microsim.
Definition at line 143 of file GUIGlObject.h.
References GUIGlObject::myMicrosimID.
Referenced by SUMORTree::addAdditionalGLObject(), GNEViewNet::askMergeJunctions(), GNETLSEditorFrame::controlsEdge(), GUIGlObject::createFullName(), GNENetHelper::AttributeCarriers::deleteEdgeType(), GNENetHelper::AttributeCarriers::deleteSingleEdge(), GNENetHelper::AttributeCarriers::deleteSingleJunction(), GNEAdditional::drawAdditionalID(), GNEInternalLane::drawGL(), GUIGlObject::drawName(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEContainerStop::getAttribute(), GNEDestProbReroute::getAttribute(), GNEMultiEntryExitDetector::getAttribute(), GNEOverheadWire::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNERerouter::getAttribute(), GNERouteProbe::getAttribute(), GNERouteProbReroute::getAttribute(), GNETAZ::getAttribute(), GNETAZSourceSink::getAttribute(), GNETractionSubstation::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEContainer::getAttribute(), GNEDistribution::getAttribute(), GNEPerson::getAttribute(), GNERoute::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEVType::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNEWalkingArea::getAttribute(), GNEDetector::getDetectorAttribute(), GNEWalkingArea::getNBWalkingArea(), GUIDialog_ChooserAbstract::getObjectName(), GNEDialogACChooser::getObjectName(), GNEMultiEntryExitDetector::getParentName(), GNERerouter::getParentName(), GNETAZ::getParentName(), GNETractionSubstation::getParentName(), GNEVariableSpeedSign::getParentName(), GNEDistribution::getParentName(), GNEVType::getParentName(), GNEPOI::getParentName(), GNEPoly::getParentName(), GNEChange_TLS::GNEChange_TLS(), GNETLSEditorFrame::handleMultiChange(), GNENetHelper::AttributeCarriers::insertEdgeType(), GUIGLObjectPopupMenu::onCmdCopyName(), GNENetHelper::AttributeCarriers::registerEdge(), GNENetHelper::AttributeCarriers::registerEdgeType(), GNENetHelper::AttributeCarriers::registerJunction(), SUMORTree::removeAdditionalGLObject(), GNENetHelper::AttributeCarriers::retrieveConnection(), GNENetHelper::AttributeCarriers::retrieveCrossing(), GNENetHelper::AttributeCarriers::retrieveInternalLane(), GNENetHelper::AttributeCarriers::retrieveLane(), GNENetHelper::AttributeCarriers::retrieveWalkingArea(), GNEStop::setStopMicrosimID(), splitEdge(), and GNEViewNetHelper::ViewObjectsSelector::updateNetworkElements().
NBNetBuilder * GNENet::getNetBuilder | ( | ) | const |
get net builder
Definition at line 1559 of file GNENet.cpp.
References myNetBuilder.
Referenced by GNEJunction::invalidateTLS(), GNEPathManager::PathCalculator::PathCalculator(), GNEJunction::rebuildGNECrossings(), GNEChange_Crossing::redo(), GNELoadThread::run(), GNEJunction::setAttribute(), and GNEChange_Crossing::undo().
GNEPathManager * GNENet::getNetworkPathManager | ( | ) |
get network path manager
Definition at line 139 of file GNENet.cpp.
References myNetworkPathManager.
Referenced by GNELaneAreaDetector::computePathElement(), GNEOverheadWire::computePathElement(), GNEViewNet::doPaintGL(), GNELane::drawChildren(), GNEJunction::drawJunctionChildren(), and GNEViewNet::redrawPathElementContours().
int GNENet::getNumberOfTLSPrograms | ( | ) | const |
get number of TLS Programs
Definition at line 2756 of file GNENet.cpp.
|
virtualinherited |
Returns the name of the object (default "")
Reimplemented in GUIBaseVehicle, GUIBusStop, GUIChargingStation, GUIJunctionWrapper, GUIParkingArea, GUITrafficLightLogicWrapper, GNEAdditional, GNEEdge, GNENetworkElement, GUIEdge, GUIPointOfInterest, and GUIPolygon.
Definition at line 239 of file GUIGlObject.cpp.
Referenced by GUIDialog_ChooserAbstract::getObjectName().
|
virtual |
Returns an own parameter window.
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Implements GUIGlObject.
Definition at line 188 of file GNENet.cpp.
References GUIParameterTableWindow::closeBuilding().
|
virtualinherited |
Returns the name of the parent object (if any)
Reimplemented in GNEAccess, GNECalibrator, GNECalibratorFlow, GNEClosingLaneReroute, GNEClosingReroute, GNEDestProbReroute, GNEDetector, GNEMultiEntryExitDetector, GNEParkingAreaReroute, GNEParkingSpace, GNERerouter, GNERerouterInterval, GNERerouterSymbol, GNERouteProbe, GNERouteProbReroute, GNEStoppingPlace, GNETAZ, GNETAZSourceSink, GNETractionSubstation, GNEVaporizer, GNEVariableSpeedSign, GNEVariableSpeedSignStep, GNEVariableSpeedSignSymbol, GNEContainer, GNEDistribution, GNEPerson, GNEPersonTrip, GNERide, GNERoute, GNEStop, GNEStopPlan, GNETranship, GNETransport, GNEVehicle, GNEVType, GNEWalk, GNELane, GUILane, GNEPOI, and GNEPoly.
Definition at line 188 of file GUIGlObject.cpp.
References StringUtils::emptyString.
Referenced by GUIGLObjectPopupMenu::onCmdCopyEdgeName().
|
virtual |
Returns an own popup-menu.
[in] | app | The application needed to build the popup-menu |
[in] | parent | The parent window needed to build the popup-menu |
Implements GUIGlObject.
Definition at line 175 of file GNENet.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GeoConvHelper::getFinal(), MID_COPY_VIEW_GEOBOUNDARY, and TL.
GNENetHelper::SavingStatus * GNENet::getSavingStatus | ( | ) | const |
get saving status
Definition at line 133 of file GNENet.cpp.
References mySavingStatus.
Referenced by GNEApplicationWindow::continueWithUnsavedAdditionalChanges(), GNEApplicationWindow::continueWithUnsavedChanges(), GNEApplicationWindow::continueWithUnsavedDataElementChanges(), GNEApplicationWindow::continueWithUnsavedDemandElementChanges(), GNEApplicationWindow::continueWithUnsavedMeanDataElementChanges(), GNEApplicationWindow::handleEvent_NetworkLoaded(), GNEApplicationWindow::loadAdditionalElements(), GNEApplicationWindow::onCmdOpenAdditionals(), GNEApplicationWindow::onCmdOpenDataElements(), GNEApplicationWindow::onCmdOpenDemandElements(), GNEApplicationWindow::onCmdOpenMeanDatas(), GNEApplicationWindow::onCmdOpenOptionsDialog(), GNEApplicationWindow::onCmdOpenSumoOptionsDialog(), GNEApplicationWindow::onCmdSaveAdditionals(), GNEApplicationWindow::onCmdSaveAdditionalsAs(), GNEApplicationWindow::onCmdSaveDataElements(), GNEApplicationWindow::onCmdSaveDataElementsAs(), GNEApplicationWindow::onCmdSaveDemandElements(), GNEApplicationWindow::onCmdSaveDemandElementsAs(), GNEApplicationWindow::onCmdSaveMeanDatas(), GNEApplicationWindow::onCmdSaveMeanDatasAs(), GNEApplicationWindow::onCmdSaveNeteditConfig(), GNEApplicationWindow::onCmdSaveSumoConfig(), GNEApplicationWindow::onUpdSaveAdditionals(), GNEApplicationWindow::onUpdSaveDataElements(), GNEApplicationWindow::onUpdSaveDemandElements(), GNEApplicationWindow::onUpdSaveMeanDatas(), GNEApplicationWindow::onUpdSaveNeteditConfig(), GNEApplicationWindow::onUpdSaveNetwork(), GNEApplicationWindow::onUpdSaveSumoConfig(), GNEChange_Additional::redo(), GNEChange_Attribute::redo(), GNEChange_Children::redo(), GNEChange_Connection::redo(), GNEChange_Crossing::redo(), GNEChange_DataInterval::redo(), GNEChange_DataSet::redo(), GNEChange_DemandElement::redo(), GNEChange_Distribution::redo(), GNEChange_Edge::redo(), GNEChange_EdgeType::redo(), GNEChange_GenericData::redo(), GNEChange_Junction::redo(), GNEChange_Lane::redo(), GNEChange_MeanData::redo(), GNEChange_TLS::redo(), GNEChange_ToggleAttribute::redo(), GNEAdditional::setAdditionalID(), GNEEdge::setAttribute(), GNENetworkElement::setNetworkElementID(), GNEChange_Additional::undo(), GNEChange_Attribute::undo(), GNEChange_Children::undo(), GNEChange_Connection::undo(), GNEChange_Crossing::undo(), GNEChange_DataInterval::undo(), GNEChange_DataSet::undo(), GNEChange_DemandElement::undo(), GNEChange_Distribution::undo(), GNEChange_Edge::undo(), GNEChange_EdgeType::undo(), GNEChange_GenericData::undo(), GNEChange_Junction::undo(), GNEChange_Lane::undo(), GNEChange_MeanData::undo(), GNEChange_TLS::undo(), and GNEChange_ToggleAttribute::undo().
NBTrafficLightLogicCont & GNENet::getTLLogicCont | ( | ) |
returns the tllcont of the underlying netbuilder
Definition at line 2161 of file GNENet.cpp.
References NBNetBuilder::getTLLogicCont(), and myNetBuilder.
Referenced by GNEJunction::addTrafficLight(), computeJunction(), GNEViewNet::onCmdAddJoinTLS(), GNETLSEditorFrame::parseTLSPrograms(), GNEChange_TLS::redo(), GNEJunction::removeTrafficLight(), replaceIncomingEdge(), saveTLSPrograms(), GNEJunction::setAttribute(), and GNEChange_TLS::undo().
|
inlineinherited |
Returns the type of the object as coded in GUIGlObjectType.
Definition at line 156 of file GUIGlObject.h.
References GUIGlObject::myGLObjectType.
Referenced by GUIGlObject::buildSelectionPopupEntry(), GNEConnection::calculateConnectionContour(), GNEContour::calculateContourEdgeGeometryPoints(), GNECrossing::calculateCrossingContour(), GNEJunction::calculateJunctioncontour(), GNEParkingSpace::calculateSpaceContour(), GNEStoppingPlace::calculateStoppingPlaceContour(), GNEViewNet::checkOverLockedElement(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNECalibrator::drawCalibratorSymbol(), GNELaneAreaDetector::drawE2PartialJunction(), GNELaneAreaDetector::drawE2PartialLane(), GNEEntryExitDetector::drawE3Logo(), GNEEntryExitDetector::drawEntryLogo(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEStopPlan::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEWalkingArea::drawGL(), GUIContainer::drawGL(), GUILane::drawGL(), GUIPerson::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIPerson::drawGLAdditional(), GNEDemandElement::drawJunctionLine(), GNELaneAreaDetector::drawJunctionPartialGL(), GNEOverheadWire::drawJunctionPartialGL(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNELaneAreaDetector::drawLanePartialGL(), GNEOverheadWire::drawLanePartialGL(), GNEEdgeData::drawLanePartialGL(), GNEEdgeRelData::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEAdditional::drawListedAdditional(), GUIBaseVehicle::drawOnPos(), GNEDemandElementPlan::drawPlanGL(), GNEDemandElementPlan::drawPlanJunctionPartial(), GNEDemandElementPlan::drawPlanLanePartial(), GNERoute::drawRoutePartialJunction(), GNERoute::drawRoutePartialLane(), GNEAdditional::drawSquaredAdditional(), GNEDemandElement::drawStackLabel(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GNEAdditional::isGLObjectLocked(), GNEDemandElement::isGLObjectLocked(), GNENetworkElement::isGLObjectLocked(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GNESelectorFrame::SelectionOperation::loadFromFile(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GUISUMOViewParent::onCmdSpeedFactor(), GUIDialog_ChooserAbstract::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOViewParent::onUpdSpeedFactor(), LayeredRTree::selectLayer(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GNEJunction::setJunctionType(), GNEViewNetHelper::ViewObjectsSelector::updateGenericDataElements(), GNEViewNetHelper::ViewObjectsSelector::updateNetworkElements(), GNEViewNetHelper::ViewObjectsSelector::updateShapeElements(), and GNEViewNetHelper::ViewObjectsSelector::updateTAZElements().
|
virtualinherited |
Returns an own type parameter window (optional)
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Reimplemented in GUIVehicle, GUIMEVehicle, GUIContainer, GUIEdge, GUIPerson, and GUIBaseVehicle.
Definition at line 200 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().
GNEViewNet * GNENet::getViewNet | ( | ) | const |
get view net
Definition at line 2155 of file GNENet.cpp.
References myViewNet.
Referenced by GNEAdditionalDialog::acceptChanges(), GNEDemandElementDialog::acceptChanges(), GNECreateEdgeFrame::addBikelane(), GNECreateEdgeFrame::addSidewalk(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), GNERouteHandler::buildContainerPlan(), GNERouteHandler::buildContainerStop(), GNEAdditionalHandler::buildContainerStop(), GNEDataHandler::buildDataInterval(), GNEDataHandler::buildDataSet(), GNEAdditionalHandler::buildDestProbReroute(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEDataHandler::buildEdgeData(), GNEMeanDataHandler::buildEdgeMeanData(), GNEDataHandler::buildEdgeRelationData(), GNERouteHandler::buildEmbeddedRoute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNEAdditionalHandler::buildJpsObstacle(), GNEAdditionalHandler::buildJpsWalkableArea(), GNEAdditionalHandler::buildLaneCalibrator(), GNEMeanDataHandler::buildLaneMeanData(), GNEDemandElement::buildMenuAddReverse(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingAreaReroute(), GNEAdditionalHandler::buildParkingSpace(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonPlan(), GNERouteHandler::buildPersonStop(), GNERouteHandler::buildPersonTrip(), GNEAdditionalHandler::buildPOI(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildPolygon(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRide(), GNERouteHandler::buildRoute(), GNERouteHandler::buildRouteDistribution(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEDataHandler::buildTAZRelationData(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNELane::buildTemplateOperations(), GNEAdditionalHandler::buildTractionSubstation(), GNEAdditionalHandler::buildTrainStop(), GNERouteHandler::buildTranship(), GNERouteHandler::buildTransport(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVType(), GNERouteHandler::buildVTypeDistribution(), GNERouteHandler::buildWalk(), GNEAdditional::calculateContourPolygons(), GNEEdge::calculateEdgeContour(), GNEAdditionalDialog::cancelChanges(), GNEDemandElementDialog::cancelChanges(), GNEStop::canDrawVehicleStop(), GNEPoly::changeFirstGeometryPoint(), GNEConnection::checkDrawConnection(), GNEDemandElementPlan::checkDrawContainerPlan(), GNECrossing::checkDrawCrossing(), GNEAdditional::checkDrawDeleteContour(), GNEGenericData::checkDrawDeleteContour(), GNEDemandElement::checkDrawDeleteContour(), GNEConnection::checkDrawDeleteContour(), GNECrossing::checkDrawDeleteContour(), GNEEdge::checkDrawDeleteContour(), GNEJunction::checkDrawDeleteContour(), GNELane::checkDrawDeleteContour(), GNEWalkingArea::checkDrawDeleteContour(), GNEAdditional::checkDrawFromContour(), GNEEdge::checkDrawFromContour(), GNEJunction::checkDrawFromContour(), GNELane::checkDrawFromContour(), GNEAttributeCarrier::checkDrawFrontContour(), GNEViewNetHelper::LockIcon::checkDrawing(), GNEAttributeCarrier::checkDrawInspectContour(), GNEAccess::checkDrawMoveContour(), GNECalibrator::checkDrawMoveContour(), GNEDetector::checkDrawMoveContour(), GNEMultiEntryExitDetector::checkDrawMoveContour(), GNEParkingSpace::checkDrawMoveContour(), GNERerouter::checkDrawMoveContour(), GNERerouterSymbol::checkDrawMoveContour(), GNEStoppingPlace::checkDrawMoveContour(), GNETAZ::checkDrawMoveContour(), GNETractionSubstation::checkDrawMoveContour(), GNEVariableSpeedSign::checkDrawMoveContour(), GNEDemandElement::checkDrawMoveContour(), GNEConnection::checkDrawMoveContour(), GNECrossing::checkDrawMoveContour(), GNEEdge::checkDrawMoveContour(), GNEJunction::checkDrawMoveContour(), GNELane::checkDrawMoveContour(), GNEPOI::checkDrawMoveContour(), GNEPoly::checkDrawMoveContour(), GNEAdditional::checkDrawOverContour(), GNEDemandElement::checkDrawOverContour(), GNEEdge::checkDrawOverContour(), GNEInternalLane::checkDrawOverContour(), GNEJunction::checkDrawOverContour(), GNEDemandElementPlan::checkDrawPersonPlan(), GNEInductionLoopDetector::checkDrawRelatedContour(), GNEVehicle::checkDrawRelatedContour(), GNEAdditional::checkDrawSelectContour(), GNEGenericData::checkDrawSelectContour(), GNEDemandElement::checkDrawSelectContour(), GNEConnection::checkDrawSelectContour(), GNECrossing::checkDrawSelectContour(), GNEEdge::checkDrawSelectContour(), GNEJunction::checkDrawSelectContour(), GNELane::checkDrawSelectContour(), GNEWalkingArea::checkDrawSelectContour(), GNEAdditional::checkDrawToContour(), GNEEdge::checkDrawToContour(), GNEJunction::checkDrawToContour(), GNELane::checkDrawToContour(), GNEJunction::clearWalkingAreas(), GNEPoly::closePolygon(), GNEJunction::commitMoveShape(), GNEApplicationWindow::computeJunctionWithVolatileOptions(), GNERoute::copyRoute(), GNEVehicle::copyVehicle(), GNEPoly::deleteGeometryPoint(), GNEAdditional::deleteGLObject(), GNEGenericData::deleteGLObject(), GNEDemandElement::deleteGLObject(), GNEConnection::deleteGLObject(), GNECrossing::deleteGLObject(), GNEEdge::deleteGLObject(), GNEEdgeType::deleteGLObject(), GNEJunction::deleteGLObject(), GNELane::deleteGLObject(), GNELaneType::deleteGLObject(), GNEViewNet::doPaintGL(), GNEJunction::drawAsBubble(), GNEGenericData::drawAttribute(), GNEEdge::drawBigGeometryPoints(), GNECalibrator::drawCalibratorSymbol(), GNEEdge::drawChildrens(), GNEConnection::drawConnection(), GNECrossing::drawCrossing(), GNELaneAreaDetector::drawE2(), GNEEdge::drawEdgeGeometryPoints(), GNEJunction::drawElevation(), GNEEdge::drawEndGeometryPoint(), GNEStop::drawGeometryPoints(), GNEPoly::drawGeometryPoints(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNECalibrator::drawGL(), GNECalibratorFlow::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEMultiEntryExitDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouter::drawGL(), GNERerouterInterval::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEStopPlan::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEWalkingArea::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNEWalkingArea::drawInContourMode(), GNEStop::drawIndex(), GNEJunction::drawJunctionAsShape(), GNEDemandElement::drawJunctionLine(), GNELaneAreaDetector::drawJunctionPartialGL(), GNEOverheadWire::drawJunctionPartialGL(), GNEEdgeRelData::drawJunctionPartialGL(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNELane::drawLane(), GNELaneAreaDetector::drawLanePartialGL(), GNEOverheadWire::drawLanePartialGL(), GNEEdgeData::drawLanePartialGL(), GNEEdgeRelData::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEPathManager::drawLanePathElements(), GNEEdge::drawLaneStopOffset(), GNEAdditional::drawListedAdditional(), GNEAdditional::drawMovingGeometryPoints(), GNEAdditional::drawParentChildLines(), GNEDemandElementPlan::drawPlanGL(), GNEDemandElementPlan::drawPlanJunctionPartial(), GNEDemandElementPlan::drawPlanLanePartial(), GNEPOI::drawPOI(), GNERerouterSymbol::drawRerouterSymbol(), GNELane::drawShapeEdited(), GNEParkingSpace::drawSpace(), GNEAdditional::drawSquaredAdditional(), GNEEdge::drawStartGeometryPoint(), GNEEdge::drawTAZElements(), GNETAZRelData::drawTAZRel(), GNEWalkingArea::drawTesselatedWalkingArea(), GNEJunction::drawTLSIcon(), GNEAttributeCarrier::drawUsingSelectColor(), GNEVariableSpeedSignSymbol::drawVSSSymbol(), GNEWalkingArea::drawWalkingArea(), GNEEdge::editEndpoint(), GNEAccess::fixAdditionalProblem(), GNEEntryExitDetector::fixAdditionalProblem(), GNEInductionLoopDetector::fixAdditionalProblem(), GNEInstantInductionLoopDetector::fixAdditionalProblem(), GNELaneAreaDetector::fixAdditionalProblem(), GNEOverheadWire::fixAdditionalProblem(), GNEStoppingPlace::fixAdditionalProblem(), GNEPOI::fixAdditionalProblem(), GNEPersonTrip::getColor(), GNERide::getColor(), GNEStop::getColor(), GNEStopPlan::getColor(), GNETranship::getColor(), GNETransport::getColor(), GNEWalk::getColor(), GNECrossing::getCrossingColor(), GNEEdge::getGeometryPointRadius(), GNENetworkElement::getGeometryPointUnderCursorShapeEdited(), GNEContainer::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEAccess::getMoveOperation(), GNEDetector::getMoveOperation(), GNEOverheadWire::getMoveOperation(), GNEParkingSpace::getMoveOperation(), GNEStoppingPlace::getMoveOperation(), GNETAZ::getMoveOperation(), GNEStop::getMoveOperation(), GNEVehicle::getMoveOperation(), GNEEdge::getMoveOperation(), GNEPOI::getMoveOperation(), GNEPoly::getMoveOperation(), GNEAdditional::getMoveOperationMultiLane(), GNEAdditional::getMoveOperationSingleLane(), GNEDemandElementPlan::getPlanMoveOperation(), GNEDemandElementPlan::getPlanPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEEdge::getSplitPos(), GNENetworkElement::getVertexIndex(), GNEPoly::getVertexIndex(), GNETAZ::getVertexIndex(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu(), GNEVehicleTypeDialog::GNEVehicleTypeDialog(), GNEAdditionalDialog::initChanges(), GNEDemandElementDialog::initChanges(), GNEEdgeType::isAttributeEnabled(), GNEPOI::isAttributeEnabled(), GNEPoly::isAttributeEnabled(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEAdditional::isGLObjectLocked(), GNEDemandElement::isGLObjectLocked(), GNENetworkElement::isGLObjectLocked(), GNEGenericData::isVisibleInspectDeleteSelect(), GNEAdditional::markAsFrontElement(), GNEDemandElement::markAsFrontElement(), GNENetworkElement::markAsFrontElement(), GNESingleParametersDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAddClosingLaneReroute(), GNERerouterIntervalDialog::onCmdAddClosingReroute(), GNERerouterIntervalDialog::onCmdAddDestProbReroute(), GNECalibratorDialog::onCmdAddFlow(), GNEViewNet::onCmdAddJoinTLS(), GNERerouterIntervalDialog::onCmdAddParkingAreaReroute(), GNERerouterIntervalDialog::onCmdAddRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdAddStep(), GNEViewNet::onCmdAddTLS(), GNECalibratorDialog::onCmdAddVehicleType(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNERerouterIntervalDialog::onCmdChangeBeginEnd(), GNERerouterIntervalDialog::onCmdClickedClosingLaneReroute(), GNERerouterIntervalDialog::onCmdClickedClosingReroute(), GNERerouterIntervalDialog::onCmdClickedDestProbReroute(), GNECalibratorDialog::onCmdClickedFlow(), GNERerouterDialog::onCmdClickedInterval(), GNERerouterIntervalDialog::onCmdClickedParkingAreaReroute(), GNECalibratorDialog::onCmdClickedRoute(), GNERerouterIntervalDialog::onCmdClickedRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdClickedStep(), GNECalibratorDialog::onCmdClickedVehicleType(), GNEViewNet::onCmdClosePolygon(), GNEViewNet::onCmdCloseShapeEdited(), GNEViewNet::onCmdDeleteGeometryPointShapeEdited(), GNERerouterIntervalDialog::onCmdEditClosingLaneReroute(), GNERerouterIntervalDialog::onCmdEditClosingReroute(), GNERerouterIntervalDialog::onCmdEditDestProbReroute(), GNERerouterIntervalDialog::onCmdEditParkingAreaReroute(), GNERerouterIntervalDialog::onCmdEditRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNEViewNet::onCmdOpenPolygon(), GNEViewNet::onCmdOpenShapeEdited(), GNEApplicationWindow::onCmdOpenTLSPrograms(), GNEApplicationWindow::onCmdReloadTLSPrograms(), GNEViewNet::onCmdResetShapeEdited(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), GNEViewNet::onCmdSelectPolygonElements(), GNEViewNet::onCmdSetFirstGeometryPointShapeEdited(), GNECalibratorFlowDialog::onCmdSetVariable(), GNERouteDialog::onCmdSetVariable(), GNEViewNet::onCmdSimplifyShape(), GNEViewNet::onCmdSimplifyShapeEdited(), GNEViewNet::onCmdStraightenShapeEdited(), GNELane::onDefault(), GNEApplicationWindow::onUpdSaveAdditionals(), GNEPoly::openPolygon(), GNEAdditionalHandler::overwriteAdditional(), GNERouteHandler::overwriteDemandElement(), GNEEdge::processNoneJunctionSelected(), GNEJunction::rebuildGNECrossings(), GNERerouter::rebuildRerouterSymbols(), GNEVariableSpeedSign::rebuildVSSSymbols(), GNEChange_DemandElement::redo(), GNEChange_EdgeType::redo(), GNEEdge::removeConnection(), GNEDataSet::removeDataIntervalChild(), GNEDataInterval::removeGenericDataChild(), GNETAZ::removeGeometryPoint(), GNEConnection::removeGeometryPoint(), GNECrossing::removeGeometryPoint(), GNEJunction::removeGeometryPoint(), GNELane::removeGeometryPoint(), GNEPoly::removeGeometryPoint(), GNEEdge::removeLane(), GNEAdditionalDialog::resetChanges(), GNEDemandElementDialog::resetChanges(), GNERouteHandler::reverse(), GNEAdditional::selectGLObject(), GNEGenericData::selectGLObject(), GNEDemandElement::selectGLObject(), GNENetworkElement::selectGLObject(), GNEDataInterval::setAttribute(), GNEDataSet::setAttribute(), GNEEdgeRelData::setAttribute(), GNETAZRelData::setAttribute(), GNEEdge::setAttribute(), GNEEdgeType::setAttribute(), GNELane::setAttribute(), GNELaneType::setAttribute(), GNEEdge::setAttribute(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), GNEJunction::setColor(), GNELane::setLaneColor(), GNEVehicleTypeDialog::VTypeAttributes::VClassRow::setVariable(), GNEPoly::simplifyShape(), GNEConnection::smootShape(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToTripJunctions(), GNERouteHandler::transformToTripTAZs(), GNERouteHandler::transformToVehicle(), GNEChange_DemandElement::undo(), GNEChange_EdgeType::undo(), GNECalibratorDialog::updateFlowAndLabelButton(), GNEBusStop::updateGeometry(), GNEChargingStation::updateGeometry(), GNEContainerStop::updateGeometry(), GNEStopPlan::updateGeometry(), GNEEdge::updateGeometry(), GNELane::updateGeometry(), GNECalibratorDialog::updateRouteTable(), GNECalibratorDialog::updateVehicleTypeTable(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Children::~GNEChange_Children(), GNEChange_DataInterval::~GNEChange_DataInterval(), GNEChange_DataSet::~GNEChange_DataSet(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_Distribution::~GNEChange_Distribution(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_EdgeType::~GNEChange_EdgeType(), GNEChange_GenericData::~GNEChange_GenericData(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_MeanData::~GNEChange_MeanData(), GNEChange_TLS::~GNEChange_TLS(), and GNEChange_ToggleAttribute::~GNEChange_ToggleAttribute().
const Boundary & GNENet::getZBoundary | ( | ) | const |
Returns the Z boundary (stored in the x() coordinate) values of 0 do not affect the boundary.
Definition at line 217 of file GNENet.cpp.
References myZBoundary.
void GNENet::initGNEConnections | ( | ) |
initialize GNEConnections
Definition at line 2875 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getEdges(), and myAttributeCarriers.
Referenced by GNEViewNet::onCmdToggleShowConnections().
|
private |
Init Junctions and edges.
Definition at line 2834 of file GNENet.cpp.
References Boundary::add(), GNEHierarchicalElement::addChildElement(), NBEdgeCont::getAllNames(), NBNodeCont::getAllNames(), NBNetBuilder::getEdgeCont(), GNENetHelper::AttributeCarriers::getEdges(), GNEEdge::getFromJunction(), Boundary::getHeight(), NBNetBuilder::getNodeCont(), GNEEdge::getToJunction(), NBNetBuilder::getTypeCont(), Boundary::getWidth(), myAttributeCarriers, myGrid, myNetBuilder, GNENetHelper::AttributeCarriers::registerEdge(), GNENetHelper::AttributeCarriers::registerEdgeType(), GNENetHelper::AttributeCarriers::registerJunction(), NBNodeCont::retrieve(), NBEdgeCont::retrieve(), NBNodesEdgesSorter::sortNodesEdges(), and TL.
Referenced by computeAndUpdate().
|
inlineinherited |
get blocking status
Definition at line 166 of file GUIGlObject.h.
References GUIGlObject::myAmBlocked.
|
virtualinherited |
check if element is locked (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.
Definition at line 208 of file GUIGlObject.cpp.
Referenced by GNEViewNetHelper::ViewObjectsSelector::filterLockedElements(), and GNEViewNet::processLeftButtonPressNetwork().
bool GNENet::isNetRecomputed | ( | ) | const |
check if net require recomputing
Definition at line 1547 of file GNENet.cpp.
References myNeedRecompute.
Referenced by GNELane::buildRechableOperations(), and GNEApplicationWindow::updateRecomputingLabel().
bool GNENet::isUpdateDataEnabled | ( | ) | const |
check if update data after inserting or removing has to be updated
Definition at line 2825 of file GNENet.cpp.
References myUpdateDataEnabled.
Referenced by GNEDataInterval::updateAttributeColors(), and GNEDataInterval::updateGenericDataIDs().
bool GNENet::isUpdateGeometryEnabled | ( | ) | const |
check if update geometry after inserting or removing has to be updated
Definition at line 2802 of file GNENet.cpp.
References myUpdateGeometryEnabled.
Referenced by GNEDataInterval::addGenericDataChild().
void GNENet::joinRoutes | ( | GNEUndoList * | undoList | ) |
join routes
Definition at line 1787 of file GNENet.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNENetHelper::AttributeCarriers::getDemandElements(), myAttributeCarriers, GNEAttributeCarrier::parseIDs(), ROUTE, SUMO_ATTR_ROUTE, SUMO_TAG_ROUTE, and TL.
Referenced by GNEApplicationWindow::onCmdProcessButton().
bool GNENet::joinSelectedJunctions | ( | GNEUndoList * | undoList | ) |
join selected junctions
Definition at line 1565 of file GNENet.cpp.
References GNEUndoList::add(), NBNodeCont::analyzeCluster(), GNEUndoList::begin(), GNEChange_Attribute::changeAttribute(), checkJunctionPosition(), createJunction(), deleteCrossing(), deleteEdge(), deleteJunction(), GNEUndoList::end(), getApp(), GNENetHelper::AttributeCarriers::getEdges(), GNEAttributeCarrier::getID(), GNENetHelper::AttributeCarriers::getJunctions(), GNEJunction::getNBNode(), NBNetBuilder::getNodeCont(), GNENetHelper::AttributeCarriers::getSelectedJunctions(), GNEEdge::getToJunction(), GNE_ATTR_SELECTED, NBNode::isTLControlled(), joinSelectedJunctions(), JUNCTION, myAttributeCarriers, myNetBuilder, GNEChange_RegisterJoin::registerJoin(), GNEJunction::setAttribute(), Position::setx(), Position::sety(), SUMO_ATTR_FROM, SUMO_ATTR_ID, SUMO_ATTR_POSITION, SUMO_ATTR_TLTYPE, SUMO_ATTR_TO, SUMO_ATTR_TYPE, SUMO_TAG_JUNCTION, TL, toString(), UNKNOWN, WRITE_DEBUG, Position::x(), and Position::y().
Referenced by joinSelectedJunctions(), and GNEApplicationWindow::onCmdProcessButton().
|
virtualinherited |
mark element as front element (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.
Definition at line 215 of file GUIGlObject.cpp.
void GNENet::mergeJunctions | ( | GNEJunction * | moved, |
GNEJunction * | target, | ||
GNEUndoList * | undoList | ||
) |
merge the given junctions edges between the given junctions will be deleted
[in] | moved | The junction that will be eliminated |
[in] | target | The junction that will be enlarged |
[in] | undoList | The undo list with which to register changes |
Definition at line 1116 of file GNENet.cpp.
References GNEUndoList::begin(), GNEChange_Attribute::changeAttribute(), deleteEdge(), deleteJunction(), GNEUndoList::end(), GNEJunction::getAttribute(), GNENetHelper::AttributeCarriers::getEdges(), GNEEdge::getFromJunction(), GNEAttributeCarrier::getID(), NBNode::getIncomingEdges(), GNEJunction::getNBNode(), NBNode::getOutgoingEdges(), GNEEdge::getToJunction(), myAttributeCarriers, GNEJunction::setAttribute(), SUMO_ATTR_FROM, SUMO_ATTR_POSITION, SUMO_ATTR_TO, and TL.
Referenced by GNEViewNet::checkMergeJunctions().
|
inlinevirtualinherited |
notify object about left click
Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.
Definition at line 218 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::onLeftBtnPress().
|
inlinevirtualinherited |
remove additional user-griggered visualisations
Reimplemented in GUIBaseVehicle, and GUIPerson.
Definition at line 215 of file GUIGlObject.h.
|
inlinevirtualinherited |
notify object about popup menu removal
Reimplemented in GUIBaseVehicle.
Definition at line 124 of file GUIGlObject.h.
Referenced by GUIGLObjectPopupMenu::removePopupFromObject().
void GNENet::removeExplicitTurnaround | ( | std::string | id | ) |
remove edge id from the list of explicit turnarounds
Definition at line 2179 of file GNENet.cpp.
References myExplicitTurnarounds.
Referenced by GNEEdge::removeConnection().
void GNENet::removeGLObjectFromGrid | ( | GNEAttributeCarrier * | AC | ) |
add GL Object into net
Definition at line 1396 of file GNENet.cpp.
References GNEAttributeCarrier::getGUIGlObject(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::inGrid(), GNETagProperties::isPlacedInRTree(), myGrid, SUMORTree::removeAdditionalGLObject(), and GNEAttributeCarrier::setInGrid().
Referenced by GNEEdge::clearGNEConnections(), GNEJunction::clearWalkingAreas(), computeAndUpdate(), GNEPoly::deleteGeometryPoint(), GNEJunction::rebuildGNECrossings(), GNEEdge::remakeGNEConnections(), GNEEdge::removeConnection(), GNEDataInterval::removeGenericDataChild(), GNEPOI::setAttribute(), GNEEdge::setNumLanes(), GNEMultiEntryExitDetector::updateCenteringBoundary(), GNEParkingSpace::updateCenteringBoundary(), GNERerouter::updateCenteringBoundary(), GNETAZ::updateCenteringBoundary(), GNETractionSubstation::updateCenteringBoundary(), GNEVariableSpeedSign::updateCenteringBoundary(), GNEEdge::updateCenteringBoundary(), GNEJunction::updateCenteringBoundary(), GNEPOI::updateCenteringBoundary(), GNEPoly::updateCenteringBoundary(), GNETAZRelData::updateGeometry(), and GNEDemandElementPlan::updatePlanCenteringBoundary().
|
inherited |
Lets this object know a parameter window showing the object's values was closed.
[in] | w | The closed parameter window |
Definition at line 375 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().
bool GNENet::removeRestrictedLane | ( | SUMOVehicleClass | vclass, |
GNEEdge * | edge, | ||
GNEUndoList * | undoList | ||
) |
remove restricted lane
[in] | vclass | vehicle class to restrict |
[in] | edge | the edge in which remove sidewalk |
[in] | undoList | The undolist in which to mark changes |
Definition at line 910 of file GNENet.cpp.
References deleteLane(), and GNEEdge::getLanes().
Referenced by GNEViewNet::removeRestrictedLane().
void GNENet::removeSolitaryJunctions | ( | GNEUndoList * | undoList | ) |
removes junctions that have no edges
Definition at line 1745 of file GNENet.cpp.
References GNEUndoList::begin(), deleteJunction(), GNEUndoList::end(), GNENetHelper::AttributeCarriers::getJunctions(), MODEDELETE, myAttributeCarriers, and TL.
Referenced by GNEApplicationWindow::onCmdProcessButton().
void GNENet::replaceIncomingEdge | ( | GNEEdge * | which, |
GNEEdge * | by, | ||
GNEUndoList * | undoList | ||
) |
replaces edge
[in] | which | The edge to be replaced |
[in] | by | The replacement edge |
[in] | undoList | The undolist in which to mark changes |
Definition at line 508 of file GNENet.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEChange_Attribute::changeAttribute(), GNEUndoList::end(), GNEEdge::getAttribute(), GNEHierarchicalElement::getChildAdditionals(), GNEHierarchicalElement::getChildDemandElements(), GNEHierarchicalElement::getChildGenericDatas(), NBEdge::getConnections(), NBEdge::getFinalLength(), GNEJunction::getGNECrossings(), GNEAttributeCarrier::getID(), NBEdge::getLaneID(), GNEEdge::getLanes(), GNEEdge::getNBEdge(), GNEHierarchicalElement::getParentAdditionals(), getTLLogicCont(), GNEEdge::getToJunction(), replaceInListAttribute(), SUMO_ATTR_EDGE, SUMO_ATTR_EDGES, SUMO_ATTR_ENDPOS, SUMO_ATTR_FROM, SUMO_ATTR_LANE, SUMO_ATTR_STARTPOS, SUMO_ATTR_TO, SUMO_ATTR_VIA, TL, StringUtils::toDouble(), and toString().
Referenced by replaceJunctionByGeometry().
|
staticprivate |
replace in list attribute
Definition at line 2993 of file GNENet.cpp.
References GNEAttributeCarrier::getAttribute(), GNETagProperties::getAttributeProperties(), GNEAttributeCarrier::getTagProperty(), GNEAttributeProperties::isList(), GNEAttributeCarrier::setAttribute(), and toString().
Referenced by replaceIncomingEdge().
void GNENet::replaceJunctionByGeometry | ( | GNEJunction * | junction, |
GNEUndoList * | undoList | ||
) |
replace the selected junction by geometry node(s) and merge the edges
Definition at line 1935 of file GNENet.cpp.
References GNEUndoList::add(), PositionVector::append(), GNEUndoList::begin(), NBNode::checkIsRemovable(), clearJunctionConnections(), deleteJunction(), GNEUndoList::end(), GNEEdge::getAttribute(), NBEdge::getConnections(), GNENetHelper::AttributeCarriers::getEdges(), NBNode::getEdgesToJoin(), NBEdge::getGeometry(), NBEdge::getInnerGeometry(), NBEdge::getLoadedLength(), GNEEdge::getNBEdge(), GNEJunction::getNBNode(), NBNode::getPosition(), NBEdge::getToNode(), GNE_ATTR_SHAPE_END, NBEdge::hasDefaultGeometryEndpointAtNode(), NBEdge::hasLoadedLength(), myAttributeCarriers, PositionVector::push_back_noDoublePos(), replaceIncomingEdge(), NBEdge::resetNodeBorder(), GNEEdge::setAttribute(), SUMO_ATTR_ENDOFFSET, SUMO_ATTR_LENGTH, SUMO_ATTR_SHAPE, TL, and toString().
Referenced by GNEViewNet::onCmdReplaceJunction().
void GNENet::requireRecompute | ( | ) |
inform the net about the need for recomputation
Definition at line 1541 of file GNENet.cpp.
References myNeedRecompute.
Referenced by changeEdgeEndpoints(), createEdge(), deleteConnection(), deleteCrossing(), deleteEdge(), deleteLane(), duplicateLane(), GNEJunction::invalidateShape(), and GNEViewNet::onCmdToggleShowConnections().
void GNENet::resetJunctionConnections | ( | GNEJunction * | junction, |
GNEUndoList * | undoList | ||
) |
reset junction's connections
Definition at line 2085 of file GNENet.cpp.
References GNEUndoList::begin(), clearJunctionConnections(), GNEUndoList::end(), GNEJunction::setLogicValid(), and TL.
Referenced by GNEViewNet::onCmdResetConnections().
bool GNENet::restrictLane | ( | SUMOVehicleClass | vclass, |
GNELane * | lane, | ||
GNEUndoList * | undoList | ||
) |
transform lane to restricted lane
[in] | vclass | vehicle class to restrict |
[in] | lane | The lane to be transformed |
[in] | undoList | The undolist in which to mark changes |
Definition at line 804 of file GNENet.cpp.
References GNEUndoList::add(), GNEChange_Attribute::changeAttribute(), GNEAttributeCarrier::FEATURE_GUESSED, OptionsCont::getFloat(), GNEEdge::getGNEConnections(), GNELane::getGNEOutcomingConnections(), GNEEdge::getLanes(), GNEEdge::getNBEdge(), OptionsCont::getOptions(), GNELane::getParentEdge(), NBEdge::getPermissions(), NBEdge::getStep(), getVehicleClassNames(), GNE_ATTR_MODIFICATION_STATUS, NBEdge::LANES2LANES_RECHECK, GNELane::setAttribute(), SUMO_ATTR_ALLOW, SUMO_ATTR_WIDTH, SVC_BICYCLE, SVC_PEDESTRIAN, and toString().
Referenced by addGreenVergeLane(), addRestrictedLane(), and GNEViewNet::restrictLane().
void GNENet::reverseEdge | ( | GNEEdge * | edge, |
GNEUndoList * | undoList | ||
) |
reverse edge
[in] | edge | The edge to be reversed |
Definition at line 1065 of file GNENet.cpp.
References GNEUndoList::begin(), createEdge(), deleteEdge(), GNEUndoList::end(), GNEEdge::getAttribute(), GNEEdge::getFromJunction(), GNEAttributeCarrier::getID(), NBEdge::getInnerGeometry(), GNEEdge::getNBEdge(), GNEEdge::getToJunction(), GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, PositionVector::reverse(), GNEEdge::setAttribute(), SUMO_ATTR_SHAPE, TL, and toString().
Referenced by GNEViewNet::onCmdReverseEdge().
void GNENet::saveAdditionals | ( | ) |
save additional elements
Definition at line 2185 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getAdditionals(), myAttributeCarriers, myViewNet, saveAdditionalsConfirmed(), SUMO_ATTR_LANE, SUMO_ATTR_LANES, and WRITE_DEBUG.
Referenced by GNEApplicationWindow::onCmdSaveAdditionals().
|
private |
save additionals after confirming invalid objects
Definition at line 2331 of file GNENet.cpp.
References GNENetHelper::SavingStatus::additionalsSaved(), OutputDevice::close(), EMPTY_HEADER, OutputDevice::getDevice(), OptionsCont::getOptions(), GNE_TAG_CALIBRATOR_LANE, GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNE_TAG_MULTI_LANE_AREA_DETECTOR, GNE_TAG_POIGEO, GNE_TAG_POILANE, mySavingStatus, SUMO_TAG_BUS_STOP, SUMO_TAG_CALIBRATOR, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_ENTRY_EXIT_DETECTOR, SUMO_TAG_INDUCTION_LOOP, SUMO_TAG_INSTANT_INDUCTION_LOOP, SUMO_TAG_LANE_AREA_DETECTOR, SUMO_TAG_OVERHEAD_WIRE_CLAMP, SUMO_TAG_OVERHEAD_WIRE_SECTION, SUMO_TAG_PARKING_AREA, SUMO_TAG_POI, SUMO_TAG_POLY, SUMO_TAG_REROUTER, SUMO_TAG_ROUTEPROBE, SUMO_TAG_TAZ, SUMO_TAG_TRACTION_SUBSTATION, SUMO_TAG_TRAIN_STOP, SUMO_TAG_VAPORIZER, SUMO_TAG_VSS, writeAdditionalByType(), writeCalibratorComment(), writeDetectorComment(), writeJuPedSimComment(), writeOtherAdditionalsComment(), writeRouteComment(), writeRouteDistributions(), writeRouteProbeComment(), writeRoutes(), writeShapesComment(), writeStoppingPlaceComment(), writeTAZComment(), writeVTypeComment(), writeVTypeDistributions(), writeVTypes(), writeWireComment(), and OutputDevice::writeXMLHeader().
Referenced by saveAdditionals().
void GNENet::saveDataElements | ( | ) |
save data set elements of the network
Definition at line 2278 of file GNENet.cpp.
References computeDataElements(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getViewParent(), myViewNet, saveDataElementsConfirmed(), and WRITE_DEBUG.
Referenced by GNEApplicationWindow::onCmdSaveDataElements().
|
private |
save data elements after confirming invalid objects
Definition at line 2429 of file GNENet.cpp.
References OutputDevice::close(), GNENetHelper::SavingStatus::dataElementsSaved(), EMPTY_HEADER, GNENetHelper::AttributeCarriers::getDataSets(), OutputDevice::getDevice(), OptionsCont::getOptions(), myAttributeCarriers, mySavingStatus, and OutputDevice::writeXMLHeader().
Referenced by saveDataElements().
void GNENet::saveDemandElements | ( | ) |
save demand element elements of the network
Definition at line 2238 of file GNENet.cpp.
References computeDemandElements(), GNENetHelper::AttributeCarriers::getDemandElements(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getViewParent(), myAttributeCarriers, myViewNet, GNEDemandElement::OK, saveDemandElementsConfirmed(), and WRITE_DEBUG.
Referenced by GNEApplicationWindow::onCmdSaveDemandElements().
|
private |
save demand elements after confirming invalid objects
Definition at line 2391 of file GNENet.cpp.
References OutputDevice::close(), GNENetHelper::SavingStatus::demandElementsSaved(), EMPTY_HEADER, GNENetHelper::AttributeCarriers::getDemandElements(), OutputDevice::getDevice(), OptionsCont::getOptions(), myAttributeCarriers, mySavingStatus, SUMO_ATTR_DEPART, writeRouteComment(), writeRouteDistributions(), writeRoutes(), writeVTypeComment(), writeVTypeDistributions(), writeVTypes(), and OutputDevice::writeXMLHeader().
Referenced by saveDemandElements().
void GNENet::saveEdgeTypes | ( | const std::string & | filename | ) |
save edgeTypes elements of the network
[in] | filename | name of the file in which save edgeTypes |
Definition at line 2762 of file GNENet.cpp.
References NBTypeCont::clearTypes(), OutputDevice::close(), OutputDevice::closeTag(), OutputDevice::getDevice(), GNENetHelper::AttributeCarriers::getEdgeTypes(), NBNetBuilder::getTypeCont(), NBTypeCont::insertEdgeType(), NBTypeCont::insertLaneType(), myAttributeCarriers, myNetBuilder, OutputDevice::openTag(), SUMO_TAG_TYPE, and NBTypeCont::writeEdgeTypes().
Referenced by GNEApplicationWindow::onCmdSaveEdgeTypes().
void GNENet::saveJoined | ( | const std::string & | filename | ) |
save log of joined junctions (and nothing else)
Definition at line 1360 of file GNENet.cpp.
References computeAndUpdate(), NBNetBuilder::getNodeCont(), OptionsCont::getOptions(), myNetBuilder, and NWWriter_XML::writeJoinedJunctions().
Referenced by GNEApplicationWindow::onCmdSaveJoinedJunctionsAs().
void GNENet::saveJuPedSimElements | ( | const std::string & | file | ) |
save JuPedSim elements
Definition at line 2224 of file GNENet.cpp.
References OutputDevice::close(), EMPTY_HEADER, OutputDevice::getDevice(), GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, writeAdditionalByType(), writeJuPedSimComment(), and OutputDevice::writeXMLHeader().
Referenced by GNEApplicationWindow::onCmdSaveJuPedSimElementsAs().
void GNENet::saveMeanDatas | ( | ) |
save meanData elements of the network
Definition at line 2323 of file GNENet.cpp.
References saveMeanDatasConfirmed(), and WRITE_DEBUG.
Referenced by GNEApplicationWindow::onCmdSaveMeanDatas().
|
private |
save meanDatas
Definition at line 2444 of file GNENet.cpp.
References OutputDevice::close(), EMPTY_HEADER, OutputDevice::getDevice(), OptionsCont::getOptions(), GNENetHelper::SavingStatus::meanDatasSaved(), mySavingStatus, SUMO_TAG_MEANDATA_EDGE, SUMO_TAG_MEANDATA_LANE, writeMeanDataEdgeComment(), writeMeanDataLaneComment(), writeMeanDatas(), and OutputDevice::writeXMLHeader().
Referenced by saveMeanDatas().
void GNENet::saveNetwork | ( | ) |
save the network
Definition at line 1317 of file GNENet.cpp.
References NBTypeCont::clearTypes(), computeAndUpdate(), GNENetHelper::AttributeCarriers::getEdgeTypes(), GNEViewParent::getGNEAppWindows(), OptionsCont::getOptions(), GNEApplicationWindow::getSumoOptions(), NBNetBuilder::getTypeCont(), GNEViewNet::getViewParent(), NBTypeCont::insertEdgeType(), NBTypeCont::insertLaneType(), myAttributeCarriers, myNetBuilder, mySavingStatus, myViewNet, GNENetHelper::SavingStatus::networkSaved(), OptionsCont::resetWritable(), and NWFrame::writeNetwork().
Referenced by GNEApplicationWindow::onCmdSaveNetwork().
void GNENet::savePlain | ( | const std::string & | prefix | ) |
save plain xml representation of the network (and nothing else)
Definition at line 1351 of file GNENet.cpp.
References computeAndUpdate(), OptionsCont::getOptions(), myNetBuilder, and NWWriter_XML::writeNetwork().
Referenced by GNEApplicationWindow::onCmdSavePlainXMLAs().
void GNENet::saveTLSPrograms | ( | const std::string & | filename | ) |
save TLS Programs elements of the network
[in] | filename | name of the file in which save TLS Programs |
Definition at line 2741 of file GNENet.cpp.
References OutputDevice::close(), OutputDevice::getDevice(), getTLLogicCont(), mySavingStatus, OutputDevice::openTag(), GNENetHelper::SavingStatus::TLSSaved(), WRITE_DEBUG, and NWWriter_SUMO::writeTrafficLights().
Referenced by GNEApplicationWindow::onCmdSaveTLSPrograms().
|
virtualinherited |
select GLObject (Currently used only in netedit)
Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, and GNENetworkElement.
Definition at line 227 of file GUIGlObject.cpp.
void GNENet::selectRoundabout | ( | GNEJunction * | junction, |
GNEUndoList * | undoList | ||
) |
select all roundabout edges and junctions for the current roundabout
Definition at line 1149 of file GNENet.cpp.
References GNEUndoList::begin(), GNEUndoList::end(), NBNetBuilder::getEdgeCont(), GNEJunction::getNBNode(), NBEdgeCont::getRoundabouts(), GNEEdge::getToJunction(), GNE_ATTR_SELECTED, myAttributeCarriers, myNetBuilder, GNENetHelper::AttributeCarriers::retrieveEdge(), GNEEdge::setAttribute(), GNEJunction::setAttribute(), and TL.
Referenced by GNEViewNet::onCmdSelectRoundabout().
|
inlineinherited |
set blocking status
Definition at line 171 of file GUIGlObject.h.
References GUIGlObject::myAmBlocked.
Referenced by GUIGlObjectStorage::getObjectBlocking(), and GUIGlObjectStorage::getObjectBlocking().
|
virtualinherited |
Changes the microsimID of the object.
Definition at line 245 of file GUIGlObject.cpp.
References GUIGlObjectStorage::changeName(), GUIGlObject::createFullName(), GUIGlObjectStorage::gIDStorage, GUIGlObject::myFullName, and GUIGlObject::myMicrosimID.
Referenced by GNEAdditional::setAdditionalID(), GNEDemandElement::setDemandElementID(), GNENetworkElement::setNetworkElementID(), GNENetHelper::AttributeCarriers::updateAdditionalID(), and GNENetHelper::AttributeCarriers::updateDemandElementID().
void GNENet::setViewNet | ( | GNEViewNet * | viewNet | ) |
Set the net to be notified of network changes.
Definition at line 1368 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::addDefaultVTypes(), GNENetHelper::AttributeCarriers::getEdges(), myAttributeCarriers, and myViewNet.
std::pair< GNEJunction *, GNEEdge * > GNENet::splitEdge | ( | GNEEdge * | edge, |
const Position & | pos, | ||
GNEUndoList * | undoList, | ||
GNEJunction * | newJunction = 0 |
||
) |
split edge at position by inserting a new junction
[in] | edge | The edge to be split |
[in] | pos | The position on which to insert the new junction |
Definition at line 924 of file GNENet.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEChange_Attribute::changeAttribute(), createEdge(), createJunction(), NBNode::Crossing::edges, GNEUndoList::end(), GNEEdge::getAttribute(), GNEHierarchicalElement::getChildAdditionals(), GNEHierarchicalElement::getChildDemandElements(), NBEdge::getGeometry(), GNEJunction::getGNECrossings(), GNEAttributeCarrier::getID(), GNEEdge::getLanes(), NBEdge::getLoadedLength(), GUIGlObject::getMicrosimID(), GNEEdge::getNBEdge(), GNEEdge::getToJunction(), GNE_ATTR_SHAPE_END, NBEdge::hasLoadedLength(), PositionVector::length(), PositionVector::nearest_offset_to_point2D(), GNEJunction::replaceIncomingConnections(), GNEEdge::setAttribute(), PositionVector::splitAt(), SUMO_ATTR_LENGTH, SUMO_ATTR_SHAPE, SUMO_ATTR_TO, TL, toString(), and GNEEdge::wasSplit().
Referenced by createRoundabout(), GNEViewNet::onCmdSplitEdge(), GNEViewNet::processLeftButtonPressNetwork(), and splitEdgesBidi().
void GNENet::splitEdgesBidi | ( | GNEEdge * | edge, |
GNEEdge * | oppositeEdge, | ||
const Position & | pos, | ||
GNEUndoList * | undoList | ||
) |
split all edges at position by inserting one new junction
[in] | edge | The edge to be split |
[in] | oppositeEdge | The oppositeEdge to be split |
[in] | pos | The position on which to insert the new junction |
Definition at line 1041 of file GNENet.cpp.
References GNEUndoList::begin(), GNEUndoList::end(), NBNode::getEdges(), GNEEdge::getLanes(), GNEJunction::getNBNode(), GNE_ATTR_OPPOSITE, myAttributeCarriers, GNENetHelper::AttributeCarriers::retrieveEdge(), splitEdge(), and TL.
Referenced by GNEViewNet::onCmdSplitEdgeBidi(), and GNEViewNet::processLeftButtonPressNetwork().
void GNENet::splitJunction | ( | GNEJunction * | junction, |
bool | reconnect, | ||
GNEUndoList * | undoList | ||
) |
replace the selected junction by a list of junctions for each unique edge endpoint
Definition at line 1989 of file GNENet.cpp.
References GNEUndoList::begin(), GNEChange_Attribute::changeAttribute(), createEdge(), createJunction(), deleteJunction(), duplicateLane(), GNEUndoList::end(), NBNode::getDirection(), NBNode::getEndPoints(), GNEEdge::getFromJunction(), GNEJunction::getGNEIncomingEdges(), GNEJunction::getGNEOutgoingEdges(), GNEAttributeCarrier::getID(), GNEEdge::getLanes(), GNEJunction::getNBNode(), GNEEdge::getToJunction(), GNEJunction::isValid(), myAttributeCarriers, GNENetHelper::AttributeCarriers::retrieveEdge(), GNEEdge::setAttribute(), GNEJunction::setLogicValid(), STRAIGHT, SUMO_ATTR_ALLOW, SUMO_ATTR_FROM, SUMO_ATTR_ID, SUMO_ATTR_NUMLANES, SUMO_ATTR_TO, TL, and WRITE_WARNINGF.
Referenced by GNEViewNet::onCmdSplitJunction(), and GNEViewNet::onCmdSplitJunctionReconnect().
|
virtualinherited |
update GLObject (geometry, ID, etc.) (optional)
Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, GNEConnection, GNECrossing, GNEEdge, GNEEdgeType, GNEInternalLane, GNEJunction, GNELane, GNELaneType, and GNEWalkingArea.
Definition at line 233 of file GUIGlObject.cpp.
|
private |
write additional element by type and sorted by ID
Definition at line 2462 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getAdditionals(), myAttributeCarriers, and TL.
Referenced by saveAdditionalsConfirmed(), and saveJuPedSimElements().
|
private |
write calibrator comment
Definition at line 2622 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getAdditionals(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isCalibrator(), and myAttributeCarriers.
Referenced by saveAdditionalsConfirmed().
|
private |
write demand element by type and sorted by ID
Definition at line 2480 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getDemandElements(), and myAttributeCarriers.
|
private |
write detector comment
Definition at line 2646 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getAdditionals(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isDetector(), and myAttributeCarriers.
Referenced by saveAdditionalsConfirmed().
|
private |
write JuPedSim comment
Definition at line 2689 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getAdditionals(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isJuPedSimElement(), and myAttributeCarriers.
Referenced by saveAdditionalsConfirmed(), and saveJuPedSimElements().
|
private |
write meanDataEdge comment
Definition at line 2721 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getMeanDatas(), myAttributeCarriers, and SUMO_TAG_MEANDATA_EDGE.
Referenced by saveMeanDatasConfirmed().
|
private |
write Wire comment
Definition at line 2731 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getMeanDatas(), myAttributeCarriers, and SUMO_TAG_MEANDATA_LANE.
Referenced by saveMeanDatasConfirmed().
|
private |
write meanData element by type and sorted by ID
Definition at line 2560 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getMeanDatas(), myAttributeCarriers, and TL.
Referenced by saveMeanDatasConfirmed().
|
private |
write other additional comment
Definition at line 2658 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getAdditionals(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isAdditionalPureElement(), GNETagProperties::isCalibrator(), GNETagProperties::isDetector(), GNETagProperties::isStoppingPlace(), myAttributeCarriers, SUMO_TAG_ACCESS, SUMO_TAG_PARKING_SPACE, and SUMO_TAG_ROUTEPROBE.
Referenced by saveAdditionalsConfirmed().
|
private |
write route comment
Definition at line 2597 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getDemandElements(), myAttributeCarriers, and SUMO_TAG_ROUTE.
Referenced by saveAdditionalsConfirmed(), and saveDemandElementsConfirmed().
|
private |
write route distributions sorted by ID
Definition at line 2492 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getDemandElements(), GNE_ATTR_ADDITIONALCHILDREN, myAttributeCarriers, and SUMO_TAG_ROUTE_DISTRIBUTION.
Referenced by saveAdditionalsConfirmed(), and saveDemandElementsConfirmed().
|
private |
write routeProbe comment
Definition at line 2612 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getAdditionals(), myAttributeCarriers, and SUMO_TAG_ROUTEPROBE.
Referenced by saveAdditionalsConfirmed().
|
private |
write route sorted by ID
Definition at line 2510 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getDemandElements(), myAttributeCarriers, and SUMO_TAG_ROUTE.
Referenced by saveAdditionalsConfirmed(), and saveDemandElementsConfirmed().
|
private |
write shape comment
Definition at line 2675 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getAdditionals(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isJuPedSimElement(), GNETagProperties::isShapeElement(), and myAttributeCarriers.
Referenced by saveAdditionalsConfirmed().
|
private |
write stoppingPlace comment
Definition at line 2634 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getAdditionals(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isStoppingPlace(), and myAttributeCarriers.
Referenced by saveAdditionalsConfirmed().
|
private |
write TAZ comment
Definition at line 2701 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getAdditionals(), myAttributeCarriers, and SUMO_TAG_TAZ.
Referenced by saveAdditionalsConfirmed().
|
private |
write vType comment
Definition at line 2575 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getDemandElements(), GNE_ATTR_DEFAULT_VTYPE, GNE_ATTR_DEFAULT_VTYPE_MODIFIED, myAttributeCarriers, and SUMO_TAG_VTYPE.
Referenced by saveAdditionalsConfirmed(), and saveDemandElementsConfirmed().
|
private |
write vTypeDistributions sorted by ID
Definition at line 2525 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getDemandElements(), GNE_ATTR_ADDITIONALCHILDREN, myAttributeCarriers, and SUMO_TAG_VTYPE_DISTRIBUTION.
Referenced by saveAdditionalsConfirmed(), and saveDemandElementsConfirmed().
|
private |
write vTypes sorted by ID
Definition at line 2543 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getDemandElements(), myAttributeCarriers, and SUMO_TAG_VTYPE.
Referenced by saveAdditionalsConfirmed(), and saveDemandElementsConfirmed().
|
private |
write Wire comment
Definition at line 2711 of file GNENet.cpp.
References GNENetHelper::AttributeCarriers::getAdditionals(), myAttributeCarriers, and SUMO_TAG_TRACTION_SUBSTATION.
Referenced by saveAdditionalsConfirmed().
|
static |
variable used for write headers in additional, demand and data elements
Definition at line 489 of file GNENet.h.
Referenced by saveAdditionalsConfirmed(), saveDataElementsConfirmed(), saveDemandElementsConfirmed(), saveJuPedSimElements(), and saveMeanDatasConfirmed().
|
staticprivateinherited |
vector for TypeNames Initializer
Definition at line 52 of file GUIGlObject.h.
|
staticinherited |
Definition at line 72 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::getTrackedID(), GUISUMOViewParent::onCmdSpeedFactor(), GUISUMOViewParent::onUpdSpeedFactor(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::showToolTipFor(), and GUIViewTraffic::stopTrack().
|
staticinherited |
Definition at line 73 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::filterContextObjects(), GUIEdge::getClickPriority(), and GUILane::getClickPriority().
|
privateinherited |
whether the object can be deleted
Definition at line 318 of file GUIGlObject.h.
Referenced by GUIGlObject::isBlocked(), and GUIGlObject::setBlocked().
|
protected |
AttributeCarriers of net.
Definition at line 502 of file GNENet.h.
Referenced by adjustPersonPlans(), changeEdgeEndpoints(), checkJunctionPosition(), cleanInvalidCrossings(), cleanInvalidDemandElements(), cleanUnusedRoutes(), clearAdditionalElements(), clearDataElements(), clearDemandElements(), clearMeanDataElements(), computeAndUpdate(), computeDataElements(), computeDemandElements(), computeNetwork(), createEdge(), createJunction(), createRoundabout(), deleteJunction(), deleteNetworkElement(), enableUpdateData(), getAttributeCarriers(), getDataSetIntervalMaximumEnd(), getDataSetIntervalMinimumBegin(), initGNEConnections(), initJunctionsAndEdges(), joinRoutes(), joinSelectedJunctions(), mergeJunctions(), removeSolitaryJunctions(), replaceJunctionByGeometry(), saveAdditionals(), saveDataElementsConfirmed(), saveDemandElements(), saveDemandElementsConfirmed(), saveEdgeTypes(), saveNetwork(), selectRoundabout(), setViewNet(), splitEdgesBidi(), splitJunction(), writeAdditionalByType(), writeCalibratorComment(), writeDemandByType(), writeDetectorComment(), writeJuPedSimComment(), writeMeanDataEdgeComment(), writeMeanDataLaneComment(), writeMeanDatas(), writeOtherAdditionalsComment(), writeRouteComment(), writeRouteDistributions(), writeRouteProbeComment(), writeRoutes(), writeShapesComment(), writeStoppingPlaceComment(), writeTAZComment(), writeVTypeComment(), writeVTypeDistributions(), writeVTypes(), writeWireComment(), and ~GNENet().
|
protected |
Data path manager.
Definition at line 514 of file GNENet.h.
Referenced by deleteEdge(), deleteJunction(), deleteLane(), getDataPathManager(), and ~GNENet().
|
protected |
Demand path manager.
Definition at line 511 of file GNENet.h.
Referenced by computeDemandElements(), deleteEdge(), deleteJunction(), deleteLane(), getDemandPathManager(), and ~GNENet().
|
protected |
Definition at line 519 of file GNENet.h.
Referenced by createEdge().
|
private |
map with the Edges and their number of lanes
Definition at line 620 of file GNENet.h.
Referenced by computeNetwork(), and getEdgesAndNumberOfLanes().
|
protected |
list of edge ids for which turn-arounds must be added explicitly
Definition at line 523 of file GNENet.h.
Referenced by addExplicitTurnaround(), computeAndUpdate(), and removeExplicitTurnaround().
|
privateinherited |
full name of GL Object
Definition at line 312 of file GUIGlObject.h.
Referenced by GUIGlObject::getFullName(), GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
|
privateinherited |
The numerical id of the object.
Definition at line 303 of file GUIGlObject.h.
Referenced by GUIGlObject::getGlID().
|
privateinherited |
The type of the object.
Definition at line 306 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), GUIGlObject::getClickPriority(), GUIGlObject::getType(), and GUIGlObject::GUIGlObject().
|
protected |
the rtree which contains all GUIGlObjects (so named for historical reasons)
Definition at line 493 of file GNENet.h.
Referenced by addGLObjectIntoGrid(), computeAndUpdate(), expandBoundary(), getBoundary(), getGrid(), initJunctionsAndEdges(), and removeGLObjectFromGrid().
|
privateinherited |
icon associatd with this GL Object
Definition at line 315 of file GUIGlObject.h.
Referenced by GUIGlObject::buildPopupHeader(), and GUIGlObject::getGLIcon().
|
protected |
Definition at line 518 of file GNENet.h.
Referenced by createJunction().
|
privateinherited |
ID of GL object.
Definition at line 309 of file GUIGlObject.h.
Referenced by GUIGlObject::getMicrosimID(), and GUIGlObject::setMicrosimID().
|
protected |
whether the net needs recomputation
Definition at line 526 of file GNENet.h.
Referenced by computeAndUpdate(), computeNetwork(), isNetRecomputed(), and requireRecompute().
|
protected |
The internal netbuilder.
Definition at line 496 of file GNENet.h.
Referenced by computeAndUpdate(), getEdgeCont(), getNetBuilder(), getTLLogicCont(), initJunctionsAndEdges(), joinSelectedJunctions(), saveEdgeTypes(), saveJoined(), saveNetwork(), savePlain(), selectRoundabout(), and ~GNENet().
|
protected |
Network path manager.
Definition at line 508 of file GNENet.h.
Referenced by deleteEdge(), deleteJunction(), deleteLane(), getNetworkPathManager(), and ~GNENet().
|
privateinherited |
Parameter table windows which refer to this object.
Definition at line 321 of file GUIGlObject.h.
Referenced by GUIGlObject::addParameterTable(), GUIGlObject::removeParameterTable(), and GUIGlObject::~GUIGlObject().
|
protected |
AttributeCarriers of net.
Definition at line 505 of file GNENet.h.
Referenced by getSavingStatus(), saveAdditionalsConfirmed(), saveDataElementsConfirmed(), saveDemandElementsConfirmed(), saveMeanDatasConfirmed(), saveNetwork(), saveTLSPrograms(), and ~GNENet().
|
protected |
Flag to enable or disable update data elements after inserting or removing element in net.
Definition at line 532 of file GNENet.h.
Referenced by disableUpdateData(), enableUpdateData(), and isUpdateDataEnabled().
|
protected |
Flag to enable or disable update geometry of elements after inserting or removing element in net.
Definition at line 529 of file GNENet.h.
Referenced by computeAndUpdate(), disableUpdateGeometry(), enableUpdateGeometry(), and isUpdateGeometryEnabled().
|
protected |
The net to be notified of about changes.
Definition at line 499 of file GNENet.h.
Referenced by computeAndUpdate(), computeDemandElements(), computeNetwork(), getApp(), getViewNet(), saveAdditionals(), saveDataElements(), saveDemandElements(), saveNetwork(), and setViewNet().
|
private |
the z boundary (stored in the x-coordinate), values of 0 are ignored
Definition at line 617 of file GNENet.h.
Referenced by addZValueInBoundary(), and getZBoundary().
|
staticinherited |
associates object types with strings
Definition at line 71 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), GNESelectorFrame::SelectionOperation::loadFromFile(), and GNESelectorFrame::SelectionOperation::onCmdSave().
|
staticprivate |
marker for whether the z-boundary is initialized
Definition at line 623 of file GNENet.h.
Referenced by addZValueInBoundary().