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. More...
 

Data Fields

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

Detailed Description

A decal (an image) that can be shown.

Definition at line 245 of file GUISUMOAbstractView.h.

Constructor & Destructor Documentation

GUISUMOAbstractView::Decal::Decal ( )
inline

Constructor.

Definition at line 247 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 269 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView::drawDecals().

SUMOReal GUISUMOAbstractView::Decal::height
FXImage* GUISUMOAbstractView::Decal::image

The image pointer for later cleanup.

Definition at line 271 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView::drawDecals().

bool GUISUMOAbstractView::Decal::initialised

Whether this image was initialised (inserted as a texture)

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