SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
GUIPointOfInterest.h
Go to the documentation of this file.
1 /****************************************************************************/
9 // missing_desc
10 /****************************************************************************/
11 // SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
12 // Copyright (C) 2001-2015 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>
39 
40 
41 // ===========================================================================
42 // class declarations
43 // ===========================================================================
44 
45 
46 // ===========================================================================
47 // class definitions
48 // ===========================================================================
49 /*
50  * @class GUIPointOfInterest
51  * @brief The GUI-version of a point of interest
52  */
54 public:
66  GUIPointOfInterest(const std::string& id, const std::string& type,
67  const RGBColor& color, const Position& pos,
68  SUMOReal layer, SUMOReal angle, const std::string& imgFile,
69  SUMOReal width, SUMOReal height);
70 
72  virtual ~GUIPointOfInterest();
73 
74 
75 
77 
78 
87  GUISUMOAbstractView& parent);
88 
89 
98  GUISUMOAbstractView& parent);
99 
100 
107 
108 
113  void drawGL(const GUIVisualizationSettings& s) const;
115 
116 };
117 
118 
119 #endif
120 
121 /****************************************************************************/
122 
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:218
A point-of-interest.
A window containing a gl-object's parameter.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.