255 void setGeometry(osg::Geometry* geom) {
277 const MSLane::VehCont::iterator& at,
313 osg::Geometry* myGeom;
void drawLane2LaneConnections() const
const std::vector< SUMOReal > & getShapeRotations() const
SUMOReal getNormedHBEFA_HCEmissions() const
Returns the sum of last step HC emissions normed by the lane's length.
SUMOReal getNormedHBEFA_NOxEmissions() const
Returns the sum of last step NOx emissions normed by the lane's length.
Representation of a vehicle in the micro simulation.
void setColor(const GUIVisualizationSettings &s) const
sets the color according to the currente settings
unsigned int myIndex
The lane index.
void detectCollisions(SUMOTime timestep, int stage)
Stores the information about how to visualize structures.
std::vector< MSVehicle * > VehCont
Container for vehicles.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
Notification
Definition of a vehicle state.
const std::vector< SUMOReal > & getShapeLengths() const
bool integrateNewVehicle(SUMOTime t)
A class that stores a 2D geometrical boundary.
The simulated network and simulation perfomer.
Representation of a lane in the micro simulation (gui-version)
void drawLinkRules(const GUINet &net) const
std::vector< SUMOReal > myShapeRotations
The rotations of the shape parts.
A road/street connecting two junctions.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
bool executeMovements(SUMOTime t, std::vector< MSLane * > &into)
MFXMutex myLock
The mutex used to avoid concurrent updates of the vehicle buffer.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
SUMOReal getNormedHBEFA_CO2Emissions() const
Returns the sum of last step CO2 emissions normed by the lane's length.
void drawTLSLinkNo(const GUINet &net) const
void planMovements(const SUMOTime t)
std::vector< SUMOReal > myShapeLengths
The lengths of the shape parts.
SUMOReal firstWaitingTime() const
void drawLinkNo() const
helper methods
GUILane(const std::string &id, SUMOReal maxSpeed, SUMOReal length, MSEdge *const edge, unsigned int numericalID, const PositionVector &shape, SUMOReal width, SVCPermissions permissions, unsigned int index)
Constructor.
virtual void incorporateVehicle(MSVehicle *veh, SUMOReal pos, SUMOReal speed, const MSLane::VehCont::iterator &at, MSMoveReminder::Notification notification=MSMoveReminder::NOTIFICATION_DEPARTED)
Inserts the vehicle into this lane, and informs it about entering the network.
SUMOReal getEdgeLaneNumber() const
void swapAfterLaneChange(SUMOTime t)
moves myTmpVehicles int myVehicles after a lane change procedure
SUMOReal getNormedHBEFA_COEmissions() const
Returns the sum of last step CO emissions normed by the lane's length.
void drawMarkings(const GUIVisualizationSettings &s) const
draw lane borders and white markings
The vehicle has departed (was inserted into the network)
SUMOReal getColorValue(size_t activeScheme) const
gets the color value according to the current scheme index
A MSNet extended by some values for usage within the gui.
SUMOReal getNormedHBEFA_FuelConsumption() const
Returns the sum of last step fuel comsumption normed by the lane's length.
SUMOReal getStoredEdgeTravelTime() const
Returns the stored traveltime for the edge of this lane.
MSVehicle * removeVehicle(MSVehicle *remVehicle, MSMoveReminder::Notification notification)
SUMOReal getHalfWidth() const
SUMOReal myHalfLaneWidth
Half of lane width, for speed-up.
SUMOReal myQuarterLaneWidth
Quarter of lane width, for speed-up.
const VehCont & getVehiclesSecure() const
Returns the vehicles container; locks it for microsimulation.
SUMOReal getNormedHBEFA_PMxEmissions() const
Returns the sum of last step PMx emissions normed by the lane's length.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
Representation of a lane in the micro simulation.
void drawCrossties(const GUIVisualizationSettings &s) const
draw crossties for railroads
A window containing a gl-object's parameter.
void releaseVehicles() const
Allows to use the container for microsimulation again.
const PositionVector & getShape() const