The SEDRIS Data Representation Model
APPENDIX A - Classes
Colour Data

Abstract Class Name: Colour Data

Superclass - <SEDRIS Abstract Base>

Subclasses

Definition

An instance of this DRM class specifies a 3-tuple representing a colour value, that is, the actual colour coordinate values for a colour in the given colour model. See the individual subclasses, each of which is specialized for a particular colour model, for details.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

See concrete subclasses for examples.

FAQs

As a consumer, I don't use the colour model that the data provider used. How can I get the colour values in the model I use?
If you use any of the SEDRIS defined colour models (RGB, CMY, or HSV), then you are in luck. The SEDRIS Level 0 API, if directed to do so, will change all <Primitive Colours> into whichever directly supported colour model you wish to specify.

If you need a colour model that is not directly supported, then specify an appropriate colour model for use with one of the utility functions provided in the DRM API.

Where can I find more information on colour in SEDRIS?
See Part 4, Volume 8 Images and Colour Models Technical Guide of the SEDRIS Documentation Set for further information.

Constraints

None.

Component of (two-way)

Inherited Field Elements

This class has no inherited field elements.
Prev: Colour. Next: Colour Entry. Up:Index.

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