![]() |
Eclipse SUMO - Simulation of Urban MObility
|
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) | |
A decal (an image) that can be shown.
Definition at line 356 of file GUISUMOAbstractView.h.
|
inline |
Constructor.
Definition at line 359 of file GUISUMOAbstractView.h.
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().
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().
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().
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().
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().
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.
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().
FXImage* GUISUMOAbstractView::Decal::image = nullptr |
The image pointer for later cleanup.
Definition at line 407 of file GUISUMOAbstractView.h.
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().
double GUISUMOAbstractView::Decal::layer = 0 |
The layer of the image.
Definition at line 392 of file GUISUMOAbstractView.h.
Referenced by GUISettingsHandler::myStartElement().
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().
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().
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().
bool GUISUMOAbstractView::Decal::skip2D = false |
Whether this image should be skipped in 2D-views.
Definition at line 398 of file GUISUMOAbstractView.h.
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().
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().