cee::ug::IsosurfacePropertyHandler

class IsosurfacePropertyHandler

Property handler for isosurface properties.

Public Types

enum PropertyKey

List of property keys for IsosurfacePropertyHandler.

Values:

enumerator VISIBLE

Set if the isosurface and its features (vectors) should be visible or not.

enumerator ISO_VALUE

Result value used for calculating isosurface.

enumerator ISO_SCALAR_RESULT_ID

Id of scalar result used to calculate isosurface.

enumerator MAP_SCALAR_RESULT_ID

Id of mapped scalar result.

enumerator MAP_VECTOR_RESULT_ID

Surface visibility.

enumerator SURFACE_VISIBLE

Surface visibility.

enumerator SURFACE_COLOR

Surface color.

enumerator COMPUTE_FROM_VISIBLE_PARTS

Compute isosurface from visible parts only.

enumerator DRAW_STYLE

Surface draw style.

enumerator OPACITY

Surface opacity.

enumerator SPECULAR_INTENSITY

Surface specular intensity.

Public Functions

IsosurfacePropertyHandler(PropertySet *propSet)

Creates an isosurface 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 applyToIsosurface(ug::Isosurface *isosurface) const

Applies the properties in this property set to the specified isosurface.

void buildProperties(const ug::Isosurface &isosurface)

Sets the property keys and values for this property set from the isosurface.

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 isosurface property set.