Eclipse SUMO - Simulation of Urban MObility
GNEViewNetHelper Struct Reference

#include <GNEViewNetHelper.h>

Data Structures

struct  CommonCheckableButtons
 struct used to group all variables related with common chekable Buttons More...
 
struct  DataCheckableButtons
 struct used to group all variables related with Data checkable Buttons More...
 
struct  DataViewOptions
 struct used to group all variables related to view options in supermode Data More...
 
struct  DemandCheckableButtons
 struct used to group all variables related with Demand checkable Buttons More...
 
struct  DemandViewOptions
 struct used to group all variables related to view options in supermode Demand More...
 
struct  EditModes
 struct used to group all variables related with Supermodes More...
 
struct  EditNetworkElementShapes
 struct used to group all variables related with edit shapes of NetworkElements More...
 
class  IntervalBar
 class used to group all variables related to interval bar More...
 
struct  LockIcon
 struct for pack all variables and functions related with Block Icon More...
 
struct  MouseButtonKeyPressed
 class used to group all variables related with mouse buttons and key pressed after certain events More...
 
struct  MoveMultipleElementValues
 struct used to group all variables related with movement of groups of elements More...
 
struct  MoveSingleElementValues
 struct used to group all variables related with movement of single elements More...
 
struct  NetworkCheckableButtons
 struct used to group all variables related with Network chekable Buttons More...
 
struct  NetworkViewOptions
 struct used to group all variables related to view options in supermode Network More...
 
class  ObjectsUnderCursor
 class used to group all variables related with objects under cursor after a click over view More...
 
struct  SaveElements
 struct used to group all variables related with save elements More...
 
struct  SelectingArea
 struct used to group all variables related with selecting using a square or polygon More...
 
struct  TestingMode
 struct used to group all variables related with testing More...
 
struct  VehicleOptions
 struct used to group all variables related with movement of groups of elements More...
 
struct  VehicleTypeOptions
 struct used to group all variables related with movement of groups of elements More...
 

Static Public Member Functions

static const RGBColorgetRainbowScaledColor (const double min, const double max, const double value)
 get rainbow scaled color More...
 
static const std::vector< RGBColor > & getRainbowScaledColors ()
 get scaled rainbow colors More...
 

Static Private Attributes

static std::vector< RGBColormyRainbowScaledColors
 scale (rainbow) colors More...
 

Detailed Description

Definition at line 173 of file GNEViewNetHelper.h.

Member Function Documentation

◆ getRainbowScaledColor()

const RGBColor & GNEViewNetHelper::getRainbowScaledColor ( const double  min,
const double  max,
const double  value 
)
static

get rainbow scaled color

Definition at line 3375 of file GNEViewNetHelper.cpp.

References getRainbowScaledColors().

Referenced by GNEEdgeData::getColor(), GNEEdgeRelData::getColor(), and GNEGenericDataFrame::AttributeSelector::getScaledColor().

Here is the caller graph for this function:

◆ getRainbowScaledColors()

const std::vector< RGBColor > & GNEViewNetHelper::getRainbowScaledColors ( )
static

get scaled rainbow colors

Definition at line 3355 of file GNEViewNetHelper.cpp.

References myRainbowScaledColors.

Referenced by GNEFrameModuls::buildRainbow(), getRainbowScaledColor(), and GNETAZFrame::TAZEdgesGraphic::updateEdgeColors().

Here is the caller graph for this function:

Field Documentation

◆ myRainbowScaledColors

std::vector< RGBColor > GNEViewNetHelper::myRainbowScaledColors
staticprivate

scale (rainbow) colors

Definition at line 1253 of file GNEViewNetHelper.h.

Referenced by getRainbowScaledColors().


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