101 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.
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types...
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.
bool isRestricted(SUMOVehicleClass vclass) const
check if this lane is restricted
const std::vector< GNEAdditional * > & getAdditionalChilds() const
get additional childs of lane
void removeAdditionalChild(GNEAdditional *additional)
remove additional child to this lane
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
std::vector< SUMOReal > myLaneRestrictedTextureRotations
Rotations of textures of restricted lanes.
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
const std::vector< GNEAdditionalSet * > & getAdditionalSetParents()
return list of additionalSets parents of this lane
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
void addAdditionalChild(GNEAdditional *additional)
add additional child to this lane
std::vector< SUMOReal > myShapeRotations
bool removeAdditionalGeometrySet(GNEAdditionalSet *additionalSet)
remove GNEAdditionalSet from this lane
std::vector< GNEConnection * > getGNEIncomingConnections()
returns a vector with the incoming GNEConnections of this lane
std::vector< GNEConnection * > getGNEOutcomingConnections()
returns a vector with the outgoing GNEConnections of this lane
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.
AdditionalSetVector myAdditionalSetParents
list with the additonalSets parents of this lane
std::vector< Position > myLaneRestrictedTexturePositions
Position of textures of restricted lanes.
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.
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.