53 const std::string& title,
91 std::vector<GUISUMOAbstractView::Decal>* decals,
112 long onCmdOk(FXObject*, FXSelector,
void*);
167 bool updateColorRanges(FXObject* sender, std::vector<FXColorWell*>::const_iterator colIt,
168 std::vector<FXColorWell*>::const_iterator colEnd,
169 std::vector<FXRealSpinner*>::const_iterator threshIt,
170 std::vector<FXRealSpinner*>::const_iterator threshEnd,
171 std::vector<FXButton*>::const_iterator buttonIt,
174 bool updateScaleRanges(FXObject* sender, std::vector<FXRealSpinner*>::const_iterator colIt,
175 std::vector<FXRealSpinner*>::const_iterator colEnd,
176 std::vector<FXRealSpinner*>::const_iterator threshIt,
177 std::vector<FXRealSpinner*>::const_iterator threshEnd,
178 std::vector<FXButton*>::const_iterator buttonIt,
184 std::vector<FXColorWell*>& colors,
185 std::vector<FXRealSpinner*>& thresholds,
186 std::vector<FXButton*>& buttons,
187 FXCheckButton* interpolation,
193 std::vector<FXRealSpinner*>& scales,
194 std::vector<FXRealSpinner*>& thresholds,
195 std::vector<FXButton*>& buttons,
196 FXCheckButton* interpolation,
GUIVisualizationTextSettings getSettings()
FXRealSpinner * mySizeDial
FXColorWell * myBGColorWell
void update(const GUIVisualizationTextSettings &settings)
FXCheckButton * myConstSizeCheck
FXColorWell * myColorWell
NamePanel(FXMatrix *parent, GUIDialog_ViewSettings *target, const std::string &title, const GUIVisualizationTextSettings &settings)
FXCheckButton * myCheckSelected
FXRealSpinner * myMinSizeDial
SizePanel(FXMatrix *parent, GUIDialog_ViewSettings *target, const GUIVisualizationSizeSettings &settings)
void update(const GUIVisualizationSizeSettings &settings)
GUIVisualizationSizeSettings getSettings()
FXRealSpinner * myExaggerateDial
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
FXCheckButton * myVehicleColorInterpolation
std::string getCurrentScheme() const
Returns the name of the currently chosen scheme.
FXCheckButton * myHideMacroConnectors
GUISUMOAbstractView * myParent
The parent view (which settings are changed)
FXMutex * myDecalsLock
Lock used when changing the decals.
FXCheckButton * myShowMinGap
void rebuildList()
Rebuilds the decals table.
NamePanel * myStreetNamePanel
std::vector< FXColorWell * > myPolyColors
FXVerticalFrame * myJunctionColorSettingFrame
FXCheckButton * mySaveDecals
long onCmdNameChange(FXObject *, FXSelector, void *)
Called if the name of the scheme was changed.
FXVerticalFrame * myContainerColorSettingFrame
FXRealSpinner * myLaneWidthUpscaleDialer
MFXIconComboBox * myPersonShapeDetail
std::vector< FXColorWell * > myPOIColors
FXButton * myLaneColorRainbow
MFXIconComboBox * myPOIColorMode
std::vector< FXButton * > myLaneScaleButtons
FXColorWell * mySelectedCrossingColor
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< FXRealSpinner * > myPolyThresholds
FXCheckButton * myPOIColorInterpolation
std::vector< GUISUMOAbstractView::Decal > * myDecals
The parent's decals.
std::vector< FXButton * > myContainerButtons
std::vector< FXRealSpinner * > myJunctionThresholds
MFXIconComboBox * myVehicleShapeDetail
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.
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
MFXIconComboBox * myContainerColorMode
MFXIconComboBox * myPolyShapeDetail
FXCheckButton * myShowGrid
FXColorWell * mySelectedProhibitionColor
FXCheckButton * myShowBTRange
FXCheckButton * myShowVehicleColorLegend
FXCheckButton * myDrawBoundaries
FXCheckButton * mySaveViewPort
MFXIconComboBox * myLaneEdgeColorMode
... lane colorer
FXComboBox * mySchemeName
FXCheckButton * myShowRails
FXCheckButton * myLaneColorRainbowCheck
GUIDialog_ViewSettings(const GUIDialog_ViewSettings &s)
invalidated copy constructor
MFXIconComboBox * myContainerShapeDetail
NamePanel * myAddFullNamePanel
std::vector< FXColorWell * > myJunctionColors
FXRealSpinner * myLaneMinWidthDialer
FXCheckButton * myShowLaneDirection
void saveWindowSize()
save window position and size to the registry
SizePanel * myContainerSizePanel
FXCheckButton * myPersonColorInterpolation
~GUIDialog_ViewSettings()
Destructor.
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.
FXCheckButton * myPolyColorInterpolation
GUIDialog_ViewSettings & operator=(const GUIDialog_ViewSettings &s)
invalidated assignment operator
std::vector< FXButton * > myPersonButtons
FXColorWell * mySelectedEdgeColor
void loadWindowSize()
load window position and size from the registry
FXCheckButton * myJunctionColorInterpolation
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
FXCheckButton * myForceDrawForPositionSelection
long onCmdImportSetting(FXObject *, FXSelector, void *data)
Called if the settings shall be read from a file.
MFXIconComboBox * myJunctionColorMode
NamePanel * myContainerNamePanel
NamePanel * myPOINamePanel
NamePanel * myPOITypePanel
NamePanel * myPersonNamePanel
FXColorWell * mySelectedRouteColor
FXComboBox * myVehicleParamKey
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
MFXIconComboBox * myPersonColorMode
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 * myLaneColorInterpolation
FXVerticalFrame * myPersonColorSettingFrame
FXCheckButton * mySaveDelay
FXCheckButton * myContainerColorInterpolation
std::vector< FXColorWell * > myLaneColors
SizePanel * myVehicleSizePanel
GUIVisualizationSettings * mySettings
The current settings.
long onCmdDeleteSetting(FXObject *, FXSelector, void *data)
Called if the settings shall be deleted.
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
NamePanel * myCwaEdgeNamePanel
FXCheckButton * myShowBrakeGap
std::vector< FXRealSpinner * > myLaneScaleThresholds
FXRealSpinner * myLaneColorRainbowThreshold
NamePanel * myAddNamePanel
GUIVisualizationSettings myBackup
A backup of the settings (used if the "Cancel" button is pressed)
std::vector< FXRealSpinner * > myContainerThresholds
void updatePOIParams()
reload known POI parameters
FXCheckButton * myShowLane2Lane
FXRealSpinner * myGridXSizeDialer
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
FXRealSpinner * myContainerUpscaleDialer
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
SizePanel * myJunctionSizePanel
FXColorWell * mySelectedLaneColor
NamePanel * myVehicleValuePanel
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)
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)
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
MFXIconComboBox * myPolyColorMode
NamePanel * myEdgeNamePanel
FXColorWell * mySelectedEdgeDataColor
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
Stores the information about how to visualize structures.
Static storage of an output device and its base (abstract) implementation.