56 const std::string& title,
124 std::vector<GUISUMOAbstractView::Decal>* decals,
125 FXMutex* decalsLock);
142 long onCmdOk(FXObject*, FXSelector,
void*);
413 bool updateColorRanges(FXObject* sender, std::vector<FXColorWell*>::const_iterator colIt,
414 std::vector<FXColorWell*>::const_iterator colEnd,
415 std::vector<FXRealSpinner*>::const_iterator threshIt,
416 std::vector<FXRealSpinner*>::const_iterator threshEnd,
417 std::vector<FXButton*>::const_iterator buttonIt,
421 bool updateScaleRanges(FXObject* sender, std::vector<FXRealSpinner*>::const_iterator colIt,
422 std::vector<FXRealSpinner*>::const_iterator colEnd,
423 std::vector<FXRealSpinner*>::const_iterator threshIt,
424 std::vector<FXRealSpinner*>::const_iterator threshEnd,
425 std::vector<FXButton*>::const_iterator buttonIt,
430 std::vector<FXColorWell*>& colors,
431 std::vector<FXRealSpinner*>& thresholds,
432 std::vector<FXButton*>& buttons,
433 FXCheckButton* interpolation,
438 std::vector<FXRealSpinner*>& scales,
439 std::vector<FXRealSpinner*>& thresholds,
440 std::vector<FXButton*>& buttons,
441 FXCheckButton* interpolation,
GUIVisualizationTextSettings getSettings()
get settings
FXRealSpinner * mySizeDial
size dial
FXColorWell * myBGColorWell
BGColor well.
void update(const GUIVisualizationTextSettings &settings)
update
FXMatrix * myMatrix0
Matrix.
FXCheckButton * myCheck
check button
FXCheckButton * myConstSizeCheck
const size check
FXColorWell * myColorWell
color well
NamePanel(FXMatrix *parent, GUIDialog_ViewSettings *target, const std::string &title, const GUIVisualizationTextSettings &settings)
constructor
FXCheckButton * mySelectedCheck
draw only for selected?
FXCheckButton * myCheckSelected
check selected button
FXCheckButton * myCheck
check button
FXRealSpinner * myMinSizeDial
min size dial
SizePanel(FXMatrix *parent, GUIDialog_ViewSettings *target, const GUIVisualizationSizeSettings &settings)
constructor
void update(const GUIVisualizationSizeSettings &settings)
update
GUIVisualizationSizeSettings getSettings()
get settings
FXRealSpinner * myExaggerateDial
exaggerate dial
The dialog to change the view (gui) settings.
NamePanel * myTLSPhaseNamePanel
long onCmdExportSetting(FXObject *, FXSelector, void *data)
Called if the settings shall be exported into a file.
FXVerticalFrame * myVehicleColorSettingFrame
FXColorWell * mySelectedPersonPlanColor
NamePanel * myJunctionNamePanel
void buildBackgroundFrame(FXTabBook *tabbook)
build frames
FXCheckButton * myDataColorRainbowCheck
FXCheckButton * myVehicleColorInterpolation
std::string getCurrentScheme() const
Returns the name of the currently chosen scheme.
FXButton * myDataColorRainbow
FXVerticalFrame * myDataColorSettingFrame
NamePanel * myDataValuePanel
FXColorWell * myChargingStationColor
FXCheckButton * myHideMacroConnectors
GUISUMOAbstractView * myParent
FOX need this.
FXMutex * myDecalsLock
Lock used when changing the decals.
FXColorWell * myTransportColor
FXCheckButton * myShowMinGap
NamePanel * myStreetNamePanel
std::vector< FXColorWell * > myPolyColors
FXVerticalFrame * myJunctionColorSettingFrame
void buildSelectionFrame(FXTabBook *tabbook)
FXCheckButton * mySaveDecals
void buildOpenGLFrame(FXTabBook *tabbook)
long onCmdNameChange(FXObject *, FXSelector, void *)
Called if the name of the scheme was changed.
FXVerticalFrame * myContainerColorSettingFrame
FXRealSpinner * myLaneWidthUpscaleDialer
MFXIconComboBox * myPersonShapeDetail
std::vector< FXColorWell * > myPOIColors
FXColorWell * myBusStopColor
additional colors
FXButton * myLaneColorRainbow
MFXIconComboBox * myPOIColorMode
POIs.
std::vector< FXButton * > myLaneScaleButtons
FXColorWell * mySelectedCrossingColor
MFXIconComboBox * myDataColorMode
Data.
FXRealSpinner * myTranshipWidth
FXCheckButton * mySpreadSuperposed
FXCheckButton * myShowBikeMarkings
long onCmdSaveDecals(FXObject *, FXSelector, void *data)
Called if the decals shall be saved to a file.
FXCheckButton * myShowSizeLegend
std::vector< FXColorWell * > myPersonColors
NamePanel * myPOITextPanel
std::vector< FXButton * > myDataButtons
std::vector< FXRealSpinner * > myVehicleScales
std::vector< FXRealSpinner * > myPolyThresholds
FXCheckButton * myPOIColorInterpolation
std::vector< GUISUMOAbstractView::Decal > * myDecals
The parent's decals.
std::vector< FXButton * > myContainerButtons
std::vector< FXRealSpinner * > myJunctionThresholds
MFXIconComboBox * myVehicleShapeDetail
FXCheckButton * myVehicleScaleInterpolation
FXMatrix * rebuildColorMatrix(FXVerticalFrame *frame, std::vector< FXColorWell * > &colors, std::vector< FXRealSpinner * > &thresholds, std::vector< FXButton * > &buttons, FXCheckButton *interpolation, GUIColorScheme &scheme)
Rebuilds manipulators for the current coloring scheme.
void buildJunctionsFrame(FXTabBook *tabbook)
FXRealSpinner * myContainerMinSizeDialer
std::vector< FXRealSpinner * > myPersonThresholds
NamePanel * myTLIndexPanel
NamePanel * myPolyNamePanel
FXButton * myJunctionColorRainbow
FXCheckButton * myShowLinkRules
void show()
show view settings dialog
std::vector< FXButton * > myJunctionButtons
FXColorWell * mySelectedPersonColor
FXColorWell * myPersonTripColor
MFXIconComboBox * myContainerColorMode
Containers.
MFXIconComboBox * myPolyShapeDetail
FXCheckButton * myShowGrid
FXColorWell * mySelectedProhibitionColor
FXCheckButton * myShowBTRange
FXCheckButton * myShowVehicleColorLegend
void buildStreetsFrame(FXTabBook *tabbook)
FXColorWell * myTrainStopColorSign
FXRealSpinner * myTripWidth
demand widths
FXCheckButton * myDrawBoundaries
FXCheckButton * mySaveViewPort
load/save-menu
void buildVehiclesFrame(FXTabBook *tabbook)
MFXIconComboBox * myLaneEdgeColorMode
... lane colorer
FXComboBox * mySchemeName
FXCheckButton * myShowRails
FXCheckButton * myLaneColorRainbowCheck
MFXIconComboBox * myContainerShapeDetail
FXRealSpinner * myTransportWidth
void rebuildDecalsTable()
Rebuilds the decals table.
FXCheckButton * myScaleLength
NamePanel * myAddFullNamePanel
std::vector< FXColorWell * > myJunctionColors
FXRealSpinner * myLaneMinWidthDialer
FXCheckButton * myShowLaneDirection
void saveWindowSize()
save window position and size to the registry
SizePanel * myContainerSizePanel
FXColorWell * myContainerStopColor
FXCheckButton * myPersonColorInterpolation
~GUIDialog_ViewSettings()
Destructor.
FXColorWell * myStopsColor
FXColorWell * mySelectionColor
selection colors
FXVerticalFrame * myLaneScaleSettingFrame
std::vector< FXColorWell * > myVehicleColors
long onCmdLoadDecals(FXObject *, FXSelector, void *data)
Called if the decals shall be loaded from a file.
FXMatrix * rebuildScaleMatrix(FXVerticalFrame *frame, std::vector< FXRealSpinner * > &scales, std::vector< FXRealSpinner * > &thresholds, std::vector< FXButton * > &buttons, FXCheckButton *interpolation, GUIScaleScheme &scheme)
Rebuilds manipulators for the current scaling scheme.
MFXIconComboBox * myLaneEdgeScaleMode
... lane scaler
std::vector< FXRealSpinner * > myVehicleThresholds
void setCurrentScheme(const std::string &)
Sets the named scheme as the current.
FXRealSpinner * myWalkWidth
FXCheckButton * myPolyColorInterpolation
std::vector< FXButton * > myPersonButtons
FXColorWell * mySelectedEdgeColor
void loadWindowSize()
load window position and size from the registry
FXCheckButton * myJunctionColorInterpolation
FXRealSpinner * myTazRelationUpscaleDialer
void buildHeader(FXVerticalFrame *contentFrame)
build header
long onCmdCancel(FXObject *, FXSelector, void *)
Called if the Cancel-button was pressed.
FXColorWell * mySelectedVehicleColor
MFXAddEditTypedTable * myDecalsTable
FXColorWell * mySelectedConnectionColor
FXVerticalFrame * myLaneColorSettingFrame
FXCheckButton * myShowColorLegend
NamePanel * myEdgeValuePanel
FXCheckButton * myLaneScaleInterpolation
FXColorWell * myBusStopColorSign
FXColorWell * myWalkColor
void buildDemandFrame(FXTabBook *tabbook)
FXCheckButton * myForceDrawForPositionSelection
long onCmdImportSetting(FXObject *, FXSelector, void *data)
Called if the settings shall be read from a file.
FXComboBox * myDataParamKey
FXColorWell * myVehicleTripsColor
MFXIconComboBox * myJunctionColorMode
junctions
NamePanel * myContainerNamePanel
NamePanel * myPOINamePanel
NamePanel * myPOITypePanel
NamePanel * myPersonNamePanel
FXColorWell * mySelectedRouteColor
FXVerticalFrame * myVehicleScaleSettingFrame
FXComboBox * myVehicleParamKey
NamePanel * myVehicleScaleValuePanel
FXComboBox * myVehicleTextParamKey
SizePanel * myPersonSizePanel
NamePanel * myPersonValuePanel
long onUpdImportSetting(FXObject *, FXSelector, void *data)
Called when updating the button that allows to read settings from a file.
void setCurrent(GUIVisualizationSettings *settings)
Sets current settings (called if reopened)
FXColorWell * mySelectedAdditionalColor
void rebuildColorMatrices(bool doCreate=false)
Rebuilds color changing dialogs after choosing another coloring scheme.
void saveDecals(OutputDevice &dev) const
Writes the currently used decals into a file.
FXVerticalFrame * myPolyColorSettingFrame
std::vector< FXRealSpinner * > myLaneScales
NamePanel * myInternalEdgeNamePanel
void loadSettings(const std::string &file)
Loads a scheme from a file.
SizePanel * myAddSizePanel
FXVerticalFrame * myDecalsFrame
long onCmdClearDecals(FXObject *, FXSelector, void *data)
Called if the decals shall be cleared.
std::vector< FXRealSpinner * > myDataThresholds
FXCheckButton * myDataColorInterpolation
MFXIconComboBox * myPersonColorMode
Persons.
FXCheckButton * myDrawCrossingsAndWalkingAreas
std::vector< FXButton * > myLaneButtons
NamePanel * myPolyTypePanel
NamePanel * myJunctionIDPanel
NamePanel * myJunctionIndexPanel
GUIDialog_ViewSettings(GUISUMOAbstractView *parent, GUIVisualizationSettings *settings, std::vector< GUISUMOAbstractView::Decal > *decals, FXMutex *decalsLock)
Constructor.
FXCheckButton * myRealisticLinkRules
FXCheckButton * myLaneColorInterpolation
FXVerticalFrame * myPersonColorSettingFrame
void buildContainersFrame(FXTabBook *tabbook)
void buildLegendFrame(FXTabBook *tabbook)
FXButton * myRecalculateBoundaries
FXCheckButton * mySaveDelay
FXColorWell * myStopPersonsColor
std::vector< FXRealSpinner * > myVehicleScaleThresholds
FXCheckButton * myContainerColorInterpolation
std::vector< FXColorWell * > myLaneColors
SizePanel * myVehicleSizePanel
size panels
GUIVisualizationSettings * mySettings
The current settings.
long onCmdDeleteSetting(FXObject *, FXSelector, void *data)
Called if the settings shall be deleted.
FXColorWell * myStopContainersColor
SizePanel * myPOISizePanel
void loadDecals(const std::string &file)
Loads decals from a file.
FXComboBox * myPOITextParamKey
FXVerticalFrame * myPOIColorSettingFrame
long onCmdColorChange(FXObject *, FXSelector, void *)
Called if something (color, width, etc.) has been changed.
std::vector< FXColorWell * > myContainerColors
NamePanel * myVehicleTextPanel
FXCheckButton * myForceDrawForRectangleSelection
SizePanel * myPolySizePanel
FXRealSpinner * myPersonTripWidth
NamePanel * myCwaEdgeNamePanel
FXCheckButton * myShowBrakeGap
FXColorWell * myRideColor
std::vector< FXRealSpinner * > myLaneScaleThresholds
FXRealSpinner * myLaneColorRainbowThreshold
FXCheckButton * myDither
openGL
NamePanel * myAddNamePanel
GUIVisualizationSettings myBackup
A backup of the settings (used if the "Cancel" button is pressed)
std::vector< FXRealSpinner * > myContainerThresholds
void buildPersonsFrame(FXTabBook *tabbook)
void updatePOIParams()
reload known POI parameters
FXColorWell * myTrainStopColor
FXRealSpinner * myRideWidth
FXCheckButton * myShowLane2Lane
buttons
FXRealSpinner * myGridXSizeDialer
std::vector< FXColorWell * > myDataColors
long onCmdEditTable(FXObject *, FXSelector, void *data)
Called if the decals-table was changed.
long onCmdOk(FXObject *, FXSelector, void *)
Called if the OK-button was pressed.
long onCmdSaveSetting(FXObject *, FXSelector, void *data)
Called if the settings shall be saved into the registry.
FXCheckButton * myShowBlinker
MFXIconComboBox * myPOIShapeDetail
void buildAdditionalsFrame(FXTabBook *tabbook)
void buildPOIsFrame(FXTabBook *tabbook)
FXRealSpinner * myContainerUpscaleDialer
void buildPolygonsFrame(FXTabBook *tabbook)
void buildDataFrame(FXTabBook *tabbook)
NamePanel * myVehicleNamePanel
NamePanel * myInternalJunctionNamePanel
long onUpdSaveSetting(FXObject *, FXSelector, void *data)
Called when updating the button that allows to save the settings into the registry.
FXCheckButton * myShowSublanes
FXCheckButton * myShowRouteIndex
void buildButtons(FXVerticalFrame *contentFrame)
build buttons
SizePanel * myJunctionSizePanel
FXCheckButton * myShowParkingInfo
FXColorWell * mySelectedLaneColor
MFXIconComboBox * myVehicleScaleMode
vehicle scaler
NamePanel * myVehicleValuePanel
std::vector< FXButton * > myVehicleScaleButtons
FXColorWell * myBackgroundColor
bool updateColorRanges(FXObject *sender, std::vector< FXColorWell * >::const_iterator colIt, std::vector< FXColorWell * >::const_iterator colEnd, std::vector< FXRealSpinner * >::const_iterator threshIt, std::vector< FXRealSpinner * >::const_iterator threshEnd, std::vector< FXButton * >::const_iterator buttonIt, GUIColorScheme &scheme)
update color ranges
FXCheckButton * mySaveBreakpoints
std::vector< FXRealSpinner * > myLaneThresholds
long onUpdDeleteSetting(FXObject *, FXSelector, void *data)
Called when updating the button that allows to delete settings.
bool updateScaleRanges(FXObject *sender, std::vector< FXRealSpinner * >::const_iterator colIt, std::vector< FXRealSpinner * >::const_iterator colEnd, std::vector< FXRealSpinner * >::const_iterator threshIt, std::vector< FXRealSpinner * >::const_iterator threshEnd, std::vector< FXButton * >::const_iterator buttonIt, GUIScaleScheme &scheme)
update scale ranges
long onUpdExportSetting(FXObject *, FXSelector, void *data)
Called when updating the button that allows to export settings into a file.
NamePanel * myTLSPhaseIndexPanel
std::vector< FXButton * > myPOIButtons
MFXIconComboBox * myVehicleColorMode
Vehicles.
FXRealSpinner * myDataColorRainbowThreshold
MFXIconComboBox * myPolyColorMode
Polygons.
FXColorWell * myChargingStationColorSign
NamePanel * myEdgeNamePanel
name panels
FXColorWell * myContainerStopColorSign
FXColorWell * mySelectedEdgeDataColor
FXRealSpinner * myEdgeRelationUpscaleDialer
FXCheckButton * myShowLaneDecals
FXCheckButton * myShowLaneBorders
void updateVehicleParams()
reload known vehicle parameters
std::vector< FXRealSpinner * > myPOIThresholds
std::vector< FXButton * > myPolyButtons
FXRealSpinner * myGridYSizeDialer
FXCheckButton * myDrawJunctionShape
std::vector< FXButton * > myVehicleButtons
FXColorWell * myTranshipColor
Stores the information about how to visualize structures.
Static storage of an output device and its base (abstract) implementation.