Property handler for particle trace group properties. More...
Public Types | |
enum | PropertyKey { VISIBLE, SEED_POINTS, VECTOR_RESULT_ID, MAP_SCALAR_RESULT_ID, VISUALIZATION_STYLE, COLOR, RADIUS_SCALE_MODE, RADIUS_SCALE_FACTOR, POINT_SAMPLING_NUM_PULSES, COMET_LENGTH, RIBBON_RELATIVE_WIDTH, RIBBON_RELATIVE_THICKNESS, ARROW_LENGTH, IGNORE_CLIPPING } |
List of property keys for ParticleTraceGroupPropertyHandler. More... | |
Public Member Functions | |
ParticleTraceGroupPropertyHandler (PropertySet *propSet) | |
Creates a particle trace group property handler from a given property set propSet. More... | |
Variant | propertyValue (PropertyKey key) const |
Returns the property value for the specified property key. More... | |
void | setPropertyValue (PropertyKey key, Variant data) |
Sets the property key and value to this handlers property set. More... | |
void | applyToParticleTraceGroup (ug::ParticleTraceGroup *particleTraceGroup) const |
Applies the properties in this property set to the specified particle trace group. More... | |
void | buildProperties (const ug::ParticleTraceGroup &particleTraceGroup) |
Sets the property keys and values for this property set from the particle trace group. More... | |
Static Public Member Functions | |
static Str | propertySetClassType () |
Returns the class type of the property set. More... | |
static bool | isValidPropertySet (const PropertySet &propSet) |
Returns true if the specified property set is a valid particle trace group property set. More... | |
Property handler for particle trace group properties.
List of property keys for ParticleTraceGroupPropertyHandler.
cee::ug::ParticleTraceGroupPropertyHandler::ParticleTraceGroupPropertyHandler | ( | PropertySet * | propSet | ) |
Creates a particle trace group property handler from a given property set propSet.
void cee::ug::ParticleTraceGroupPropertyHandler::applyToParticleTraceGroup | ( | ug::ParticleTraceGroup * | particleTraceGroup | ) | const |
Applies the properties in this property set to the specified particle trace group.
void cee::ug::ParticleTraceGroupPropertyHandler::buildProperties | ( | const ug::ParticleTraceGroup & | particleTraceGroup | ) |
Sets the property keys and values for this property set from the particle trace group.
|
static |
Returns true if the specified property set is a valid particle trace group property set.
|
static |
Returns the class type of the property set.
cee::Variant cee::ug::ParticleTraceGroupPropertyHandler::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 cee::ug::ParticleTraceGroupPropertyHandler::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.