Eclipse SUMO - Simulation of Urban MObility
GUIBasePersonHelper Class Reference

A list of functions used for drawing persons in GUI. More...

#include <GUIBasePersonHelper.h>

Collaboration diagram for GUIBasePersonHelper:

Static Public Member Functions

static void drawAction_drawAsCircle (const double length, const double width)
 
static void drawAction_drawAsImage (const double angle, const double length, const double width, const std::string &file, const SUMOVehicleShape guiShape, const double exaggeration)
 
static void drawAction_drawAsPoly (const double angle, const double length, const double width)
 
static void drawAction_drawAsTriangle (const double angle, const double length, const double width)
 

Detailed Description

A list of functions used for drawing persons in GUI.

Definition at line 42 of file GUIBasePersonHelper.h.

Member Function Documentation

◆ drawAction_drawAsCircle()

void GUIBasePersonHelper::drawAction_drawAsCircle ( const double  length,
const double  width 
)
static

Definition at line 57 of file GUIBasePersonHelper.cpp.

References GLHelper::drawFilledCircle().

Referenced by GUIPerson::drawGL(), and GNEPerson::drawGL().

◆ drawAction_drawAsImage()

void GUIBasePersonHelper::drawAction_drawAsImage ( const double  angle,
const double  length,
const double  width,
const std::string &  file,
const SUMOVehicleShape  guiShape,
const double  exaggeration 
)
static

◆ drawAction_drawAsPoly()

void GUIBasePersonHelper::drawAction_drawAsPoly ( const double  angle,
const double  length,
const double  width 
)
static

◆ drawAction_drawAsTriangle()

void GUIBasePersonHelper::drawAction_drawAsTriangle ( const double  angle,
const double  length,
const double  width 
)
static

Definition at line 35 of file GUIBasePersonHelper.cpp.

References GLHelper::getColor(), M_PI, RAD2DEG, and GLHelper::setColor().

Referenced by GUIPerson::drawGL(), and GNEPerson::drawGL().


The documentation for this class was generated from the following files: