Table 6.133—DRM_HSV_Colour
Property |
Description |
||||||
Superclass |
|||||||
Class |
· <DRM HSV Colour> |
||||||
Subclass |
· none |
||||||
Definition |
An object of this DRM class specifies the actual Hue, Saturation, and Value data values for a colour defined within the Hue Saturation Value colour model. The Saturation and Value values are expected to be between 0 and 1. If Value has a value of 0, the values of Hue and Saturation are meaningless, because the colour will be black. If Saturation has a value of 0, then the value of Hue is meaningless, and the value of Value will determine the shade of a grey colour, somewhere between white and black. Hue is expected to have a value between 0.0 and 360.0 (not including 360.0). If the value of Hue is 'undefined' (because the value of Value or Saturation is 0), the value of Hue can be represented as +¥, but this is not required. Basically, if Value is zero, the values of Hue and Saturation should be ignored, and if Saturation is zero, the value of Hue should be ignored. The Hue Saturation Value colour model represents the colour space as a hexagonal cone. The Hue of the colour determines the 'colour' of the colour. The Saturation of the colour determines the 'intensity' of the colour, differentiating a 'strong' red from a 'weak' red, for example. The Value of the colour is the difference between a light colour and a dark colour. Decreasing the Value of a colour adds black to the colour. |
||||||
Example(s) |
· A <DRM HSV Colour> for pure black (Value = 0.0, Hue and Saturation values don't matter). · A <DRM HSV Colour> for a bright red (Hue = 0.0, Saturation = 1.0, Value = 1.0) |
||||||
Inherited field elements |
|
||||||
Field elements |
|
||||||
Associated to (one-way) (inherited) |
· none |
||||||
Associated to (one-way) |
· none |
||||||
Associated by (one-way) (inherited) |
· none |
||||||
Associated by (one-way) |
· none |
||||||
Associated with (two-way) (inherited) |
· none |
||||||
Associated with (two-way) |
· none |
||||||
Composed of (two-way) (inherited) |
· none |
||||||
Composed of (two-way) |
· zero or one <DRM HSV Colour Control Link> |
||||||
Composed of (two-way metadata) (inherited) |
· none |
||||||
Composed of (two-way metadata) |
· none |
||||||
Component of (two-way) (inherited) |
· zero or more <DRM Ambient Colour>s · zero or more <DRM Diffuse Colour>s · zero or more <DRM Emissive Colour>s · zero or more <DRM Specular Colour>s |
||||||
Component of (two-way) |
· none |
||||||
Constraints |
· none |
||||||
Notes |
none |
||||||
Class diagram |