cee::ug::IsovolumePropertyHandler

class IsovolumePropertyHandler

Property handler for isovolume properties.

Public Types

enum PropertyKey

List of property keys for IsovolumePropertyHandler.

Values:

enumerator VISIBLE

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

enumerator MINIMUM_ISO_VALUE

Minimum iso value for calculating isovolume.

enumerator MAXIMUM_ISO_VALUE

Maximum iso value for calculating isovolume.

enumerator ISO_SCALAR_RESULT_ID

Id of scalar result used for isovolume calculation.

enumerator MAP_SCALAR_RESULT_ID

Id of mapped scalar result.

enumerator MAP_VECTOR_RESULT_ID

Id of mapped vector result.

enumerator VOLUME_VISIBLE

Isovolume visibility.

enumerator VOLUME_COLOR

Isovolume color.

enumerator COMPUTE_FROM_VISIBLE_PARTS

Compute isovolume from visible parts only.

enumerator DRAW_STYLE

Isovolume draw style.

enumerator OPACITY

Isovolume opacity.

enumerator SPECULAR_INTENSITY

Isovolume specular intensity.

enumerator TEXTURE_IMAGE_NAME

Texture image name.

enumerator TEXTURE_ENVIRONMENT_MAPPING

Texture environment mapping.

Public Functions

IsovolumePropertyHandler(PropertySet *propSet, ImageResources *imageResources)

Creates an isovolume 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 applyToIsovolume(ug::Isovolume *isovolume) const

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

void buildProperties(const ug::Isovolume &isovolume)

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

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