![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
Manage property presets. Has a set of global application presets, a set of workspace presets, and handles property specific presets. More...
#include <inviwo/core/properties/propertypresetmanager.h>
Public Member Functions | |
| void | clearPropertyPresets (Property *property) |
| void | clearWorkspacePresets () |
| std::vector< std::string > | getAvailablePresets (Property *property, PropertyPresetTypes types) const |
| bool | loadPreset (const std::string &name, Property *property, PropertyPresetType type) const |
| void | loadWorkspacePresets (Deserializer &d) |
| PropertyPresetManager (InviwoApplication *app) | |
| bool | removePreset (const std::string &name, PropertyPresetType type, Property *property=nullptr) |
| void | savePreset (const std::string &name, Property *property, PropertyPresetType type) |
| void | saveWorkspacePresets (Serializer &s) |
Static Public Member Functions | |
| static void | appendPropertyPresets (Property *target, Property *source) |
Manage property presets. Has a set of global application presets, a set of workspace presets, and handles property specific presets.
|
static |
Append all Presets in property source to property target. If the Preset already exists in target it will be overwritten. The properties should be of the same type.