The SEDRIS Data Representation Model
APPENDIX A - Classes
Colour Table Group

Class Name: Colour Table Group

Superclass - <SEDRIS Abstract Base>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

An instance of this DRM class specifies an interchangeable group of one or more <Colour Table> instances. The primary <Colour Table> in the group is indicated by the primary_table_index. When a reference is made to a <Colour Table> (for example, from an <Colour Index> component of a <Polygon>), the reference identifies the <Colour Table Group> and the index within the <Colour Table>, but not the specific <Colour Table> within the <Colour Table Group>. By definition, a <Colour Index> refers to a <Primitive Colour> from the primary <Colour Table> of the indicated <Colour Table Group>. An alternate <Colour Table> from within the <Colour Table Group> can be chosen at the discretion of the data consumer.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

  1. One <Colour Table Group> in the transmittal, and that group has only one <Colour Table> within the group. That <Colour Table> is the one and only <Colour Table> for the entire transmittal.

  2. A <Colour Table Group> with two <Colour Table> components, where one <Colour Table> is for normal, Out the Window (OTW) viewing, and the other <Colour Table> exists to change the appearance of the view to represent a view as seen through Night Vision Goggles (NVG).

  3. A <Colour Table Group> with 3 <Colour Tables> with the same usage of OTW. Why 3 tables? One <Colour Table> defines the colours as originally created by the data modelers. The second <Colour Table> has different shades of blue for the lakes and skies because a company VIP came through and didn't like the blues that were there. The third <Colour Table> contains yet another set of blues for the lakes, and different shades of green for the trees and tanks, because the customer in charge of the program came through and didn't think the colours were realistic. In this particular example, it's left as an exercise to the reader to determine which <Colour Table> will be listed first in the <Colour Table Group> and thereby be the default, primary <Colour Table> for the group.

FAQs

Can a transmittal in any way refer to a <Colour Table> in a <Colour Table Group> other than the primary <Colour Table>?

No. The only <Colour_Table> that can be referenced in any <Colour Table Group> is the primary <Colour Table>.

Since you can't refer to them, why bother to have alternate <Colour Tables> within a <Colour Table Group>?

Because in real life, many run-time systems do have multiple colour tables they can switch between for various reasons, and these tables should be shared to promote interoperability. See the example section, below.

Constraints

Associated by (one-way)

Composed of (two-way)

Composed of (two-way metadata)

Component of (two-way)

Inherited Field Elements

This class has no inherited field elements.

Field Elements

SE_Integer_Positive primary_table_index; (notes)
SE_Integer_Positive table_size; (notes)

Notes

Fields Notes


primary_table_index

 This specifies the primary <Colour Table> of the given
 <Colour Table Group>, from its ordered <Colour Table>
 components.

table_size

 This specifies the size of any and all <Colour Table>
 components of the given <Colour Table Group>.

Prev: Colour Table. Next: Colour Table Library. Up:Index.

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