Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GUISUMOAbstractView::Decal Struct Reference

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

#include <GUISUMOAbstractView.h>

Public Member Functions

 Decal ()
 Constructor.
 

Data Fields

double altitude = 0
 The altitude of the image (net coordinates in z-direction, in m)
 
double centerX = 0
 The center of the image in x-direction (net coordinates, in m)
 
double centerY = 0
 The center of the image in y-direction (net coordinates, in m)
 
double centerZ = 0
 The center of the image in z-direction (net coordinates, in m)
 
std::string filename
 The path to the file the image is located at.
 
int glID = -1
 whether the decal shall be drawn in screen coordinates, rather than network coordinates
 
double height = 0
 The height of the image (net coordinates in y-direction, in m)
 
FXImage * image = nullptr
 The image pointer for later cleanup.
 
bool initialised = false
 Whether this image was initialised (inserted as a texture)
 
double layer = 0
 The layer of the image.
 
double roll = 0
 The roll of the image to the ground plane (in degrees)
 
double rot = 0
 The rotation of the image in the ground plane (in degrees)
 
bool screenRelative = false
 Whether this image should be skipped in 2D-views.
 
bool skip2D = false
 Whether this image should be skipped in 2D-views.
 
double tilt = 0
 The tilt of the image to the ground plane (in degrees)
 
double width = 0
 The width of the image (net coordinates in x-direction, in m)
 

Detailed Description

A decal (an image) that can be shown.

Definition at line 356 of file GUISUMOAbstractView.h.

Constructor & Destructor Documentation

◆ Decal()

GUISUMOAbstractView::Decal::Decal ( )
inline

Constructor.

Definition at line 359 of file GUISUMOAbstractView.h.

Field Documentation

◆ altitude

double GUISUMOAbstractView::Decal::altitude = 0

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

Definition at line 380 of file GUISUMOAbstractView.h.

Referenced by GUISettingsHandler::myStartElement().

◆ centerX

double GUISUMOAbstractView::Decal::centerX = 0

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

Definition at line 365 of file GUISUMOAbstractView.h.

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

◆ centerY

double GUISUMOAbstractView::Decal::centerY = 0

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

Definition at line 368 of file GUISUMOAbstractView.h.

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

◆ centerZ

double GUISUMOAbstractView::Decal::centerZ = 0

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

Definition at line 371 of file GUISUMOAbstractView.h.

Referenced by GUISettingsHandler::myStartElement().

◆ filename

std::string GUISUMOAbstractView::Decal::filename

The path to the file the image is located at.

Definition at line 362 of file GUISUMOAbstractView.h.

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

◆ glID

int GUISUMOAbstractView::Decal::glID = -1

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

Definition at line 404 of file GUISUMOAbstractView.h.

◆ height

double GUISUMOAbstractView::Decal::height = 0

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

Definition at line 377 of file GUISUMOAbstractView.h.

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

◆ image

FXImage* GUISUMOAbstractView::Decal::image = nullptr

The image pointer for later cleanup.

Definition at line 407 of file GUISUMOAbstractView.h.

◆ initialised

bool GUISUMOAbstractView::Decal::initialised = false

Whether this image was initialised (inserted as a texture)

Definition at line 395 of file GUISUMOAbstractView.h.

Referenced by GUISettingsHandler::myStartElement().

◆ layer

double GUISUMOAbstractView::Decal::layer = 0

The layer of the image.

Definition at line 392 of file GUISUMOAbstractView.h.

Referenced by GUISettingsHandler::myStartElement().

◆ roll

double GUISUMOAbstractView::Decal::roll = 0

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

Definition at line 389 of file GUISUMOAbstractView.h.

Referenced by GUISettingsHandler::myStartElement().

◆ rot

double GUISUMOAbstractView::Decal::rot = 0

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

Definition at line 383 of file GUISUMOAbstractView.h.

Referenced by GUISettingsHandler::myStartElement().

◆ screenRelative

bool GUISUMOAbstractView::Decal::screenRelative = false

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

Definition at line 401 of file GUISUMOAbstractView.h.

Referenced by GUISettingsHandler::myStartElement().

◆ skip2D

bool GUISUMOAbstractView::Decal::skip2D = false

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

Definition at line 398 of file GUISUMOAbstractView.h.

◆ tilt

double GUISUMOAbstractView::Decal::tilt = 0

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

Definition at line 386 of file GUISUMOAbstractView.h.

Referenced by GUISettingsHandler::myStartElement().

◆ width

double GUISUMOAbstractView::Decal::width = 0

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

Definition at line 374 of file GUISUMOAbstractView.h.

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


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