Eclipse SUMO - Simulation of Urban MObility
GUIBasePersonHelper.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-2019 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
15 // Functions used in GUIPerson and GNEPerson for drawing persons
16 /****************************************************************************/
17 #ifndef GUIBasePersonHelper_h
18 #define GUIBasePersonHelper_h
19 
20 
21 // ===========================================================================
22 // included modules
23 // ===========================================================================
24 #include <config.h>
25 
26 #include <string>
27 
28 
29 // ===========================================================================
30 // class declarations
31 // ===========================================================================
33 class GUIGlObject;
34 
35 
36 // ===========================================================================
37 // class definitions
38 // ===========================================================================
44 public:
45 
46  static void drawAction_drawAsTriangle(const double angle, const double lenght, const double width);
47  static void drawAction_drawAsCircle(const double lenght, const double width);
48  static void drawAction_drawAsPoly(const double angle, const double lenght, const double width);
49  static void drawAction_drawAsImage(const double angle, const double lenght, const double width, const std::string& file,
50  const SUMOVehicleShape guiShape, const double exaggeration);
51 };
52 
53 
54 #endif
55 
56 /****************************************************************************/
57 
GUIBasePersonHelper
A list of functions used for drawing persons in GUI.
Definition: GUIBasePersonHelper.h:43
GUIBasePersonHelper::drawAction_drawAsPoly
static void drawAction_drawAsPoly(const double angle, const double lenght, const double width)
Definition: GUIBasePersonHelper.cpp:65
SUMOVehicleShape
SUMOVehicleShape
Definition of vehicle classes to differ between different appearences.
Definition: SUMOVehicleClass.h:51
GUIGlObject
Definition: GUIGlObject.h:66
config.h
GUIBasePersonHelper::drawAction_drawAsCircle
static void drawAction_drawAsCircle(const double lenght, const double width)
Definition: GUIBasePersonHelper.cpp:58
GUIVisualizationSettings
Stores the information about how to visualize structures.
Definition: GUIVisualizationSettings.h:346
GUIBasePersonHelper::drawAction_drawAsImage
static void drawAction_drawAsImage(const double angle, const double lenght, const double width, const std::string &file, const SUMOVehicleShape guiShape, const double exaggeration)
Definition: GUIBasePersonHelper.cpp:91
GUIBasePersonHelper::drawAction_drawAsTriangle
static void drawAction_drawAsTriangle(const double angle, const double lenght, const double width)
Definition: GUIBasePersonHelper.cpp:36