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 checkable 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...
 
class  LockManager
 lock manager More...
 
struct  MouseButtonKeyPressed
 class used to group all variables related with mouse buttons and key pressed after certain events More...
 
struct  MoveMultipleElementModul
 struct used to group all variables related with movement of groups of elements More...
 
struct  MoveSingleElementModul
 struct used to group all variables related with movement of single elements More...
 
struct  NetworkCheckableButtons
 struct used to group all variables related with Network checkable Buttons More...
 
struct  NetworkViewOptions
 struct used to group all variables related to view options in supermode Network 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  TimeFormat
 struct used to group all variables related with time format 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...
 
class  ViewObjectsSelector
 class used to group all variables related with objects under cursor after a click over view More...
 

Static Public Member Functions

static std::vector< GUIGlObject * > filterElementsByLayer (const std::vector< GUIGlObject * > &GLObjects)
 filter elements based on the layer More...
 
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 169 of file GNEViewNetHelper.h.

Member Function Documentation

◆ filterElementsByLayer()

std::vector< GUIGlObject * > GNEViewNetHelper::filterElementsByLayer ( const std::vector< GUIGlObject * > &  GLObjects)
static

filter elements based on the layer

Definition at line 4071 of file GNEViewNetHelper.cpp.

References GLO_CONTAINER, GLO_CONTAINERFLOW, GLO_PERSON, GLO_PERSONFLOW, GLO_RIDE, GLO_ROUTEFLOW, GLO_STOP, GLO_STOP_PLAN, GLO_TRANSHIP, and GLO_VEHICLE.

Referenced by GNEDeleteFrame::removeAttributeCarrier(), and GNESelectorFrame::selectAttributeCarrier().

Here is the caller graph for this function:

◆ getRainbowScaledColor()

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

get rainbow scaled color

Definition at line 4048 of file GNEViewNetHelper.cpp.

References getRainbowScaledColors().

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

Here is the caller graph for this function:

◆ getRainbowScaledColors()

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

get scaled rainbow colors

Definition at line 4028 of file GNEViewNetHelper.cpp.

References myRainbowScaledColors.

Referenced by GNEFrame::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 1482 of file GNEViewNetHelper.h.

Referenced by getRainbowScaledColors().


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