The SEDRIS Data Representation Model
APPENDIX A - Classes
Inline Colour
|
Class Name: Inline Colour
Subclasses
This DRM class is concrete and has no subclasses.
Definition
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>.
Primary Page in DRM Diagram:
Secondary Pages in DRM Diagram:
This class appears on only one page of the DRM class diagram.
Example
- 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>.
FAQs
- Why do <Colour Table> instances have
<Primitive Colour> components rather
than <Inline Colour> components?
<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.
Constraints
Composed of (two-way)(inherited)
Composed of (two-way)
Component of (two-way)(inherited)
Notes
Composed of Notes
if present, identifies the type of sensor for which the <Colour> is
applicable
Fields Notes
The set of SE_Colour_Mapping tokens applicable to this <Colour>.
Prev: Infinite Light.
Next: Interface Template.
Up:Index.
|
Last updated: October 1, 2002
|
Copyright © 2002 SEDRIS
|
|