cee::ug::ResultSelectionPropertyHandler

class ResultSelectionPropertyHandler

Property handler for result section properties.

Public Types

enum PropertyKey

List of property keys for ResultSelectionPropertyHandler.

Values:

enumerator FRINGES_RESULT_ID

Scalar fringes result id.

enumerator CONTOUR_LINES_RESULT_ID

Scalar contour lines result id.

enumerator VECTOR_RESULT_IDS

Vector result id.

enumerator DISPLACEMENT_RESULT_ID

Displacement result id.

enumerator TRANSFORMATION_RESULT

Transformation result on/off.

enumerator VISIBILITY_RESULT

Visibility result on/off.

enumerator PER_PART_FRINGES_RESULT_IDS

Per part override of which scalar result to show as fringes.

Public Functions

ResultSelectionPropertyHandler(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 applyToModelSpec(ModelSpec *modelSpec) const

Applies the properties in this property set to the specified model specification.

void buildProperties(const ModelSpec &modelSpec)

Sets the property keys and values for this property set from the model specification modelSpec.

Public Static Functions

static Str propertySetClassType()

Returns the class type of the property set.

static bool isValidPropertySet(const PropertySet &propSet)

Returns true if the specified property set is a valid result section property set.