22 #ifndef GUIJunctionWrapper_h
23 #define GUIJunctionWrapper_h
143 void setGeometry(osg::Geometry* geom) {
170 osg::Geometry* myGeom;
Boundary getBoundary() const
Returns the boundary of the junction.
bool isInner() const
whether this is an inner junction (a waiting spot for crossing a "real" junction) ...
Stores the information about how to visualize structures.
The base class for an intersection.
bool myAmWaterway
whether this junction has only waterways as incoming and outgoing edges
A class that stores a 2D geometrical boundary.
The simulated network and simulation perfomer.
SUMOReal myMaxSize
The maximum size (in either x-, or y-dimension) for determining whether to draw or not...
GUIJunctionWrapper(MSJunction &junction)
Constructor.
GUIJunctionWrapper & operator=(const GUIJunctionWrapper &)
Invalidated assignment operator.
SUMOReal getColorValue(const GUIVisualizationSettings &s) const
virtual ~GUIJunctionWrapper()
Destructor.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
Boundary myBoundary
The represented junction's boundary.
MSJunction & myJunction
A reference to the represented junction.
const MSJunction & getJunction() const
Returns the represented junction.
A window containing a gl-object's parameter.
bool myIsInner
whether this wraps an instance of MSInternalJunction
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.