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 /****************************************************************************/
14 // Functions used in GUIPerson and GNEPerson for drawing persons
15 /****************************************************************************/
16 #ifndef GUIBasePersonHelper_h
17 #define GUIBasePersonHelper_h
18 
19 
20 // ===========================================================================
21 // included modules
22 // ===========================================================================
23 #include <config.h>
24 
25 #include <string>
26 
27 
28 // ===========================================================================
29 // class declarations
30 // ===========================================================================
32 class GUIGlObject;
33 
34 
35 // ===========================================================================
36 // class definitions
37 // ===========================================================================
43 public:
44 
45  static void drawAction_drawAsTriangle(const double angle, const double length, const double width);
46  static void drawAction_drawAsCircle(const double length, const double width);
47  static void drawAction_drawAsPoly(const double angle, const double length, const double width);
48  static void drawAction_drawAsImage(const double angle, const double length, const double width, const std::string& file,
49  const SUMOVehicleShape guiShape, const double exaggeration);
50 };
51 
52 
53 #endif
54 
55 /****************************************************************************/
56 
GUIBasePersonHelper
A list of functions used for drawing persons in GUI.
Definition: GUIBasePersonHelper.h:42
GUIBasePersonHelper::drawAction_drawAsCircle
static void drawAction_drawAsCircle(const double length, const double width)
Definition: GUIBasePersonHelper.cpp:57
GUIBasePersonHelper::drawAction_drawAsPoly
static void drawAction_drawAsPoly(const double angle, const double length, const double width)
Definition: GUIBasePersonHelper.cpp:64
SUMOVehicleShape
SUMOVehicleShape
Definition of vehicle classes to differ between different appearences.
Definition: SUMOVehicleClass.h:50
GUIGlObject
Definition: GUIGlObject.h:65
GUIBasePersonHelper::drawAction_drawAsTriangle
static void drawAction_drawAsTriangle(const double angle, const double length, const double width)
Definition: GUIBasePersonHelper.cpp:35
config.h
GUIBasePersonHelper::drawAction_drawAsImage
static void drawAction_drawAsImage(const double angle, const double length, const double width, const std::string &file, const SUMOVehicleShape guiShape, const double exaggeration)
Definition: GUIBasePersonHelper.cpp:90
GUIVisualizationSettings
Stores the information about how to visualize structures.
Definition: GUIVisualizationSettings.h:345