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)
 
FXImage * image
 The image pointer for later cleanup.
 
bool initialised
 Whether this image was initialised (inserted as a texture)
 
SUMOReal layer
 The layer of the image.
 
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 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: