The SEDRIS Data Representation Model
APPENDIX C - Types SE_Colour_Binding |
---|
/* * ENUM: SE_Colour_Binding * * This data type specifies which type of colour inheritance is in * effect within the scope of the given <Rendering Properties> * instance. */typedef enum
SE_COLRB_NORMAL, | 1 | |
SE_COLRB_PARENT_OVERRIDE | 2 |
1 The colour of a geometry attribute is defined as the default attribute binding. Attributes defined by a component overload its parent (i.e., the last colour wins). EXAMPLES: 1) <Colour> components of a <Polygon> instance override any <Colour> components of the <Union Of Primitive Geometry> aggregate of the <Polygon> instance. 2) <Colour> components of a <Vertex> instance override any <Colour> components of a <Polygon> aggregate of that <Vertex> instance.
2 This setting allows the given <Geometry Representation> instance to override the default attribute binding; that is, to override any <Colour> instances specified by DRM objects in its component tree. EXAMPLES: 1) A <Union Of Primitive Geometry> instance with SE_COLRB_PARENT_OVERRIDE will determine the colour of its <Polygon> components, even if the <Polygon> components have their own <Colour> components. 2) The colour of a <Polygon> instance with SE_COLRB_PARENT_OVERRIDE colour_binding takes precedence over the colours of the <Vertex> components of the <Polygon> instance.
|