SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GUISUMOAbstractView::Decal Struct Reference

A decal (an image) that can be shown. More...

#include <GUISUMOAbstractView.h>

Public Member Functions

 Decal ()
 Constructor.

Data Fields

SUMOReal centerX
 The center of the image in x-direction (net coordinates, in m)
SUMOReal centerY
 The center of the image in y-direction (net coordinates, in m)
std::string filename
 The path to the file the image is located at.
int glID
 The gl-id of the texture that holds this image.
SUMOReal height
 The height of the image (net coordinates, in m)
bool initialised
 Whether this image was initialised (inserted as a texture)
SUMOReal rot
 The rotation of the image (in degrees)
SUMOReal width
 The width of the image (net coordinates, in m)

Detailed Description

A decal (an image) that can be shown.

Definition at line 246 of file GUISUMOAbstractView.h.

Constructor & Destructor Documentation

GUISUMOAbstractView::Decal::Decal ( )
inline

Constructor.

Definition at line 248 of file GUISUMOAbstractView.h.

Field Documentation

SUMOReal GUISUMOAbstractView::Decal::centerX
SUMOReal GUISUMOAbstractView::Decal::centerY
std::string GUISUMOAbstractView::Decal::filename
int GUISUMOAbstractView::Decal::glID

The gl-id of the texture that holds this image.

Definition at line 268 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView::drawDecals().

SUMOReal GUISUMOAbstractView::Decal::height
bool GUISUMOAbstractView::Decal::initialised

Whether this image was initialised (inserted as a texture)

Definition at line 266 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView::drawDecals(), GUISettingsHandler::myStartElement(), and GUIDialog_ViewSettings::onCmdEditTable().


The documentation for this struct was generated from the following file: