18 #ifndef GUICompleteSchemeStorage_h 19 #define GUICompleteSchemeStorage_h 74 bool contains(
const std::string& name)
const;
80 void remove(
const std::string& name);
92 const std::vector<std::string>&
getNames()
const;
104 void init(FXApp* app,
bool netedit =
false);
118 void saveViewport(
const double x,
const double y,
const double z);
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.
GUICompleteSchemeStorage()
Constructor.
void setDefault(const std::string &name)
Makes the scheme with the given name the default.
Position myLookFrom
The default viewport.
GUICompleteSchemeStorage gSchemeStorage
const std::vector< std::string > & getNames() const
Returns a list of stored settings names.
Stores the information about how to visualize structures.
~GUICompleteSchemeStorage()
Destructor.
void saveViewport(const double x, const double y, const double z)
Makes the given viewport the default.
A point in 2D or 3D with translation and scaling methods.
std::map< std::string, GUIVisualizationSettings > mySettings
A map of settings referenced by their names.
int getNumInitialSettings() const
Returns the number of initial settings.
GUIVisualizationSettings & getDefault()
Returns the default scheme.
Storage for available visualization settings.
void setViewport(GUISUMOAbstractView *view)
Sets the default viewport.
bool contains(const std::string &name) const
Returns the information whether a setting with the given name is stored.
std::vector< std::string > mySortedSchemeNames
List of known setting names.
void writeSettings(FXApp *app)
Writes the current scheme into the registry.
void add(const GUIVisualizationSettings &scheme)
Adds a visualization scheme.
std::string myDefaultSettingName
Name of the default setting.