SUMO - Simulation of Urban MObility
GUIPointOfInterest.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-2017 German Aerospace Center (DLR) and others.
4 /****************************************************************************/
5 //
6 // This program and the accompanying materials
7 // are made available under the terms of the Eclipse Public License v2.0
8 // which accompanies this distribution, and is available at
9 // http://www.eclipse.org/legal/epl-v20.html
10 //
11 /****************************************************************************/
19 // missing_desc
20 /****************************************************************************/
21 #ifndef GUIPointOfInterest_h
22 #define GUIPointOfInterest_h
23 
24 
25 // ===========================================================================
26 // included modules
27 // ===========================================================================
28 #ifdef _MSC_VER
29 #include <windows_config.h>
30 #else
31 #include <config.h>
32 #endif
33 
34 #include <string>
38 
39 
40 // ===========================================================================
41 // class declarations
42 // ===========================================================================
43 
44 
45 // ===========================================================================
46 // class definitions
47 // ===========================================================================
48 /*
49  * @class GUIPointOfInterest
50  * @brief The GUI-version of a point of interest
51  */
53 public:
69  GUIPointOfInterest(const std::string& id, const std::string& type,
70  const RGBColor& color, const Position& pos, bool geo,
71  const std::string& lane, double posOverLane, double posLat,
72  double layer, double angle, const std::string& imgFile,
73  double width, double height);
74 
76  virtual ~GUIPointOfInterest();
77 
78 
79 
81 
82 
91  GUISUMOAbstractView& parent);
92 
93 
102  GUISUMOAbstractView& parent);
103 
104 
111 
112 
117  void drawGL(const GUIVisualizationSettings& s) const;
119 
120 };
121 
122 
123 #endif
124 
125 /****************************************************************************/
126 
Stores the information about how to visualize structures.
GUIPointOfInterest(const std::string &id, const std::string &type, const RGBColor &color, const Position &pos, bool geo, const std::string &lane, double posOverLane, double posLat, double layer, double angle, const std::string &imgFile, double width, double height)
Constructor.
A class that stores a 2D geometrical boundary.
Definition: Boundary.h:47
A point in 2D or 3D with translation and scaling methods.
Definition: Position.h:45
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
virtual ~GUIPointOfInterest()
Destructor.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
The popup menu of a globject.
A point-of-interest.
A window containing a gl-object&#39;s parameter.
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.