The SEDRIS Data Representation Model
APPENDIX A - Classes RGB Colour Control Link |
---|
The specialized <Control Link> used to provide the connection between an ordered aggregation of <Expressions> and the target fields of an <RGB Colour>.
The red_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 <RGB Colour>'s rgb_data.red field.
The green_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 <RGB Colour>'s rgb_data.green field.
The blue_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 <RGB Colour>'s rgb_data.blue field.
See the example for <CMY Colour Control Link>, which is analogous to how this class is used.
No FAQs supplied.
SE_String | description; | (notes) |
---|
SE_Integer_Unsigned | red_expr_index; | (notes) |
---|---|---|
SE_Integer_Unsigned | green_expr_index; | (notes) |
SE_Integer_Unsigned | blue_expr_index; | (notes) |
This is a text description of the given <Control Link> instance's purpose.
This value specifies which <Expression> component, if any, controls the red field value of the affected <RGB Colour> instances. If the value is zero, the red field of those instances is not controlled.
This value specifies which <Expression> component, if any, controls the green field value of the affected <RGB Colour> instances. If the value is zero, the green field of those instances is not controlled.
This value specifies which <Expression> component, if any, controls the blue field value of the affected <RGB Colour> instances. If the value is zero, the blue field of those instances is not controlled.
|