34#include <NDEVR/SnapLocation.h>
35#include <NDEVR/INIInterface.h>
36#include <NDEVR/Resource.h>
37#include <NDEVR/RGBColor.h>
38#include <NDEVR/TranslatedString.h>
39#include <NDEVR/Model.h>
The equivelent of std::vector but with a bit more control.
bool setModel(const StringView &resource, const Model &model) const
Stores a Model under the given resource name.
void setModelSetter(const std::function< bool(const StringView &, const Model &model)> &resource_setter)
Sets the callback used to store a Model by resource name.
Resource< bool > debug_mode
Whether the application is running in debug mode.
void setUserSettingsToDefaults()
Resets all user-specific settings to their default values.
Resource< TranslatedString > user_title
The display title for the current user.
DesignSettings()
Constructs a DesignSettings instance with default values.
void setGraphicsSettingsToDefaults()
Resets all graphics-related settings to their default values.
Resource< TranslatedString > calibration_back_point_label
The label displayed for the back calibration point.
static DesignSettings & defaultSettings()
Returns the singleton default DesignSettings instance.
Resource< String > ndevr_website
The URL of the NDEVR website.
void setModelGetter(const std::function< bool(const StringView &, Model &root)> &resource_getter)
Sets the callback used to retrieve a Model by resource name.
Resource< String > company_name
The name of the software company.
Resource< TranslatedString > row_auto_name_format
The format string used for automatically naming rows.
void getINI(INIFactory &factory) override
Serializes or deserializes settings using the given INI factory.
Resource< TranslatedString > calibration_front_point_label
The label displayed for the front calibration point.
std::function< bool(const StringView &, const Model &model)> m_model_setter
Callback for storing a Model by resource name.
bool getModel(const StringView &resource, Model &root) const
Retrieves a Model associated with the given resource name.
Resource< String > activation_email
The email address to contact for obtaining an activation code.
Buffer< SnapLocation > default_camera_locations
The set of predefined camera snap locations.
Resource< bool > maintenance_mode
Whether the application is running in maintenance mode.
Resource< TranslatedString > pattern_hole_name_format
The format string used for naming pattern holes.
void setStationSettingsToDefaults()
Resets all station-related settings to their default values.
std::function< bool(const StringView &, Model &root)> m_model_getter
Callback for retrieving a Model by resource name.
Contains methods for easily reading and writing to an INI file including efficient casting,...
INIInterface()
Constructs an INIInterface with no default INI file.
A core class that represents a node on model hierarchy.
A core part of the engine, stores variables that can be listened to with ResourceListener which will ...
The core String View class for the NDEVR API.
The primary namespace for the NDEVR SDK.