Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GUIBasePersonHelper Class Reference

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

#include <GUIBasePersonHelper.h>

Static Public Member Functions

static void drawAction_drawAsCenteredCircle (const double length, const double width, double detail)
 
static void drawAction_drawAsCircle (const double angle, const double length, const double width, double detail)
 
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 40 of file GUIBasePersonHelper.h.

Member Function Documentation

◆ drawAction_drawAsCenteredCircle()

void GUIBasePersonHelper::drawAction_drawAsCenteredCircle ( const double  length,
const double  width,
double  detail 
)
static

Definition at line 67 of file GUIBasePersonHelper.cpp.

References GLHelper::drawFilledCircle(), MAX2(), and MIN2().

Referenced by GNEPerson::drawGL().

Here is the caller graph for this function:

◆ drawAction_drawAsCircle()

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

Definition at line 56 of file GUIBasePersonHelper.cpp.

References GLHelper::drawFilledCircle(), MAX2(), MIN2(), and RAD2DEG.

Referenced by GUIPerson::drawGL().

Here is the caller graph for this function:

◆ 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

Definition at line 104 of file GUIBasePersonHelper.cpp.

References drawAction_drawAsPoly(), GUITexturesHelper::drawTexturedBox(), GUITexturesHelper::getTextureID(), M_PI, PEDESTRIAN, and RAD2DEG.

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

Here is the caller graph for this function:

◆ drawAction_drawAsPoly()

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

Definition at line 76 of file GUIBasePersonHelper.cpp.

References RGBColor::changedBrightness(), GLHelper::drawFilledCircle(), GLHelper::getColor(), RAD2DEG, and GLHelper::setColor().

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

Here is the caller graph for this function:

◆ drawAction_drawAsTriangle()

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

Definition at line 34 of file GUIBasePersonHelper.cpp.

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

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

Here is the caller graph for this function:

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