71 TL(
"Warning: The netedit overhead editor is still in experimental state."));
81 myViewNet->setStatusBarText(
TL(
"Current selected wire isn't valid."));
89 const auto& tagProperties =
myWireTagSelector->getCurrentTemplateAC()->getTagProperty();
114 const auto tagProperty =
myWireTagSelector->getCurrentTemplateAC()->getTagProperty();
136 myViewNet->getViewParent()->getGNEAppWindows()->isUndoRedoAllowed());
183 while (
myBaseWire->getParentSumoBaseObject()) {
227 WRITE_WARNING(
TL(
"Currently unsupported. Create rerouter elements using rerouter dialog"));
232 WRITE_WARNING(
TL(
"Currently unsupported. Create VSS steps elements using VSS dialog"));
253 myViewNet->getViewParent()->getGNEAppWindows()->isUndoRedoAllowed());
#define WRITE_WARNINGF(...)
#define WRITE_WARNING(msg)
@ SUMO_TAG_TRACTION_SUBSTATION
A traction substation.
@ SUMO_TAG_INTERVAL
an aggreagated-output interval
@ SUMO_TAG_CLOSING_REROUTE
reroute of type closing
@ SUMO_TAG_PARKING_AREA_REROUTE
entry for an alternative parking zone
@ SUMO_TAG_STEP
trigger: a step description
@ SUMO_TAG_ROUTE_PROB_REROUTE
probability of route of a reroute
@ SUMO_TAG_OVERHEAD_WIRE_SECTION
An overhead wire section.
@ SUMO_TAG_DEST_PROB_REROUTE
probability of destination of a reroute
@ SUMO_TAG_CLOSING_LANE_REROUTE
lane of a reroute of type closing
@ SUMO_ATTR_SUBSTATIONID
id of a traction substation substation
@ GNE_ATTR_ADDITIONAL_FILE
additional save file
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
void parseSumoBaseObject(CommonXMLStructure::SumoBaseObject *obj)
parse SumoBaseObject (it's called recursivelly)
const std::string getID() const override
get ID (all Attribute Carriers have one)
const GNETagProperties * getTagProperty() const
get tagProperty associated with this Attribute Carrier
GNEViewNet * myViewNet
FOX need this.
virtual void show()
show Frame
GNEFrame(GNEViewParent *viewParent, GNEViewNet *viewNet, const std::string &frameLabel)
Constructor.
SumoXMLTag getTag() const
get Tag vinculated with this attribute Property
class used to group all variables related with objects under cursor after a click over view
GNELane * getLaneFront() const
get front lane or a pointer to nullptr
A single child window which contains a view of the simulation area.
void tagSelected()
Tag selected in GNETagSelector.
GNEAttributesEditor * myWireAttributesEditor
internal wire attributes
~GNEWireFrame()
Destructor.
GNEConsecutiveSelector * getConsecutiveLaneSelector() const
get consecutive lane selector
bool createPath(const bool useLastRoute)
create path
bool buildWireOverView(const GNETagProperties *tagProperty)
build wire over view
bool createBaseWireObject(const GNETagProperties *tagProperty)
void show()
show wire frame
bool myWarnedExperimental
Warn about experimental state.
bool addWire(const GNEViewNetHelper::ViewObjectsSelector &viewObjects)
add wire element
GNESelectorParent * mySelectorWireParent
Select wire parent.
GNETagSelector * myWireTagSelector
item selector
GNEWireFrame(GNEViewParent *viewParent, GNEViewNet *viewNet)
Constructor.
CommonXMLStructure::SumoBaseObject * myBaseWire
SumoBaseObject used for create wire.
GNEConsecutiveSelector * myConsecutiveLaneSelector
Module for select consecutive lanes.
A point in 2D or 3D with translation and scaling methods.
double x() const
Returns the x-position.
double z() const
Returns the z-position.
double y() const
Returns the y-position.