SUMO - Simulation of Urban MObility
|
00001 /****************************************************************************/ 00009 // missing_desc 00010 /****************************************************************************/ 00011 // SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/ 00012 // Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors 00013 /****************************************************************************/ 00014 // 00015 // This file is part of SUMO. 00016 // SUMO is free software: you can redistribute it and/or modify 00017 // it under the terms of the GNU General Public License as published by 00018 // the Free Software Foundation, either version 3 of the License, or 00019 // (at your option) any later version. 00020 // 00021 /****************************************************************************/ 00022 #ifndef GUIPointOfInterest_h 00023 #define GUIPointOfInterest_h 00024 00025 00026 // =========================================================================== 00027 // included modules 00028 // =========================================================================== 00029 #ifdef _MSC_VER 00030 #include <windows_config.h> 00031 #else 00032 #include <config.h> 00033 #endif 00034 00035 #include <string> 00036 #include <utils/shapes/PointOfInterest.h> 00037 #include <utils/gui/globjects/GUIGlObject_AbstractAdd.h> 00038 00039 00040 // =========================================================================== 00041 // class declarations 00042 // =========================================================================== 00043 00044 00045 // =========================================================================== 00046 // class definitions 00047 // =========================================================================== 00048 /* 00049 * @class GUIPointOfInterest 00050 * @brief The GUI-version of a point of interest 00051 */ 00052 class GUIPointOfInterest : public PointOfInterest, public GUIGlObject_AbstractAdd { 00053 public: 00062 GUIPointOfInterest(int layer, 00063 const std::string& id, const std::string& type, 00064 const Position& p, const RGBColor& c) ; 00065 00067 virtual ~GUIPointOfInterest() ; 00068 00069 00070 00072 00073 00081 GUIGLObjectPopupMenu* getPopUpMenu(GUIMainWindow& app, 00082 GUISUMOAbstractView& parent) ; 00083 00084 00092 GUIParameterTableWindow* getParameterWindow(GUIMainWindow& app, 00093 GUISUMOAbstractView& parent) ; 00094 00095 00101 Boundary getCenteringBoundary() const ; 00102 00103 00108 void drawGL(const GUIVisualizationSettings& s) const ; 00110 00111 00113 int getLayer() const; 00114 00115 protected: 00120 int myLayer; 00121 00122 }; 00123 00124 00125 #endif 00126 00127 /****************************************************************************/ 00128