Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNELane::LaneDrawingConstants Class Reference

FOX-declaration. More...

#include <GNELane.h>

Public Member Functions

 LaneDrawingConstants (const GUIVisualizationSettings &s, const GNELane *lane)
 parameter constructor (reference)
 

Data Fields

const double exaggeration
 exaggeration
 
const double halfWidth
 Draw as a normal lane, and reduce width to make sure that a selected edge can still be seen.
 
const double halfWidth2
 
const double selectionScale
 selection scale
 

Private Member Functions

 LaneDrawingConstants ()
 default constructor
 

Detailed Description

FOX-declaration.

class for LaneDrawingConstants

Definition at line 52 of file GNELane.h.

Constructor & Destructor Documentation

◆ LaneDrawingConstants() [1/2]

GNELane::LaneDrawingConstants::LaneDrawingConstants ( const GUIVisualizationSettings s,
const GNELane lane 
)

parameter constructor (reference)

Definition at line 63 of file GNELane.cpp.

◆ LaneDrawingConstants() [2/2]

GNELane::LaneDrawingConstants::LaneDrawingConstants ( )
private

default constructor

Definition at line 79 of file GNELane.cpp.

Field Documentation

◆ exaggeration

const double GNELane::LaneDrawingConstants::exaggeration

exaggeration

Definition at line 62 of file GNELane.h.

Referenced by GNELane::drawGL(), GNELane::drawLaneAsRailway(), and GNELane::drawTextures().

◆ halfWidth

const double GNELane::LaneDrawingConstants::halfWidth

Draw as a normal lane, and reduce width to make sure that a selected edge can still be seen.

Definition at line 68 of file GNELane.h.

Referenced by GNEEdge::drawDottedContourEdge(), GNELane::drawGL(), GNELane::drawLaneStopOffset(), GNEEdgeRelData::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNEEdge::drawTAZElements(), and GNEStop::updateGeometry().

◆ halfWidth2

const double GNELane::LaneDrawingConstants::halfWidth2

Definition at line 65 of file GNELane.h.

Referenced by GNELane::drawGL().

◆ selectionScale

const double GNELane::LaneDrawingConstants::selectionScale

selection scale

Definition at line 59 of file GNELane.h.


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