The SEDRIS Data Representation Model
APPENDIX A - Classes
HSV Colour

Class Name: HSV Colour

Superclass - <Colour Data>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

An instance of this DRM class specifies the actual hue, saturation, and value data values for a colour defined within the HSV colour model.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

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

Example

  1. An <HSV Colour> instance representing pure black has an hsv_data field with a value of value = 0.0, where hue and saturation may have any value.

  2. An <HSV Colour> instance representing red has an hsv_data field with a value of hue = 0.0, saturation = 1.0, and value = 1.0).

FAQs

How can a data consumer who does not use the HSV colour model retrieve the colour values in the colour model he or she does use?

The specific procedure to be followed depends on the colour model used by the consuming application.

If the data consumer uses a colour model directly supported by the DRM, the Level 0 API can be instructed to change all <Colour Data> instances to the desired colour model before any <Colour Data> instances are retrieved.

Otherwise, the Level 0 API can be instructed to change all <Colour Data> instances to an appropriate colour model before any <Colour Data> instances are retrieved, and upon retrieval the consuming application can invoke the appropriate utility function provided in the DRM API to convert to the desired colour model.

Where can users go for further information on colour in the DRM?

See P4V8 of the SEDRIS Documentation Set for further information.

Constraints

Composed of (two-way)

Component of (two-way) (inherited)

Inherited Field Elements

This class has no inherited field elements.

Field Elements

SE_HSV_Data hsv_data; 1

Notes

Fields Notes

hsv_data

The hsv_data field specifies the HSV colour coordinate. For an <HSV Colour> instance with an <HSV Colour Control Link> component, the value of the hsv_data field is obtained from the control link.


Prev: Hierarchy Summary Item. Next: HSV Colour Control Link. Up:Index.

Last updated: July 26, 2006 Copyright © 2006 SEDRIS