The SEDRIS Data Representation Model
APPENDIX A - Classes Inline Colour |
---|
An instance of this DRM class is a <Colour> that is specified "inline", in the sense that it is completely specified as a component of the coloured object without referring to any <Colour Table>.
Consider a <Polygon> with both an <Image Mapping Function> and an <Inline Colour>, where the <Inline Colour>'s colour_mapping = { SE_CLR_MAPNG_FRONT_IMAGE_BLEND }. This indicates that the colour is to be applied to the 'front' of the <Polygon>, and to be combined with the texture mapping information provided by the <Image Mapping Function>.
Consider a <Polygon> with an <Inline Colour>, where the <Inline Colour> has colour_mapping = { SE_CLR_MAPNG_BACK_PRIMARY }. This colour is used for the back face of the <Polygon>.
<Colour Tables> used to be composed of <Inline Colours>, but problems arose since both <Colour Index> and <Inline Colour> instances can have <Translucency>. When a <Colour Index> that has a <Translucency> component refers to an entry in a <Colour Table>, the interpretation is clearer if the <Colour Table>'s entry cannot have any additional <Translucency>. Consequently, <Primitive Colour> exists so that we can put 'just the colour' into a <Colour Table>'s entry.
SE_Token_Set | colour_mapping; | (notes) |
---|
If present, this component identifies the type of sensor for which the given <Colour> instance is applicable.
The set of SE_Colour_Mapping tokens applicable to the given <Colour> instance.
|