bool checkEdgeBelong(GNEEdge *edges) const
return true if a edge belongs to crossing's edges
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
Stores the information about how to visualize structures.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
std::string getAttribute(SumoXMLAttr key) const
This functions has to be implemented in allGNEAttributeCarrier.
GNECrossing(GNEJunction *parentJunction, NBNode::Crossing *crossing)
Constructor.
A class that stores a 2D geometrical boundary.
void updateGeometry()
update pre-computed geometry information
NBNode::Crossing * myCrossing
the data for this crossing
This object is responsible for drawing a shape and for supplying a a popup menu. Messages are routete...
std::vector< double > myShapeRotations
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
GNECrossing & operator=(const GNECrossing &)
Invalidated assignment operator.
GNEJunction * getParentJunction() const
get parent Junction
GNEJunction * myParentJunction
the parent junction of this crossing
GUIGLObjectPopupMenu * myPopup
the created popup
NBNode::Crossing * getNBCrossing() const
get referente to NBode::Crossing
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
A road/street connecting two junctions (netedit-version)
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
virtual ~GNECrossing()
Destructor.
A definition of a pedestrian crossing.
bool isValid(SumoXMLAttr key, const std::string &value)
std::vector< double > myShapeLengths
The lengths of the shape parts.
const PositionVector myShape
the shape of the edge
A window containing a gl-object's parameter.