100 long onDefault(FXObject*, FXSelector,
void*);
bool drawAsWaterway(const GUIVisualizationSettings &s) const
whether to draw this lane as a waterways
const std::string & getParentName() const
Returns the name of the parent object (if any)
const std::vector< SUMOReal > & getShapeRotations() const
returns the vector with the shape rotations
GNETLSEditorFrame * myTLSEditor
the tls-editor for setting multiple links in TLS-mode
AdditionalVector myAdditionals
list with the additonals vinculated with this lane
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
std::vector< GNEAdditionalSet * > AdditionalSetVector
Definition of the additionalSets vector.
void drawMarkings(const bool &selectedEdge, SUMOReal scale) const
draw lane markings
SUMOReal getSpeed() const
returns the current speed of lane
const RGBColor * mySpecialColor
optional special color
SUMOReal getPositionRelativeToShapeLenght(SUMOReal position) const
std::vector< GNEAdditional * > AdditionalVector
FOX-declaration.
Stores the information about how to visualize structures.
GNELane & operator=(const GNELane &)
Invalidated assignment operator.
bool setFunctionalColor(int activeScheme) const
sets the color according to the current scheme index and some lane function
SUMOReal getColorValue(int activeScheme) const
return value for lane coloring according to the given scheme
A NBNetBuilder extended by visualisation and editing capabilities.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
bool setMultiColor(const GUIColorer &c) const
sets multiple colors according to the current scheme index and some lane function ...
std::vector< RGBColor > myShapeColors
The color of the shape parts (cached)
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void drawTLSLinkNo() const
draw TLS Link Number
An Element wich group additionalSet elements.
Boundary getBoundary() const
returns the boundry (including lanes)
int getIndex() const
returns the index of the lane
A class that stores a 2D geometrical boundary.
int myIndex
The index of this lane.
bool drawAsRailway(const GUIVisualizationSettings &s) const
whether to draw this lane as a railway
void drawDirectionIndicators() const
direction indicators for lanes
void drawLane2LaneConnections() const
draw lane to lane connections
void drawArrows() const
draw arrows
GNEEdge & getParentEdge()
Returns underlying parent edge.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
SUMOReal getLaneParametricLenght() const
returns the parameteric length of the lane
SUMOReal getPositionRelativeToParametricLenght(SUMOReal position) const
std::vector< SUMOReal > myShapeRotations
AdditionalSetVector myAdditionalSets
list with the additonalSets vinculated with this lane
bool removeAdditionalSet(GNEAdditionalSet *additionalSet)
remove GNEAdditionalSet from this lane
bool removeAdditional(GNEAdditional *additional)
void updateGeometry()
update pre-computed geometry information
void drawCrossties(SUMOReal length, SUMOReal spacing, SUMOReal halfWidth) const
draw crossties for railroads
bool addAdditionalSet(GNEAdditionalSet *additionalSet)
add GNEAdditionalSet to this lane
std::string getAttribute(SumoXMLAttr key) const
A road/street connecting two junctions (netedit-version)
void drawLinkRules() const
draw link rules
GNEEdge & myParentEdge
The Edge that to which this lane belongs.
const PositionVector & getShape() const
returns the shape of the lane
SUMOReal getLaneShapeLenght() const
returns the length of the lane's shape
long onDefault(FXObject *, FXSelector, void *)
multiplexes message to two targets
An Element which don't belongs to GNENet but has influency in the simulation.
const std::vector< GNEAdditional * > & getAdditionals() const
method to obtain a list of additional elements associated to this lane
std::vector< SUMOReal > myShapeLengths
The lengths of the shape parts.
void setSpecialColor(const RGBColor *Color2)
const std::vector< SUMOReal > & getShapeLengths() const
returns the vector with the shape lengths
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
void addAdditional(GNEAdditional *additional)
const std::vector< GNEAdditionalSet * > & getAdditionalSets()
return list of additionalSets associated with this lane
bool isValid(SumoXMLAttr key, const std::string &value)
void drawLinkNo() const
draw link Number
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
A window containing a gl-object's parameter.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.