cee::ug::MirrorSettingsPropertyHandler

class MirrorSettingsPropertyHandler

Property handler for mirror settings properties.

Public Types

enum PropertyKey

List of property keys for MirrorSettingsPropertyHandler.

Values:

enumerator NUM_MIRROR_PASSES

Number of mirror passes.

enumerator PLANE_FIRST_A

Plane first A

enumerator PLANE_FIRST_B

Plane first B

enumerator PLANE_FIRST_C

Plane first C

enumerator PLANE_FIRST_D

Plane first D

enumerator PLANE_SECOND_A

Plane second A

enumerator PLANE_SECOND_B

Plane second B

enumerator PLANE_SECOND_C

Plane second C

enumerator PLANE_SECOND_D

Plane second D

enumerator PLANE_MASTER_A

Plane master A

enumerator PLANE_MASTER_B

Plane master B

enumerator PLANE_MASTER_C

Plane master C

enumerator PLANE_MASTER_D

Plane master D

enumerator REFLECTIVE

Reflective mirroring flag.

Public Functions

MirrorSettingsPropertyHandler(PropertySet *propSet)

Creates a mirror settings 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 applyToMirrorSettings(ug::MirrorSettings *mirrorSettings) const

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

void buildProperties(const ug::MirrorSettings &mirrorSettings)

Sets the property keys and values for this property set from the mirror 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 mirror settings property set.