The SEDRIS Data Representation Model
APPENDIX A - Classes
Colour Table

Class Name: Colour Table

Superclass - <SEDRIS Abstract Base>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

A single <Colour Table> within a <Colour_Table_Group>. A <Colour Table> contains a list of <Primitive Colours>. The <Colour Index>, which is directly associated with the <Colour Table Group> that contains the <Colour Table>, indexes into the ordered list of <Primitive Colours> in the <Colour Table>.

(Use the SE_TokenSetDefinition() function to find the type of a class' token set.)

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 data provider whose format specifies colours using palettes. To convey exactly the colour information used, each palette is represented in SEDRIS as the primary <Colour Table> in a <Colour Table Group>.

FAQs

Why do <Colour Tables> have <Primitive Colours> instead of <Inline Colours>?
<Colour Tables> do not contain <Inline Colours>, because <Colour Tables> exist to store 'just the colour', without any additional <Translucency>;
  1. The interpretation of a <Colour Index> is clearer if the referenced <Colour Table> entry cannot have additional <Translucency>.
  2. Storing <Primitive Colours> in <Colour Tables> allows greater re-use, since the same <Primitive Colour> can be referenced by different <Colour Indices> with different <Translucency> components.

Constraints

Composed of (two-way)

Composed of (two-way metadata)

Component of (two-way)

Inherited Field Elements

This class has no inherited field elements.
Prev: Colour Shininess. Next: Colour Table Group. Up:Index.

Last updated: October 1, 2002 Copyright © 2002 SEDRIS™