cee::ug::ColorMapperFilledContoursPropertyHandler

class ColorMapperFilledContoursPropertyHandler

Property handler for colormapper filled contours properties.

Public Types

enum PropertyKey

List of property keys for ColorMapperFilledContoursPropertyHandler.

Values:

enumerator CONTEXT_RESULT_ID

Context result id.

enumerator COLOR_SCHEME

Color scheme.

enumerator LOGARITHMIC_SCALE

Use logarithmic scale (true/false)

enumerator LEVEL_VALUES

Values for each tick mark on the color legend.

First value is min range, last value is max range.

enumerator LEVEL_COLORS

Array with color for each of the ‘num_colors’ levels.

enumerator ABOVE_RANGE_COLOR

Above range color.

enumerator BELOW_RANGE_COLOR

Below range color.

enumerator UNDEFINED_COLOR

Undefined color.

enumerator UNDEFINED_OPACITY

Undefined opacity.

Public Functions

ColorMapperFilledContoursPropertyHandler(PropertySet *propSet)

Creates a color mapper filled contour 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.

bool decodeContext(int *resultId) const

Decode the context from the properties.

void encodeContext(int resultId)

Encode the context as properties.

void applyToScalarSettings(ScalarSettings *scalarSettings) const

Applies the properties in this property set to the specified scalar settings.

void buildProperties(const ScalarSettings &scalarSettings)

Sets the property keys and values for this property set from the scalar settings.

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 color mapper filled contour property set.