GUISUMOAbstractView::Decal Struct Reference

#include <GUISUMOAbstractView.h>


Detailed Description

A decal (an image) that can be shown.

Definition at line 216 of file 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).

Constructor & Destructor Documentation

GUISUMOAbstractView::Decal::Decal (  )  [inline]

Constructor.

Definition at line 218 of file GUISUMOAbstractView.h.

00219                 : filename(), centerX(0), centerY(0),
00220                 width(1000), height(1000), rot(0),
00221                 initialised(false), glID(-1) { }


Field Documentation

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

Definition at line 238 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView::drawDecals().

Whether this image was initialised (inserted as a texture).

Definition at line 236 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:

Generated on Wed May 5 00:06:45 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6