cee::ug::ModelSettingsPropertyHandler
-
class
ModelSettingsPropertyHandler
Property handler for model settings properties.
Public Types
-
enum
PropertyKey
List of property keys for ModelSettingsPropertyHandler.
Values:
-
enumerator
MODEL_COLOR_SOURCE
Model color source.
This will determine how to color each face of the model if no fringes results are used.
-
enumerator
FIRST_ORDER_NODES_ONLY
Sets if first order elements only should be used.
For instance, a quad8 is visualized as quad4, dropping the mid-nodes.
-
enumerator
REMOVE_INTERNAL_SURFACES
Sets if the internal surfaces of a volume element model should be removed or not.
-
enumerator
Public Functions
-
ModelSettingsPropertyHandler
(PropertySet *propSet) Creates a result section property handler from a given property set propSet.
-
Variant
propertyValue
(PropertyKey key) const Returns the property value for the specified property key.
Returns an empty Variant if the property key was not found.
-
void
setPropertyValue
(PropertyKey key, Variant data) Sets the property key and value to this handlers property set.
If key exists in the property set, the paired property value is updated to data. Otherwise the key/value pair is added to the property set.
-
void
applyToModelSettings
(ModelSettings *modelSettings) const Applies the properties in this property set to the specified model specification.
-
void
buildProperties
(const ModelSettings &modelSettings) Sets the property keys and values for this property set from the model specification modelSpec.
Public Static Functions
-
static bool
isValidPropertySet
(const PropertySet &propSet) Returns true if the specified property set is a valid model settings property set.
-
enum