The SEDRIS Data Representation Model
APPENDIX A - Classes
Inline Colour

Class Name: Inline Colour

Superclass - <Colour>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

An instance of this DRM class is a <Colour> instance 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> instance.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

This class appears on only one page of the DRM class diagram.

Example

  1. Consider a <Polygon> instance with both an <Image Mapping Function> component and an <Inline Colour> component where the colour_mapping field of the <Inline Colour> component is {Front_Image_Blend}. This indicates that the colour is to be applied to the front of the <Polygon> instance and is to be combined with the texture mapping information provided by the <Image Mapping Function> instance.

  2. Consider a <Polygon> instance with an <Inline Colour> component where the <Inline Colour> instance has colour_mapping = { Back_Primary }. This colour is used for the back face of the <Polygon> instance.

FAQs

Why do <Colour Table> instances have <Primitive Colour> components rather than <Inline Colour> components?

Because a <Colour Index> instance and an <Inline Colour> instance both specify a colour_mapping field and potentially both specify <Translucency> components.

Consequently, <Primitive Colour> exists so that 'just the colour' can be specified by an entry within a <Colour Table> instance.

Constraints

Composed of (two-way) (inherited)

Composed of (two-way)

Component of (two-way) (inherited)

Inherited Field Elements

SE_Colour_Mapping colour_mapping; 2

Notes

Composed of Notes


Presentation_Domain

If present, the <Presentation Domain> component identifies the type of sensor for which the <Colour> instance is applicable.

Fields Notes

colour_mapping

The colour_mapping field specifies the set of SE_Colour_Mapping members applicable to the <Colour> instance.


Prev: Infinite Light. Next: Interface Template. Up:Index.

Last updated: July 26, 2006 Copyright © 2006 SEDRIS