The SEDRIS Data Representation Model
APPENDIX A - Classes CMY Colour Control Link |
---|
An instance of this DRM class specifies a specialized <Control Link> instance providing the connection between an ordered aggregation of <Expression> components and the target fields of one or more <CMY Colour> instances.
Consider a transmittal, produced with CMY colours, the <Model Library> instance of which contains a <Model> component representing a car with a <Geometry Model> instance, the geometry of which consists of <Polygon> instances with <Inline Colour> components.
This car model is instanced in many places throughout the transmittal, and the data provider wishes to vary its appearance depending on the <Geometry Model Instance> instance. Consequently, each <CMY Colour> instance in the <Model> instance has a <CMY Colour Control Link> component, supplying the value of the yellow field of the cmy_data field of the <CMY Colour> instance with a <Variable> component as depicted in Figure 6.4:
No FAQs supplied.
SE_String | description; | 1 |
---|
SE_Integer_Unsigned | cyan_expression_index; | 2 |
---|---|---|
SE_Integer_Unsigned | magenta_expression_index; | 3 |
SE_Integer_Unsigned | yellow_expression_index; | 4 |
The description field specifies a text description of the purpose of the <Control Link> instance.
The cyan_expression_index field is a one-based index into the ordered aggregation of <Expression> components and is used to select the specific <Expression> component (if any) that controls the cyan field values of the cmy_data field(s) of the target <CMY Colour> instance(s). If the value is zero, the cyan field of those <CMY Colour> instance(s) is not controlled.
The magenta_expression_index field is a one-based index into the ordered aggregation of <Expression> components and is used to select the specific <Expression> component (if any) that controls the magenta field values of the cmy_data field(s) of the target <CMY Colour> instance(s). If the value is zero, the magenta field of those <CMY Colour> instance(s) is not controlled.
The yellow_expression_index field is a one-based index into the ordered aggregation of <Expression> components and is used to select the specific <Expression> component (if any) that controls the yellow field values of the cmy_data field(s) of the target <CMY Colour> instance(s). If the value is zero, the yellow field of those <CMY Colour> instance(s) is not controlled.
|