The SEDRIS Data Representation Model
APPENDIX A - Classes
Scale Control Link

Class Name: Scale Control Link

Superclass - <Control Link>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

An instance of this DRM class is a specialized <Control Link> instance used to provide the connection between an ordered aggregation of <Expression> instances and the target fields of a <Scale> instance.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

  1. Consider a <Scale Control Link> instance that is driven using values from a <Property Table> instance. The table value that is used is specified from outside the transmittal.

    For simplicity, in this example, the controlling <Expression> component of the <Scale Control Link> instance is the table value itself, rather than some more complex <Function> instance using the table value as an argument. Specifically, the controlling <Expression> component of the <Scale Control Link> instance is a <Predefined Function> component with function = SE_PREDEFFN_TABLE_VALUE, the argument of which is a <Property Table Reference> component associated to the <Property Table> instance containing the scale values as depicted in Figure 6.58:

    Externally controlled table-based animation, Example 1

    Figure 58 — <DRM Scale Control Link> example

    The <Variable> component drives the <Property Table Reference Control Link> instance, so that the <Variable> component determines which value is referenced from the <Property Table> instance. To provide the hook for this <Variable> component to be set from outside the transmittal, the <Variable> component is associated with an <Interface Template> instance (not shown).

FAQs

No FAQs supplied.

Constraints

Composed of (two-way) (inherited)

Component of (two-way)

Inherited Field Elements

SE_String description; 1

Field Elements

SE_Integer_Positive expression_index; 2
SE_Integer_Unsigned lower_expression_index; 3
SE_Integer_Unsigned upper_expression_index; 4

Notes

Fields Notes

description

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

expression_index

The expression_index field specifies an <Expression> component, the value of which specifies the value of the scale_factor field of the affected <Scale> instances.

lower_expression_index

If non-zero, the lower_expression_index field specifies the index of the <Expression> component defining the lower limit of the scaling. A value of zero (0) indicates that no lower limit is specified; otherwise, the value specifies a one-based index into the ordered aggregation of <Expression> instances.

upper_expression_index

If non-zero, the upper_expression_index field specifies the index of the <Expression> component defining the upper limit of the scaling. A value of zero (0) indicates that no upper limit is specified; otherwise, the value specifies a one-based index into the ordered aggregation of <Expression> instances.


Prev: Scale. Next: Season. Up:Index.

Last updated: July 26, 2006 Copyright © 2006 SEDRIS