Eclipse SUMO - Simulation of Urban MObility
GUISUMOAbstractView::Decal Struct Reference

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

#include <GUISUMOAbstractView.h>

Public Member Functions

 Decal ()
 Constructor. More...
 

Data Fields

double altitude
 The altitude of the image (net coordinates in z-direction, in m) More...
 
double centerX
 The center of the image in x-direction (net coordinates, in m) More...
 
double centerY
 The center of the image in y-direction (net coordinates, in m) More...
 
double 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
 whether the decal shall be drawn in screen coordinates, rather than network coordinates More...
 
double 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...
 
double layer
 The layer of the image. More...
 
double roll
 The roll of the image to the ground plane (in degrees) More...
 
double rot
 The rotation of the image in the ground plane (in degrees) More...
 
bool screenRelative
 Whether this image should be skipped in 2D-views. More...
 
bool skip2D
 Whether this image should be skipped in 2D-views. More...
 
double tilt
 The tilt of the image to the ground plane (in degrees) More...
 
double 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 352 of file GUISUMOAbstractView.h.

Constructor & Destructor Documentation

◆ Decal()

GUISUMOAbstractView::Decal::Decal ( )

Constructor.

Definition at line 1909 of file GUISUMOAbstractView.cpp.

Field Documentation

◆ altitude

double GUISUMOAbstractView::Decal::altitude

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

Definition at line 369 of file GUISUMOAbstractView.h.

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

◆ centerX

double GUISUMOAbstractView::Decal::centerX

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

Definition at line 359 of file GUISUMOAbstractView.h.

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

◆ centerY

double GUISUMOAbstractView::Decal::centerY

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

Definition at line 361 of file GUISUMOAbstractView.h.

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

◆ centerZ

double GUISUMOAbstractView::Decal::centerZ

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

Definition at line 363 of file GUISUMOAbstractView.h.

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

◆ filename

std::string GUISUMOAbstractView::Decal::filename

◆ glID

int GUISUMOAbstractView::Decal::glID

whether the decal shall be drawn in screen coordinates, rather than network coordinates

Definition at line 385 of file GUISUMOAbstractView.h.

◆ height

double GUISUMOAbstractView::Decal::height

The height of the image (net coordinates in y-direction, in m)

Definition at line 367 of file GUISUMOAbstractView.h.

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

◆ image

FXImage* GUISUMOAbstractView::Decal::image

The image pointer for later cleanup.

Definition at line 387 of file GUISUMOAbstractView.h.

◆ initialised

bool GUISUMOAbstractView::Decal::initialised

Whether this image was initialised (inserted as a texture)

Definition at line 379 of file GUISUMOAbstractView.h.

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

◆ layer

double GUISUMOAbstractView::Decal::layer

◆ roll

double GUISUMOAbstractView::Decal::roll

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

Definition at line 375 of file GUISUMOAbstractView.h.

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

◆ rot

double GUISUMOAbstractView::Decal::rot

The rotation of the image in the ground plane (in degrees)

Definition at line 371 of file GUISUMOAbstractView.h.

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

◆ screenRelative

bool GUISUMOAbstractView::Decal::screenRelative

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

Definition at line 383 of file GUISUMOAbstractView.h.

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

◆ skip2D

bool GUISUMOAbstractView::Decal::skip2D

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

Definition at line 381 of file GUISUMOAbstractView.h.

◆ tilt

double GUISUMOAbstractView::Decal::tilt

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

Definition at line 373 of file GUISUMOAbstractView.h.

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

◆ width

double GUISUMOAbstractView::Decal::width

The width of the image (net coordinates in x-direction, in m)

Definition at line 365 of file GUISUMOAbstractView.h.

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


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