SUMO - Simulation of Urban MObility
GUIPointOfInterest.h
Go to the documentation of this file.
1 /****************************************************************************/
9 // missing_desc
10 /****************************************************************************/
11 // SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
12 // Copyright (C) 2001-2014 DLR (http://www.dlr.de/) and contributors
13 /****************************************************************************/
14 //
15 // This file is part of SUMO.
16 // SUMO is free software: you can redistribute it and/or modify
17 // it under the terms of the GNU General Public License as published by
18 // the Free Software Foundation, either version 3 of the License, or
19 // (at your option) any later version.
20 //
21 /****************************************************************************/
22 #ifndef GUIPointOfInterest_h
23 #define GUIPointOfInterest_h
24 
25 
26 // ===========================================================================
27 // included modules
28 // ===========================================================================
29 #ifdef _MSC_VER
30 #include <windows_config.h>
31 #else
32 #include <config.h>
33 #endif
34 
35 #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:
65  GUIPointOfInterest(const std::string& id, const std::string& type,
66  const RGBColor& color, const Position& pos,
67  SUMOReal layer, SUMOReal angle, const std::string& imgFile,
68  SUMOReal width, SUMOReal height);
69 
71  virtual ~GUIPointOfInterest();
72 
73 
74 
76 
77 
86  GUISUMOAbstractView& parent);
87 
88 
97  GUISUMOAbstractView& parent);
98 
99 
106 
107 
112  void drawGL(const GUIVisualizationSettings& s) const;
114 
115 };
116 
117 
118 #endif
119 
120 /****************************************************************************/
121 
Stores the information about how to visualize structures.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
A class that stores a 2D geometrical boundary.
Definition: Boundary.h:48
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
A point in 2D or 3D with translation and scaling methods.
Definition: Position.h:46
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
GUIPointOfInterest(const std::string &id, const std::string &type, const RGBColor &color, const Position &pos, SUMOReal layer, SUMOReal angle, const std::string &imgFile, SUMOReal width, SUMOReal height)
Constructor.
virtual ~GUIPointOfInterest()
Destructor.
The popup menu of a globject.
#define SUMOReal
Definition: config.h:215
A point-of-interest.
A window containing a gl-object's parameter.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.