Table 6.50—DRM_CMY_Colour_Control_Link

Property

Description

Superclass

·         <DRM Control Link>

Class

·         <DRM CMY Colour Control Link>

Subclass

·         none

Definition

The specialized <DRM Control Link> used to provide the connection between an ordered aggregation of <DRM Expression>s and the target fields of a <DRM CMY Color>.

The cyan_expression_index field is a 1-based index into the ordered aggregation of <DRM Expression>s, and is used to select the specific <DRM Expression>s that controls the value of <DRM CMY Color>’s cmy_data.cyan field.

The magenta_expression_index field is a 1-based index into the ordered aggregation of <DRM Expression>s, and is used to select the specific <DRM Expression>s that controls the value of <DRM CMY Color>’s cmy_data.magenta field.

The yellow_expression_index field is a 1-based index into the ordered aggregation of <DRM Expression>s, and is used to select the specific <DRM Expression>s that controls the value of <DRM CMY Color>’s cmy_data.yellow field.

Example(s)

·         Consider a transmittal, produced with CMY colors, whose <DRM Model Library> contains a <DRM Model> representing a car with a <DRM Geometry Model>, whose geometry consists of <DRM Polygon>s with <DRM Colour>s.

This car model is instanced in many places throughout the transmittal, and the data provider wishes to vary its appearance depending on the <DRM Geometry Model Instance>. Consequently, each <DRM CMY Colour> object in the <DRM Model> has a <DRM CMY Color Control Link> object, supplying the value of the yellow field of the <DRM CMY Colour> with a <DRM Variable>.

Inherited field elements

field_name

range

Field_Data_Type

description1

 

String

Field elements

field_name

range

Field_Data_Type

cyan_expression_index2

 

Integer_Unsigned

magenta_expression_index3

 

Integer_Unsigned

yellow_expression_index4

 

Integer_Unsigned

Associated to (one-way) (inherited)

·         none

Associated to (one-way)

·         none

Associated by (one-way) (inherited)

·         none

Associated by (one-way)

·         none

Associated with (two-way) (inherited)

·         none

Associated with (two-way)

·         none

Composed of (two-way) (inherited)

·         one or more {ordered} <DRM Expression>s

Composed of (two-way)

·         none

Composed of (two-way metadata) (inherited)

·         none

Composed of (two-way metadata)

·         none

Component of (two-way) (inherited)

·         none

Component of (two-way)

·         one or more <DRM CMY Colour>s

Constraints

·         none

Notes

1 A text description of what the <DRM Control Link> is for

2 Index of the expression whose value controls the cyan field of the affected <DRM CMY Colour>. If 0, the cyan field is not controlled.

3 Index of the expression whose value controls the magenta field of the affected <DRM CMY Colour>. If 0, the magenta field is not controlled.

4 Index of the expression whose value controls the yellow field of the affected <DRM CMY Colour>. If 0, the yellow field is not controlled.

Class diagram

<DRM CMY Colour Control Link>