102 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
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
void drawMarkings(const bool &selectedEdge, SUMOReal scale) const
const RGBColor * mySpecialColor
optional special color
Stores the information about how to visualize structures.
GNELane & operator=(const GNELane &)
Invalidated assignment operator.
GNEEdge & getParentEdge()
Returns underlying parent edge.
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
unsigned int getIndex() const
Boundary getBoundary() const
returns the boundry (including lanes)
A class that stores a 2D geometrical boundary.
bool drawAsRailway(const GUIVisualizationSettings &s) const
whether to draw this lane as a railway
void drawLane2LaneConnections() const
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
void setSpecialColor(const RGBColor *color)
bool setFunctionalColor(size_t activeScheme) const
sets the color according to the current scheme index and some lane function
std::vector< SUMOReal > myShapeRotations
The rotations of the shape parts.
void updateGeometry()
update pre-computed geometry information
void drawCrossties(SUMOReal length, SUMOReal spacing, SUMOReal halfWidth) const
std::string getAttribute(SumoXMLAttr key) const
A road/street connecting two junctions (netedit-version)
void drawLinkRules() const
GNEEdge & myParentEdge
The Edge that to which this lane belongs.
const PositionVector & getShape() const
long onDefault(FXObject *, FXSelector, void *)
multiplexes message to two targets
std::vector< SUMOReal > myShapeLengths
The lengths of the shape parts.
const std::vector< SUMOReal > & getShapeLengths() const
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
unsigned int myIndex
The index of this lane.
void setIndex(unsigned int index)
bool isValid(SumoXMLAttr key, const std::string &value)
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
A window containing a gl-object's parameter.
GNETLSEditor * myTLSEditor
the tls-editor for setting multiple links in TLS-mode
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
virtual ~GNELane()
Destructor.
SUMOReal getColorValue(size_t activeScheme) const