22 #ifndef GUILaneWrapper_h
23 #define GUILaneWrapper_h
242 void setGeometry(osg::Geometry* geom) {
286 osg::Geometry* myGeom;
GUILaneWrapper & operator=(const GUILaneWrapper &)
Invalidated assignment operator.
SUMOReal myHalfLaneWidth
Half of lane width, for speed-up.
SUMOReal getNormedHBEFA_CO2Emissions() const
Returns the sum of last step CO2 emissions normed by the lane's length.
void drawLinkRules(const GUINet &net) const
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
Stores the information about how to visualize structures.
MSLane & myLane
The assigned lane.
GUILaneWrapper(MSLane &lane, const PositionVector &shape, unsigned int index)
Constructor.
unsigned int myIndex
The lane index.
SUMOReal getNormedHBEFA_HCEmissions() const
Returns the sum of last step HC emissions normed by the lane's length.
SUMOReal getNormedPHEMlight_NOxEmissions() const
Returns the sum of last step NOx emissions normed by the lane's length.
bool forLane(const MSLane &lane) const
Returns true if the given lane id the lane this wrapper wraps the geometry of.
SUMOReal getNormedPHEMlight_CO2Emissions() const
Returns the sum of last step CO2 emissions normed by the lane's length.
SUMOReal getNormedPHEMlight_PMxEmissions() const
Returns the sum of last step PMx emissions normed by the lane's length.
SUMOReal getEdgeLaneNumber() const
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
SUMOReal getNormedHBEFA_NOxEmissions() const
Returns the sum of last step NOx emissions normed by the lane's length.
const MSLane & getLane() const
Returns the represented lane.
A class that stores a 2D geometrical boundary.
SUMOReal getNormedHBEFA_PMxEmissions() const
Returns the sum of last step PMx emissions normed by the lane's length.
const PositionVector & myShape
The shape of the lane.
virtual ~GUILaneWrapper()
Destructor.
A road/street connecting two junctions.
unsigned int getLinkNumber() const
Returns the number of links.
SUMOReal getNormedPHEMlight_FuelConsumption() const
Returns the sum of last step fuel comsumption normed by the lane's length.
void drawCrossties(const GUIVisualizationSettings &s) const
draw crossties for railroads
SUMOReal getColorValue(size_t activeScheme) const
gets the color value according to the current scheme index
SUMOReal myQuarterLaneWidth
Quarter of lane width, for speed-up.
void drawLinkNo() const
helper methods
SUMOReal getNormedPHEMlight_HCEmissions() const
Returns the sum of last step HC emissions normed by the lane's length.
std::vector< SUMOReal > myShapeLengths
The lengths of the shape parts.
void drawLane2LaneConnections() const
SUMOReal getNormedHBEFA_FuelConsumption() const
Returns the sum of last step fuel comsumption normed by the lane's length.
void drawTLSLinkNo(const GUINet &net) const
SUMOReal firstWaitingTime() const
std::vector< SUMOReal > myShapeRotations
The rotations of the shape parts.
const std::vector< SUMOReal > & getShapeRotations() const
void drawMarkings(const GUIVisualizationSettings &s) const
draw lane borders and white markings
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
A MSNet extended by some values for usage within the gui.
A MSLane extended for visualisation purposes.
const std::vector< SUMOReal > & getShapeLengths() const
void setColor(const GUIVisualizationSettings &s) const
sets the color according to the currente settings
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
SUMOReal getNormedPHEMlight_COEmissions() const
Returns the sum of last step CO emissions normed by the lane's length.
Representation of a lane in the micro simulation.
const PositionVector & getShape() const
A window containing a gl-object's parameter.
SUMOReal getHalfWidth() const
SUMOReal getNormedHBEFA_COEmissions() const
Returns the sum of last step CO emissions normed by the lane's length.
SUMOReal getStoredEdgeTravelTime() const
Returns the stored traveltime for the edge of this lane.