71 bool contains(
const std::string& name)
const;
77 void remove(
const std::string& name);
89 const std::vector<std::string>&
getNames()
const;
101 void init(FXApp* app,
bool netedit =
false);
115 void saveViewport(
const double x,
const double y,
const double z,
const double rot);
GUICompleteSchemeStorage gSchemeStorage
Storage for available visualization settings.
bool contains(const std::string &name) const
Returns the information whether a setting with the given name is stored.
GUIVisualizationSettings & get(const std::string &name)
Returns the named scheme.
std::map< std::string, GUIVisualizationSettings > mySettings
A map of settings referenced by their names.
GUIVisualizationSettings & getDefault()
Returns the default scheme.
GUICompleteSchemeStorage()
Constructor.
const std::vector< std::string > & getNames() const
Returns a list of stored settings names.
void add(const GUIVisualizationSettings &scheme)
Adds a visualization scheme.
int getNumInitialSettings() const
Returns the number of initial settings.
void saveViewport(const double x, const double y, const double z, const double rot)
Makes the given viewport the default.
std::vector< std::string > mySortedSchemeNames
List of known setting names.
std::string myDefaultSettingName
Name of the default setting.
void init(FXApp *app, bool netedit=false)
Initialises the storage with some default settings.
int myNumInitialSettings
The number of settings which were present at startup.
void setDefault(const std::string &name)
Makes the scheme with the given name the default.
void remove(const std::string &name)
Removes the setting with the given name.
Position myLookFrom
The default viewport.
void writeSettings(FXApp *app)
Writes the current scheme into the registry.
void setViewport(GUISUMOAbstractView *view)
Sets the default viewport.
~GUICompleteSchemeStorage()
Destructor.
Stores the information about how to visualize structures.
A point in 2D or 3D with translation and scaling methods.