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
No FAQs supplied.
SE_String | description; | (notes) |
---|
SE_Integer_Unsigned | cyan_expr_index; | (notes) |
---|---|---|
SE_Integer_Unsigned | magenta_expr_index; | (notes) |
SE_Integer_Unsigned | yellow_expr_index; | (notes) |
The description field specifies a text description of the purpose of the <Control Link> instance.
The cyan_expr_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_expr_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_expr_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.
|