![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct for pack all variables and functions related with Block Icon More...
#include <GNEViewNetHelper.h>
Static Public Member Functions | |
static void | drawLockIcon (const GNEAttributeCarrier *AC, const GNEGeometry::Geometry &geometry, const double exaggeration, const double offsetx, const double offsety, const bool overlane, const double size=0.5) |
draw lock icon More... | |
Private Member Functions | |
LockIcon () | |
constructor More... | |
LockIcon & | operator= (const LockIcon &other)=delete |
Invalidated assignment operator. More... | |
Static Private Member Functions | |
static bool | checkDrawing (const GNEAttributeCarrier *AC, const double exaggeration) |
check drawing More... | |
static GUIGlID | getLockIcon (const GNEAttributeCarrier *AC) |
get lock icon More... | |
struct for pack all variables and functions related with Block Icon
Definition at line 1225 of file GNEViewNetHelper.h.
|
private |
constructor
Definition at line 3295 of file GNEViewNetHelper.cpp.
|
staticprivate |
check drawing
Definition at line 3299 of file GNEViewNetHelper.cpp.
References GNEAttributeCarrier::getNet(), GNENet::getViewNet(), GUISUMOAbstractView::getVisualisationSettings(), and GNEViewNet::showLockIcon().
|
static |
draw lock icon
Definition at line 3255 of file GNEViewNetHelper.cpp.
References GUITexturesHelper::drawTexturedBox(), GNEGeometry::Geometry::getShape(), GNEGeometry::Geometry::getShapeRotations(), PositionVector::length2D(), PositionVector::positionAtOffset2D(), GNEGeometry::rotateOverLane(), PositionVector::rotationDegreeAtOffset(), Position::x(), and Position::y().
Referenced by GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouter::drawGL(), and GNEVariableSpeedSign::drawGL().
|
staticprivate |
get lock icon
Definition at line 3323 of file GNEViewNetHelper.cpp.
References GNETagProperties::canBlockMovement(), GNEAttributeCarrier::drawUsingSelectColor(), GNEAttributeCarrier::getAttribute(), GNEAttributeCarrier::getTagProperty(), GUITextureSubSys::getTexture(), GNE_ATTR_BLOCK_MOVEMENT, GNETEXTURE_EMPTY, GNETEXTURE_EMPTYSELECTED, GNETEXTURE_LOCK, GNETEXTURE_LOCKSELECTED, GNETEXTURE_NOTMOVING, GNETEXTURE_NOTMOVINGSELECTED, and toString().
Invalidated assignment operator.