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

Consider a data consumer who does not use the colour model that the data provider used. How can the data consumer get the colour values in the consumer's colour model?

If the consumer's colour model is one of the SEDRIS defined colour models (RGB, CMY, or HSV), the SEDRIS Level 0 API, if directed to do so, will change all <Primitive Colour> instances into whichever directly supported colour model the data consumer wishes to specify.

If the data consumer's colour model is not directly supported, the consumer should retrieve the data in an appropriate colour model for use with one of the utility functions provided in the DRM API.

Where can users 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: May 15, 2003 Copyright © 2003 SEDRIS™