Table 6.52—DRM_Colour

Property

Description

Superclass

·         <DRM Colour Entry>

Class

·         <DRM Colour>

Subclass

·         <DRM Colour Index>

·         <DRM Inline Colour>

Definition

The base class for colors in SEDRIS. Colors can be either <DRM Inline Colour> (which are directly attached to coloured objects) or <DRM Colour Index> (referring to colours in <DRM Colour Table>s).

Example(s)

·         A <DRM Colour> with a color mapping field of type FRONTFACE_BLEND_COLOR is used for blending.

·         A <DRM Colour> with a color mapping field of type BACKFACE_COLOR is the color used for the back face of the <DRM Polygon> to which the <DRM Colour> object is attached.

Inherited field elements

field_name

range

Field_Data_Type

none

 

 

Field elements

field_name

range

Field_Data_Type

color_mapping

 

Color_Mapping

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 Presentation Domain>

·         zero or one <DRM Translucency>

Composed of (two-way metadata) (inherited)

·         none

Composed of (two-way metadata)

·         none

Component of (two-way) (inherited)

·         zero or one <DRM Colour Entry Table>

Component of (two-way)

·         zero or more <DRM Aggregate Feature>s

·         zero or more <DRM Aggregate Geometry>s

·         zero or more <DRM Attribute Set>s

·         zero or more <DRM Base Vertex>s

·         zero or more <DRM Colour Set>s

·         zero or more <DRM Primitive Feature>s

·         zero or more <DRM Primitive Geometry>s

Constraints

·         Colour mapping restrictions

Notes

none

Class diagram

<DRM Colour>