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> instances and the target fields of one or more <CMY Colour> instances.
Consider a transmittal, produced with CMY colours, the <Model Library> of which contains a <Model> representing a car with a <Geometry Model>, 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>. Consequently, each <CMY Colour> instance in the <Model> has a <CMY Colour Control Link> instance, supplying the value of the yellow field of the <CMY Colour> with a <Variable>.
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 given <Control Link> instance's purpose.
The value of the cyan_expr_index field specifies which <Expression> component, if any, controls the cmy_data.cyan field value of the affected <CMY Colour> instances. If the value is zero, the cmy_data.cyan field of those instances is not controlled; otherwise, the value is a 1-based index into the ordered aggregation of <Expression> instances.
The value of the magenta_expr_index field specifies which <Expression> component, if any, controls the cmy_data.magenta field value of the affected <CMY Colour> instances. If the value is zero, the cmy_data.magenta field of those instances is not controlled; otherwise, the value is a 1-based index into the ordered aggregation of <Expression> instances.
The value of the yellow_expr_index field specifies which <Expression> component, if any, controls the cmy_data.yellow field value of the affected <CMY Colour> instances. If the value is zero, the cmy_data.yellow field of those instances is not controlled; otherwise, the value is a 1-based index into the ordered aggregation of <Expression> instances.
|