Eclipse SUMO - Simulation of Urban MObility
GNELane::LaneDrawingConstants Class Reference

FOX-declaration. More...

#include <GNELane.h>

Public Member Functions

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

Data Fields

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

Private Member Functions

 LaneDrawingConstants ()
 default constructor More...
 
LaneDrawingConstantsoperator= (const LaneDrawingConstants &)=delete
 Invalidated assignment operator. More...
 

Detailed Description

FOX-declaration.

class for LaneDrawingConstants

Definition at line 51 of file GNELane.h.

Constructor & Destructor Documentation

◆ LaneDrawingConstants() [1/2]

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

parameter constructor

Definition at line 56 of file GNELane.cpp.

◆ LaneDrawingConstants() [2/2]

GNELane::LaneDrawingConstants::LaneDrawingConstants ( )
private

default constructor

Definition at line 72 of file GNELane.cpp.

Member Function Documentation

◆ operator=()

LaneDrawingConstants& GNELane::LaneDrawingConstants::operator= ( const LaneDrawingConstants )
privatedelete

Invalidated assignment operator.

Field Documentation

◆ exaggeration

const double GNELane::LaneDrawingConstants::exaggeration

exaggeration

Definition at line 61 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 67 of file GNELane.h.

Referenced by GNEGeometry::drawDottedContourEdge(), GNELane::drawGL(), and GNEEdgeRelData::drawPartialGL().

◆ halfWidth2

const double GNELane::LaneDrawingConstants::halfWidth2

Definition at line 64 of file GNELane.h.

Referenced by GNELane::drawGL().

◆ selectionScale

const double GNELane::LaneDrawingConstants::selectionScale

selection scale

Definition at line 58 of file GNELane.h.


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