 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
18 #ifndef GUIDialog_ViewSettings_h
19 #define GUIDialog_ViewSettings_h
55 const std::string& title,
93 std::vector<GUISUMOAbstractView::Decal>* decals,
114 long onCmdOk(FXObject*, FXSelector,
void*);
169 bool updateColorRanges(FXObject* sender, std::vector<FXColorWell*>::const_iterator colIt,
170 std::vector<FXColorWell*>::const_iterator colEnd,
171 std::vector<FXRealSpinner*>::const_iterator threshIt,
172 std::vector<FXRealSpinner*>::const_iterator threshEnd,
173 std::vector<FXButton*>::const_iterator buttonIt,
176 bool updateScaleRanges(FXObject* sender, std::vector<FXRealSpinner*>::const_iterator colIt,
177 std::vector<FXRealSpinner*>::const_iterator colEnd,
178 std::vector<FXRealSpinner*>::const_iterator threshIt,
179 std::vector<FXRealSpinner*>::const_iterator threshEnd,
180 std::vector<FXButton*>::const_iterator buttonIt,
186 std::vector<FXColorWell*>& colors,
187 std::vector<FXRealSpinner*>& thresholds,
188 std::vector<FXButton*>& buttons,
189 FXCheckButton* interpolation,
195 std::vector<FXRealSpinner*>& scales,
196 std::vector<FXRealSpinner*>& thresholds,
197 std::vector<FXButton*>& buttons,
198 FXCheckButton* interpolation,
NamePanel * myJunctionIndexPanel
long onCmdSaveSetting(FXObject *, FXSelector, void *data)
Called if the settings shall be saved into the registry.
FXMutex * myDecalsLock
Lock used when changing the decals.
std::vector< FXButton * > myPolyButtons
NamePanel * myJunctionNamePanel
FXCheckButton * myHideMacroConnectors
void update(const GUIVisualizationTextSettings &settings)
SizePanel * myJunctionSizePanel
std::vector< FXRealSpinner * > myLaneScaleThresholds
std::vector< GUISUMOAbstractView::Decal > * myDecals
The parent's decals.
FXCheckButton * mySaveDelay
void update(const GUIVisualizationSizeSettings &settings)
void loadWindowSize()
load window position and size from the registry
long onUpdExportSetting(FXObject *, FXSelector, void *data)
Called when updating the button that allows to export settings into a file.
FXCheckButton * mySaveBreakpoints
NamePanel * myPOITypePanel
NamePanel * myPolyNamePanel
FXComboBox * myVehicleTextParamKey
long onCmdDeleteSetting(FXObject *, FXSelector, void *data)
Called if the settings shall be deleted.
GUIVisualizationTextSettings getSettings()
std::vector< FXColorWell * > myLaneColors
FXCheckButton * myPersonColorInterpolation
The dialog to change the view (gui) settings.
FXComboBox * myVehicleParamKey
std::vector< FXRealSpinner * > myPOIThresholds
Static storage of an output device and its base (abstract) implementation.
long onCmdLoadDecals(FXObject *, FXSelector, void *data)
Called if the decals shall be loaded from a file.
std::vector< FXRealSpinner * > myPolyThresholds
NamePanel * myTLSPhaseIndexPanel
long onCmdImportSetting(FXObject *, FXSelector, void *data)
Called if the settings shall be read from a file.
FXColorWell * mySelectedCrossingColor
NamePanel * myVehicleValuePanel
NamePanel * myAddFullNamePanel
FXRealSpinner * myLaneWidthUpscaleDialer
long onCmdEditTable(FXObject *, FXSelector, void *data)
Called if the decals-table was changed.
void rebuildColorMatrices(bool doCreate=false)
Rebuilds color changing dialogs after choosing another coloring scheme.
FXCheckButton * mySaveViewPort
NamePanel * myEdgeNamePanel
FXCheckButton * myShowGrid
MFXIconComboBox * myPOIColorMode
MFXIconComboBox * myPOIShapeDetail
FXVerticalFrame * myVehicleColorSettingFrame
long onUpdSaveSetting(FXObject *, FXSelector, void *data)
Called when updating the button that allows to save the settings into the registry.
FXCheckButton * myJunctionColorInterpolation
GUISUMOAbstractView * myParent
The parent view (which settings are changed)
GUIVisualizationSettings myBackup
A backup of the settings (used if the "Cancel" button is pressed)
MFXIconComboBox * myVehicleColorMode
FXRealSpinner * myGridXSizeDialer
FXCheckButton * myShowBlinker
FXColorWell * mySelectedConnectionColor
NamePanel * myPersonNamePanel
FXCheckButton * myShowLaneDirection
std::vector< FXButton * > myVehicleButtons
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)
std::vector< FXColorWell * > myVehicleColors
FXCheckButton * myLaneColorInterpolation
FXCheckButton * myShowSizeLegend
FXRealSpinner * myMinSizeDial
SizePanel * myPOISizePanel
FXCheckButton * myShowLane2Lane
FXVerticalFrame * myLaneColorSettingFrame
std::vector< FXRealSpinner * > myPersonThresholds
FXCheckButton * myDrawBoundaries
std::vector< FXRealSpinner * > myVehicleThresholds
FXCheckButton * myShowLinkRules
void rebuildList()
Rebuilds the decals table.
FXRealSpinner * myExaggerateDial
void show()
show view settings dialog
FXRealSpinner * mySizeDial
FXVerticalFrame * myLaneScaleSettingFrame
GUIVisualizationSettings * mySettings
The current settings.
NamePanel * myPOINamePanel
FXCheckButton * myPolyColorInterpolation
void loadDecals(const std::string &file)
Loads decals from a file.
MFXIconComboBox * myVehicleShapeDetail
void saveWindowSize()
save window position and size to the registry
void loadSettings(const std::string &file)
Loads a scheme from a file.
FXCheckButton * myShowBrakeGap
FXVerticalFrame * myPolyColorSettingFrame
std::vector< FXButton * > myLaneScaleButtons
NamePanel * myCwaEdgeNamePanel
long onCmdSaveDecals(FXObject *, FXSelector, void *data)
Called if the decals shall be saved to a file.
FXRealSpinner * myContainerMinSizeDialer
void saveDecals(OutputDevice &dev) const
Writes the currently used decals into a file.
MFXIconComboBox * myLaneEdgeScaleMode
... lane scaler
long onCmdExportSetting(FXObject *, FXSelector, void *data)
Called if the settings shall be exported into a file.
std::vector< FXRealSpinner * > myLaneThresholds
std::vector< FXButton * > myPOIButtons
std::vector< FXButton * > myPersonButtons
FXCheckButton * myShowBikeMarkings
FXRealSpinner * myLaneColorRainbowThreshold
NamePanel * myAddNamePanel
std::vector< FXColorWell * > myJunctionColors
std::vector< FXColorWell * > myPOIColors
FXCheckButton * myShowSublanes
FXCheckButton * myShowRouteIndex
std::vector< FXRealSpinner * > myJunctionThresholds
MFXIconComboBox * myPersonColorMode
#define FOX_CONSTRUCTOR(classname)
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.
NamePanel * myTLIndexPanel
FXColorWell * mySelectedAdditionalColor
NamePanel * myPersonValuePanel
NamePanel(FXMatrix *parent, GUIDialog_ViewSettings *target, const std::string &title, const GUIVisualizationTextSettings &settings)
std::vector< FXButton * > myContainerButtons
FXCheckButton * myVehicleColorInterpolation
FXColorWell * mySelectedLaneColor
long onCmdColorChange(FXObject *, FXSelector, void *)
Called if something (color, width, etc.) has been changed.
NamePanel * myInternalEdgeNamePanel
FXVerticalFrame * myContainerColorSettingFrame
SizePanel(FXMatrix *parent, GUIDialog_ViewSettings *target, const GUIVisualizationSizeSettings &settings)
FXRealSpinner * myContainerUpscaleDialer
MFXIconComboBox * myJunctionColorMode
long onCmdNameChange(FXObject *, FXSelector, void *)
Called if the name of the scheme was changed.
FXColorWell * mySelectedVehicleColor
void updateVehicleParams()
reload known vehicle parameters
std::vector< FXRealSpinner * > myContainerThresholds
SizePanel * myPolySizePanel
SizePanel * myVehicleSizePanel
FXVerticalFrame * myPOIColorSettingFrame
FXRealSpinner * myGridYSizeDialer
SizePanel * myContainerSizePanel
FXColorWell * mySelectedPersonColor
FXCheckButton * myContainerColorInterpolation
NamePanel * myInternalJunctionNamePanel
FXCheckButton * myShowMinGap
NamePanel * myEdgeValuePanel
std::vector< FXRealSpinner * > myLaneScales
SizePanel * myPersonSizePanel
GUIDialog_ViewSettings(const GUIDialog_ViewSettings &s)
invalidated copy constructor
MFXIconComboBox * myPersonShapeDetail
void setCurrentScheme(const std::string &)
Sets the named scheme as the current.
FXColorWell * mySelectionColor
selection colors
FXComboBox * mySchemeName
FXColorWell * myBackgroundColor
long onUpdImportSetting(FXObject *, FXSelector, void *data)
Called when updating the button that allows to read settings from a file.
FXCheckButton * myDrawCrossingsAndWalkingAreas
FXColorWell * mySelectedPersonPlanColor
NamePanel * myStreetNamePanel
FXCheckButton * mySpreadSuperposed
long onUpdDeleteSetting(FXObject *, FXSelector, void *data)
Called when updating the button that allows to delete settings.
GUIVisualizationSizeSettings getSettings()
MFXIconComboBox * myLaneEdgeColorMode
... lane colorer
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)
MFXIconComboBox * myContainerShapeDetail
FXVerticalFrame * myPersonColorSettingFrame
std::vector< FXColorWell * > myContainerColors
FXCheckButton * myShowColorLegend
std::vector< FXButton * > myJunctionButtons
FXVerticalFrame * myDecalsFrame
FXButton * myJunctionColorRainbow
FXCheckButton * mySaveDecals
FXColorWell * mySelectedEdgeColor
FXCheckButton * myShowLaneDecals
~GUIDialog_ViewSettings()
Destructor.
std::vector< FXButton * > myLaneButtons
FXRealSpinner * myLaneMinWidthDialer
NamePanel * myVehicleNamePanel
FXCheckButton * myCheckSelected
FXVerticalFrame * myJunctionColorSettingFrame
MFXIconComboBox * myPolyColorMode
FXColorWell * myBGColorWell
FXCheckButton * myShowLaneBorders
FXCheckButton * myLaneScaleInterpolation
GUIDialog_ViewSettings & operator=(const GUIDialog_ViewSettings &s)
invalidated assignment operator
NamePanel * myVehicleTextPanel
Stores the information about how to visualize structures.
FXCheckButton * myPOIColorInterpolation
std::vector< FXColorWell * > myPersonColors
FXCheckButton * myForceDrawForPositionSelection
SizePanel * myAddSizePanel
FXColorWell * mySelectedRouteColor
GUIDialog_ViewSettings(GUISUMOAbstractView *parent, GUIVisualizationSettings *settings, std::vector< GUISUMOAbstractView::Decal > *decals, FXMutex *decalsLock)
Constructor.
FXCheckButton * myForceDrawForRectangleSelection
long onCmdCancel(FXObject *, FXSelector, void *)
Called if the Cancel-button was pressed.
std::vector< FXColorWell * > myPolyColors
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.
long onCmdOk(FXObject *, FXSelector, void *)
Called if the OK-button was pressed.
FXColorWell * myColorWell
FXCheckButton * myLaneColorRainbowCheck
FXCheckButton * myShowBTRange
NamePanel * myPolyTypePanel
void setCurrent(GUIVisualizationSettings *settings)
Sets current settings (called if reopened)
MFXIconComboBox * myPolyShapeDetail
FXColorWell * mySelectedProhibitionColor
FXCheckButton * myShowRails
MFXIconComboBox * myContainerColorMode
std::string getCurrentScheme() const
Returns the name of the currently chosen scheme.
MFXAddEditTypedTable * myDecalsTable
NamePanel * myContainerNamePanel
FXCheckButton * myDrawJunctionShape
FXCheckButton * myConstSizeCheck
FXButton * myLaneColorRainbow