110 const std::map<std::string, GNEJunction*>&
getJunctions()
const;
123 const std::map<std::string, GNEEdgeType*>&
getEdgeTypes()
const;
136 const std::map<std::string, GNEEdge*>&
getEdges()
const;
159 bool addPolygon(
const std::string&
id,
const std::string& type,
const RGBColor& color,
double layer,
160 double angle,
const std::string& imgFile,
bool relativePath,
const PositionVector& shape,
161 bool geo,
bool fill,
double lineWidth,
bool ignorePruning =
false);
180 bool addPOI(
const std::string&
id,
const std::string& type,
const RGBColor& color,
const Position& pos,
bool geo,
181 const std::string& lane,
double posOverLane,
double posLat,
double layer,
double angle,
182 const std::string& imgFile,
bool relativePath,
double width,
double height,
bool ignorePruning =
false);
189 const std::map<SumoXMLTag, std::map<std::string, GNEAdditional*> >&
getAdditionals()
const;
199 const std::map<SumoXMLTag, std::map<std::string, GNEShape*> >&
getShapes()
const;
209 const std::map<SumoXMLTag, std::map<std::string, GNETAZElement*> >&
getTAZElements()
const;
219 const std::map<SumoXMLTag, std::map<std::string, GNEDemandElement*> >&
getDemandElements()
const;
232 const std::map<std::string, GNEDataSet*>&
getDataSets()
const;
406 std::map<SumoXMLTag, std::map<std::string, GNEShape*> >
myShapes;
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
SumoXMLTag
Numbers representing SUMO-XML - element names.
Builds additional objects for GNENet (busStops, chargingStations, detectors, etc.....
An Element which don't belongs to GNENet but has influency in the simulation.
The main window of the Netedit.
the function-object for an editing operation (abstract base)
This object is responsible for drawing a shape and for supplying a a popup menu. Messages are routete...
An Element which don't belongs to GNENet but has influency in the simulation.
A road/street connecting two junctions (netedit-version)
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
struct used for saving all attribute carriers of net, in different formats
AttributeCarriers & operator=(const AttributeCarriers &)=delete
Invalidated assignment operator.
const std::map< std::string, GNEDataSet * > & getDataSets() const
void deleteDataSet(GNEDataSet *dataSet)
delete demand element element of GNENet container
bool addPOI(const std::string &id, const std::string &type, const RGBColor &color, const Position &pos, bool geo, const std::string &lane, double posOverLane, double posLat, double layer, double angle, const std::string &imgFile, bool relativePath, double width, double height, bool ignorePruning=false)
Builds a POI using the given values and adds it to the container.
GNEEdgeType * registerEdgeType(GNEEdgeType *edgeType)
void insertDataSet(GNEDataSet *dataSet)
Insert a demand element element int GNENet container.
void clearDemandElements()
clear demand elements
std::map< std::string, GNEDataSet * > myDataSets
map with the ID and pointer to data sets of net
GNEEdge * registerEdge(GNEEdge *edge)
void updateEdgeTypeID(GNEAttributeCarrier *AC, const std::string &newID)
update edgeType ID in container
void updateDataSetID(GNEAttributeCarrier *AC, const std::string &newID)
update data element ID in container
void deleteShape(GNEShape *shape)
delete shape element of GNENet container
void remapJunctionAndEdgeIds()
remap junction and edge IDs
void clearEdgeTypes()
clear edgeTypes
std::map< SumoXMLTag, std::map< std::string, GNEAdditional * > > myAdditionals
map with the ID and pointer to additional elements of net
std::map< std::string, GNEJunction * > myJunctions
map with the ID and pointer to junctions of net
void deleteDemandElement(GNEDemandElement *demandElement)
delete demand element element of GNENet container
void deleteEdgeType(GNEEdgeType *edgeType)
deletes edgeType
void clearAdditionals()
clear additionals
std::vector< GNEGenericData * > retrieveGenericDatas(const SumoXMLTag genericDataTag, const double begin, const double end)
bool demandElementExist(const GNEDemandElement *demandElement) const
return true if given demand element exist
GNENet * myNet
pointer to net
void updateEdgeID(GNEAttributeCarrier *AC, const std::string &newID)
update edge ID in container
void deleteSingleJunction(GNEJunction *junction)
deletes a single junction
void insertShape(GNEShape *shape)
Insert a shape element int GNENet container.
GNEJunction * registerJunction(GNEJunction *junction)
bool dataSetExist(const GNEDataSet *dataSet) const
return true if given demand element exist
~AttributeCarriers()
destructor
void updateDemandElementID(GNEAttributeCarrier *AC, const std::string &newID)
update demand element ID in container
const std::map< std::string, GNEEdge * > & getEdges() const
map with the ID and pointer to edges of net
void deleteTAZElement(GNETAZElement *TAZElement)
delete TAZElement element of GNENet container
const std::map< SumoXMLTag, std::map< std::string, GNETAZElement * > > & getTAZElements() const
AttributeCarriers(const AttributeCarriers &)=delete
Invalidated copy constructor.
void addDefaultVTypes()
add default VTypes
void deleteSingleEdge(GNEEdge *edge)
deletes a single edge
void deleteAdditional(GNEAdditional *additional)
delete additional element of GNENet container
std::map< SumoXMLTag, std::map< std::string, GNEShape * > > myShapes
map with the ID and pointer to shape elements of net
void updateID(GNEAttributeCarrier *AC, const std::string newID)
update ID
void insertEdge(GNEEdge *edge)
void insertDemandElement(GNEDemandElement *demandElement)
Insert a demand element element int GNENet container.
void clearTAZElements()
clear TAZElements
bool addPolygon(const std::string &id, const std::string &type, const RGBColor &color, double layer, double angle, const std::string &imgFile, bool relativePath, const PositionVector &shape, bool geo, bool fill, double lineWidth, bool ignorePruning=false)
Builds a polygon using the given values and adds it to the container.
std::map< std::string, GNEEdgeType * > myEdgeTypes
map with the ID and pointer to edgeTypes of net
std::map< SumoXMLTag, std::map< std::string, GNETAZElement * > > myTAZElements
map with the ID and pointer to TAZElement elements of net
const std::map< SumoXMLTag, std::map< std::string, GNEAdditional * > > & getAdditionals() const
bool additionalExist(const GNEAdditional *additional) const
return true if given additional exist
bool shapeExist(const GNEShape *shape) const
return true if given shape exist
void insertTAZElement(GNETAZElement *TAZElement)
Insert a TAZElement element int GNENet container.
void insertAdditional(GNEAdditional *additional)
Insert a additional element int GNENet container.
void updateAdditionalID(GNEAttributeCarrier *AC, const std::string &newID)
update additional ID in container
void insertEdgeType(GNEEdgeType *edgeType)
inserts a single edgeType into the net and into the underlying netbuild-container
void clearDataSets()
clear demand elements
void clearEdges()
clear edges
void insertJunction(GNEJunction *junction)
std::map< SumoXMLTag, std::map< std::string, GNEDemandElement * > > myDemandElements
map with the ID and pointer to demand elements of net
const std::map< SumoXMLTag, std::map< std::string, GNEDemandElement * > > & getDemandElements() const
bool myAllowUndoShapes
flag used to indicate if created shape can be undo
const std::map< std::string, GNEJunction * > & getJunctions() const
map with the ID and pointer to junctions of net
const std::map< std::string, GNEEdgeType * > & getEdgeTypes() const
map with the ID and pointer to edgeTypes of net
bool TAZElementExist(const GNETAZElement *TAZElement) const
return true if given TAZElement exist
void clearJunctions()
clear junctions
void clearShapes()
clear shapes
void updateJunctionID(GNEAttributeCarrier *AC, const std::string &newID)
update junction ID in container
bool edgeTypeExist(const GNEEdgeType *edgeType) const
std::map< std::string, GNEEdge * > myEdges
map with the ID and pointer to edges of net
AttributeCarriers(GNENet *net)
constructor
const std::map< SumoXMLTag, std::map< std::string, GNEShape * > > & getShapes() const
void updateShapeID(GNEAttributeCarrier *AC, const std::string &newID)
update shape ID in container
void updateTAZElementID(GNEAttributeCarrier *AC, const std::string &newID)
update TAZElement ID in container
class for GNEChange_ReplaceEdgeInTLS
FXString undoName() const
undo name
NBEdge * myBy
replaced by NBEdge
NBTrafficLightLogicCont & myTllcont
container for traffic light logic
FXString redoName() const
get Redo name
GNEChange_ReplaceEdgeInTLS(NBTrafficLightLogicCont &tllcont, NBEdge *replaced, NBEdge *by)
constructor
~GNEChange_ReplaceEdgeInTLS()
@bief destructor
NBEdge * myReplaced
replaced NBEdge
bool trueChange()
wether original and new value differ
class used to calculate paths in nets
bool busStopConnected(const GNEAdditional *busStop, const GNEEdge *edge) const
check if exist a path between the given busStop and edge (Either a valid lane or an acces) for pedest...
void updatePathCalculator()
update path calculator (called when SuperModes Demand or Data is selected)
void calculateReachability(const SUMOVehicleClass vClass, GNEEdge *originEdge)
calculate reachability for given edge
PathCalculator(const GNENet *net)
constructor
SUMOAbstractRouter< NBRouterEdge, NBVehicle > * myDijkstraRouter
SUMO Abstract myDijkstraRouter.
std::vector< GNEEdge * > calculatePath(const SUMOVehicleClass vClass, const std::vector< GNEEdge * > &partialEdges) const
calculate Dijkstra path between a list of partial edges
const GNENet * myNet
pointer to net
bool consecutiveEdgesConnected(const SUMOVehicleClass vClass, const GNEEdge *from, const GNEEdge *to) const
check if exist a path between the two given consecutives edges for the given VClass
~PathCalculator()
destructor
A NBNetBuilder extended by visualisation and editing capabilities.
Builds trigger objects for GNENet (busStops, chargingStations, detectors, etc..)
An Element which don't belongs to GNENet but has influency in the simulation.
The representation of a single edge during network building.
Instance responsible for building networks.
A container for traffic light definitions and built programs.
A point in 2D or 3D with translation and scaling methods.
Storage for geometrical objects.