The SEDRIS Data Representation Model
APPENDIX A - Classes
HSV Colour Control Link

Class Name: HSV Colour Control Link

Superclass - <Control Link>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

The specialized <Control Link> used to provide the connection between an ordered aggregation of <Expressions> and the target fields of an <HSV Colour>.

The hue_expr_index field is a 1-based index into the ordered aggregation of <Expressions>, and is used to select the specific <Expression> that controls the value of <HSV Colour>'s hsv_data.hue field.

The saturation_expr_index field is a 1-based index into the ordered aggregation of <Expressions>, and is used to select the specific <Expression> that controls the value of <HSV Colour>'s hsv_data.saturation field.

The value_expr_index field is a 1-based index into the ordered aggregation of <Expressions>, and is used to select the specific <Expression> that controls the value of <HSV Colour>'s hsv_data.value field.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

See the example for <CMY Colour Control Link>, which is analogous to how this class is used.

FAQs

No FAQs supplied.

Constraints

None.

Composed of (two-way)(inherited)

Component of (two-way)

Inherited Field Elements

SE_String description; (notes)

Field Elements

SE_Integer_Unsigned hue_expr_index; (notes)
SE_Integer_Unsigned saturation_expr_index; (notes)
SE_Integer_Unsigned value_expr_index; (notes)

Notes

Fields Notes


description

 This is a text description of the given <Control Link>
 instance's purpose.

hue_expr_index

 This value specifies which <Expression> component, if any,
 controls the hue field value of the affected <HSV Colour>
 instances. If the value is zero, the hue field of those
 instances is not controlled.

saturation_expr_index

 This value specifies which <Expression> component, if any,
 controls the saturation field value of the affected <HSV Colour>
 instances. If the value is zero, the saturation field of those
 instances is not controlled.

value_expr_index

 This value specifies which <Expression> component, if any,
 controls the value field value of the affected <HSV Colour>
 instances. If the value is zero, the value field of those
 instances is not controlled.

Prev: HSV Colour. Next: Icon. Up:Index.

Last updated: May 15, 2003 Copyright © 2003 SEDRIS™