Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GUIDottedGeometry::DottedGeometryColor Class Reference

class for pack all variables related with GUIDottedGeometry color More...

#include <GUIDottedGeometry.h>

Collaboration diagram for GUIDottedGeometry::DottedGeometryColor:
[legend]

Public Member Functions

void changeColor ()
 change color
 
 DottedGeometryColor (const GUIVisualizationSettings &settings)
 constructor
 
const RGBColor getColor (DottedContourType type)
 get inspected color (and change flag)
 
void reset ()
 rest Dotted Geometry Color
 

Private Member Functions

DottedGeometryColor & operator= (const DottedGeometryColor &other)=delete
 Invalidated assignment operator.
 

Private Attributes

bool myColorFlag
 flag to get color
 
const GUIVisualizationSettings & mySettings
 pointer to GUIVisualizationSettings
 

Detailed Description

class for pack all variables related with GUIDottedGeometry color

Definition at line 52 of file GUIDottedGeometry.h.

Constructor & Destructor Documentation

◆ DottedGeometryColor()

GUIDottedGeometry::DottedGeometryColor::DottedGeometryColor ( const GUIVisualizationSettings &  settings)

constructor

Definition at line 39 of file GUIDottedGeometry.cpp.

Member Function Documentation

◆ changeColor()

void GUIDottedGeometry::DottedGeometryColor::changeColor ( )

change color

Definition at line 122 of file GUIDottedGeometry.cpp.

Referenced by GNEEdge::drawDottedContourEdge(), and GUIDottedGeometry::drawDottedContourShape().

Here is the caller graph for this function:

◆ getColor()

const RGBColor GUIDottedGeometry::DottedGeometryColor::getColor ( DottedContourType  type)

◆ operator=()

DottedGeometryColor & GUIDottedGeometry::DottedGeometryColor::operator= ( const DottedGeometryColor &  other)
privatedelete

Invalidated assignment operator.

◆ reset()

void GUIDottedGeometry::DottedGeometryColor::reset ( )

rest Dotted Geometry Color

Definition at line 132 of file GUIDottedGeometry.cpp.

Referenced by GNEEdge::drawDottedContourEdge(), GUIDottedGeometry::drawDottedContourShape(), and GNEEdgeRelData::drawPartialGL().

Here is the caller graph for this function:

Field Documentation

◆ myColorFlag

bool GUIDottedGeometry::DottedGeometryColor::myColorFlag
private

flag to get color

Definition at line 72 of file GUIDottedGeometry.h.

◆ mySettings

const GUIVisualizationSettings& GUIDottedGeometry::DottedGeometryColor::mySettings
private

pointer to GUIVisualizationSettings

Definition at line 69 of file GUIDottedGeometry.h.


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