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 altitude
 The altitude of the image (net coordinates in z-direction, in m) More...
 
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...
 
SUMOReal centerZ
 The center of the image in z-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 y-direction, 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 roll
 The roll of the image to the ground plane (in degrees) More...
 
SUMOReal rot
 The rotation of the image in the ground plane (in degrees) More...
 
bool skip2D
 Whether this image should be skipped in 2D-views. More...
 
SUMOReal tilt
 The tilt of the image to the ground plane (in degrees) More...
 
SUMOReal width
 The width of the image (net coordinates in x-direction, 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::altitude

The altitude of the image (net coordinates in z-direction, in m)

Definition at line 265 of file GUISUMOAbstractView.h.

Referenced by GUISettingsHandler::myStartElement(), and GUIDialog_ViewSettings::saveDecals().

SUMOReal GUISUMOAbstractView::Decal::centerX
SUMOReal GUISUMOAbstractView::Decal::centerY
SUMOReal GUISUMOAbstractView::Decal::centerZ

The center of the image in z-direction (net coordinates, in m)

Definition at line 259 of file GUISUMOAbstractView.h.

Referenced by GUISettingsHandler::myStartElement(), and GUIDialog_ViewSettings::saveDecals().

std::string GUISUMOAbstractView::Decal::filename
int GUISUMOAbstractView::Decal::glID

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

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

Referenced by GUISUMOAbstractView::drawDecals().

bool GUISUMOAbstractView::Decal::initialised

Whether this image was initialised (inserted as a texture)

Definition at line 275 of file GUISUMOAbstractView.h.

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

SUMOReal GUISUMOAbstractView::Decal::roll

The roll of the image to the ground plane (in degrees)

Definition at line 271 of file GUISUMOAbstractView.h.

Referenced by GUISettingsHandler::myStartElement(), and GUIDialog_ViewSettings::saveDecals().

SUMOReal GUISUMOAbstractView::Decal::rot
bool GUISUMOAbstractView::Decal::skip2D

Whether this image should be skipped in 2D-views.

Definition at line 277 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView::drawDecals().

SUMOReal GUISUMOAbstractView::Decal::tilt

The tilt of the image to the ground plane (in degrees)

Definition at line 269 of file GUISUMOAbstractView.h.

Referenced by GUISettingsHandler::myStartElement(), and GUIDialog_ViewSettings::saveDecals().

SUMOReal GUISUMOAbstractView::Decal::width

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