 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
19 #ifndef GUIJunctionWrapper_h
20 #define GUIJunctionWrapper_h
135 void setGeometry(osg::Geometry* geom) {
167 osg::Geometry* myGeom;
A window containing a gl-object's parameter.
The base class for an intersection.
Boundary getBoundary() const
Returns the boundary of the junction.
The simulated network and simulation perfomer.
bool myIsInternal
whether this wraps an instance of MSInternalJunction
GUIJunctionWrapper(MSJunction &junction, const std::string &tllID)
Constructor.
bool isInternal() const
whether this is an inner junction (a waiting spot for crossing a "real" junction)
bool myAmWaterway
whether this junction has only waterways as incoming and outgoing edges
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
A class that stores a 2D geometrical boundary.
double getColorValue(const GUIVisualizationSettings &s, int activeScheme) const
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
MSJunction & myJunction
A reference to the represented junction.
const std::string myTLLID
the associated traffic light or ""
GUIJunctionWrapper & operator=(const GUIJunctionWrapper &)
Invalidated assignment operator.
virtual ~GUIJunctionWrapper()
Destructor.
double myMaxSize
The maximum size (in either x-, or y-dimension) for determining whether to draw or not.
Stores the information about how to visualize structures.
Boundary myBoundary
The represented junction's boundary.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
const MSJunction & getJunction() const
Returns the represented junction.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
bool myAmRailway
whether this junction has only railways as incoming and outgoing edges