The SEDRIS Data Representation Model
APPENDIX A - Classes
CMY Colour Control Link

Class Name: CMY Colour Control Link

Superclass - <Control Link>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

An instance of this DRM class specifies a specialized <Control Link> instance providing the connection between an ordered aggregation of <Expression> instances and the target fields of one or more <CMY Colour> instances.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

  1. Consider a transmittal, produced with CMY colours, the <Model Library> of which contains a <Model> representing a car with a <Geometry Model>, the geometry of which consists of <Polygon> instances with <Inline Colour> components.

    This car model is instanced in many places throughout the transmittal, and the data provider wishes to vary its appearance depending on the <Geometry Model Instance>. Consequently, each <CMY Colour> instance in the <Model> has a <CMY Colour Control Link> instance, supplying the value of the yellow field of the <CMY Colour> with a <Variable>.

    CMY Colour Control Link, Example 1

FAQs

No FAQs supplied.

Constraints

Composed of (two-way) (inherited)

Component of (two-way)

Inherited Field Elements

SE_String description; (notes)

Field Elements

SE_Integer_Unsigned cyan_expr_index; (notes)
SE_Integer_Unsigned magenta_expr_index; (notes)
SE_Integer_Unsigned yellow_expr_index; (notes)

Notes

Fields Notes


description

 The description field specifies a text description of the given
 <Control Link> instance's purpose.

cyan_expr_index

 The value of the cyan_expr_index field specifies
 which <Expression> component, if any, controls the
 cmy_data.cyan field value of the affected
 <CMY Colour> instances. If the value is zero, the
 cmy_data.cyan field of those instances is not controlled;
 otherwise, the value is a 1-based index into the ordered
 aggregation of <Expression> instances.

magenta_expr_index

 The value of the magenta_expr_index field specifies which
 <Expression> component, if any, controls the cmy_data.magenta
 field value of the affected <CMY Colour> instances. If the
 value is zero, the cmy_data.magenta field of those instances
 is not controlled;
 otherwise, the value is a 1-based index into the ordered
 aggregation of <Expression> instances.

yellow_expr_index

 The value of the yellow_expr_index field specifies which
 <Expression> component, if any,
 controls the cmy_data.yellow field value of the affected
 <CMY Colour> instances. If the value is zero, the
 cmy_data.yellow field of those instances is not controlled;
 otherwise, the value is a 1-based index into the ordered
 aggregation of <Expression> instances.

Prev: CMY Colour. Next: Collision Volume. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS