Table 6.231 — DRM_Scale

Property

Description

Class

  • <DRM Scale>

Superclass

Subclass

  • None.

Definition

An instance of this DRM class specifies a scale factor along the given axis.

If the absolute value of the scale factor is greater than 1,0, the <DRM Scale> instance’s operation stretches any target object along the given axis. On the other hand, if the absolute value is less than 1,0, any target object is shrunk along the given axis.

If the scale factor is negative, the <DRM Scale> instance’s operation reflects any target object across the origin along the given axis, as well as shrinking or stretching the object based on the magnitude of the scale factor.

The axis field specifies the axis to scale along.

The scale_factor field specifies the multiple by which to scale. For a <DRM Scale> instance with a <DRM Scale Control Link> component X, the value of the scale_factor field is obtained from X.

Class diagram

Figure 6.286 — DRM_Scale

Inherited field elements

Field name

Range

Field data type

None

   

Field elements

Field name

Range

Field data type

axis

 

LSR_Transformation_Axis

scale_factor

≠ 0,0

Long_Float

Default field values

Default field values for DRM_Scale

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)

Composed of (two-way)

Composed of (two-way metadata) (inherited)

  • None.

Composed of (two-way metadata)

  • None.

Component of (two-way) (inherited)

Component of (two-way)

  • None.

Constraints

Clarifications

1If specified, this <DRM Reference Vector> instance shall have vector_type = LSR_TRANSFORMATION_AXIS.

Example(s)

  • A <DRM Scale> instance specifies a scale of 2,0 along the W axis. This makes the dimension along the W axis twice as large.

  • A <DRM Scale> instance specifies a scale of 0,5 along the V axis. This makes the dimension along the V axis half as large.

  • A <DRM Scale> instance specifies a scale of -0,75 along the U axis. This reverses the axis direction and makes the dimension three quarters as large.