cee::ug::ColorMapperContinuousPropertyHandler
-
class
ColorMapperContinuousPropertyHandler Property handler for continuous colormapper properties.
Public Types
-
enum
PropertyKey List of property keys for ColorMapperContinuousPropertyHandler.
Values:
-
enumerator
CONTEXT_RESULT_ID Context result id.
-
enumerator
RANGE_MIN Minimum range value.
-
enumerator
RANGE_MAX Maximum range value.
-
enumerator
COLOR_SCHEME Color scheme.
-
enumerator
LOGARITHMIC_SCALE Use logarithmic scale (true/false)
-
enumerator
COLORS_AT_VALUES Colors at values.
-
enumerator
ABOVE_RANGE_COLOR Above range color.
-
enumerator
BELOW_RANGE_COLOR Below range color.
-
enumerator
UNDEFINED_COLOR Undefined color.
-
enumerator
UNDEFINED_OPACITY Undefined opacity.
-
enumerator
Public Functions
-
ColorMapperContinuousPropertyHandler(PropertySet *propSet) Creates a color mapper continuous 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 bool
isValidPropertySet(const PropertySet &propSet) Returns true if the specified property set is a valid color mapper continuous property set.
-
enum