109 long onDefault(FXObject*, FXSelector,
void*);
261 void drawMarkings(
const bool& selectedEdge,
double scale)
const;
295 void drawCrossties(
double length,
double spacing,
double halfWidth)
const;
bool setMultiColor(const GUIColorer &c) const
sets multiple colors according to the current scheme index and some lane function ...
std::vector< double > myShapeLengths
The lengths of the shape parts.
void drawLane2LaneConnections() const
draw lane to lane connections
bool isRestricted(SUMOVehicleClass vclass) const
check if this lane is restricted
GNETLSEditorFrame * myTLSEditor
the tls-editor for setting multiple links in TLS-mode
AdditionalVector myAdditionals
list with the additionals 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...
const RGBColor * mySpecialColor
optional special color
std::vector< GNEAdditional * > AdditionalVector
FOX-declaration.
Boundary getBoundary() const
returns the boundry (including lanes)
Stores the information about how to visualize structures.
void removeAdditionalChild(GNEAdditional *additional)
remove additional child to this lane
GNELane & operator=(const GNELane &)
Invalidated assignment operator.
double getPositionRelativeToParametricLength(double position) const
const std::vector< double > & getShapeRotations() const
returns the vector with the shape rotations
A NBNetBuilder extended by visualisation and editing capabilities.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
double getSpeed() const
returns the current speed of lane
std::vector< RGBColor > myShapeColors
The color of the shape parts (cached)
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
bool drawAsRailway(const GUIVisualizationSettings &s) const
whether to draw this lane as a railway
double getColorValue(int activeScheme) const
return value for lane coloring according to the given scheme
A class that stores a 2D geometrical boundary.
int myIndex
The index of this lane.
bool setFunctionalColor(int activeScheme) const
sets the color according to the current scheme index and some lane function
std::vector< double > myLaneRestrictedTextureRotations
Rotations of textures of restricted lanes.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
bool drawAsWaterway(const GUIVisualizationSettings &s) const
whether to draw this lane as a waterways
int getIndex() const
returns the index of the lane
double getLaneParametricLength() const
returns the parameteric length of the lane
GNEEdge & getParentEdge()
Returns underlying parent edge.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
void addAdditionalChild(GNEAdditional *additional)
add additional child to this lane
std::vector< double > myShapeRotations
std::vector< GNEConnection * > getGNEIncomingConnections()
returns a vector with the incoming GNEConnections of this lane
void drawArrows() const
draw arrows
std::vector< GNEConnection * > getGNEOutcomingConnections()
returns a vector with the outgoing GNEConnections of this lane
double getLaneShapeLength() const
returns the length of the lane's shape
void updateGeometry()
update pre-computed geometry information
std::string getAttribute(SumoXMLAttr key) const
A road/street connecting two junctions (netedit-version)
void drawDirectionIndicators() const
direction indicators for lanes
GNEEdge & myParentEdge
The Edge that to which this lane belongs.
const PositionVector & getShape() const
returns the shape of the lane
void updateConnectionIDs()
void drawMarkings(const bool &selectedEdge, double scale) const
draw lane markings
long onDefault(FXObject *, FXSelector, void *)
multiplexes message to two targets
void drawTLSLinkNo(const GUIVisualizationSettings &s) const
draw TLS Link Number
An Element which don't belongs to GNENet but has influency in the simulation.
void drawCrossties(double length, double spacing, double halfWidth) const
draw crossties for railroads
std::vector< Position > myLaneRestrictedTexturePositions
Position of textures of restricted lanes.
void setSpecialColor(const RGBColor *Color2)
void drawLinkNo(const GUIVisualizationSettings &s) const
draw link Number
void drawLinkRules() const
draw link rules
const std::string & getParentName() const
Returns the name of the parent object (if any)
bool isValid(SumoXMLAttr key, const std::string &value)
const std::vector< double > & getShapeLengths() const
returns the vector with the shape lengths
double getPositionRelativeToShapeLength(double position) const
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
A window containing a gl-object's parameter.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
const std::vector< GNEAdditional * > & getAdditionalChilds() const
get additional childs of lane