Property
|
Description
|
Class
|
- <DRM Property Table Reference Control Link>
|
Superclass
|
|
Subclass
|
|
Definition
|
An instance of this DRM class specifies an
<DRM Expression>, the value
of which determines the
index_on_axis
field value of all target
<DRM Property Table Reference>
instances.
|
Class diagram
|
Figure 6.232 —
DRM_Property_Table_Reference_Control_Link
|
Inherited field elements
|
|
Field elements
|
Field name
|
Range
|
Field data type
|
expr_index2
|
|
Integer_Positive
|
|
Associated to (one-way) (inherited) |
|
Associated to (one-way) |
|
Associated by (one-way) (inherited) |
|
Associated by (one-way) |
|
Associated with (two-way) (inherited) |
|
Associated with (two-way) |
|
Composed of (two-way) (inherited) |
|
Composed of (two-way metadata) (inherited) |
|
Composed of (two-way metadata) |
|
Component of (two-way) (inherited) |
|
Component of (two-way) |
|
Constraints
|
|
Clarifications
|
1
This is a text description of the given
<DRM Control Link>
instance's purpose.
2
For the given <DRM
Property Table Reference Control Link> instance, this value
specifies which of the ordered
<DRM Expression> components is that
which controls the
index_on_axis
value of the affected
<DRM Property Table Reference>
instances.
|
Example(s)
|
Consider an instance of a geometric model of a wind sock, which
is to be rotated depending on the wind direction; that is, whenever
the wind changes, the <DRM
Geometry Model Instance> is rotated accordingly.
The <DRM Rotation> of the applicable
<DRM LSR Transformation> controlled
by a <DRM Rotation Control Link>,
which is driven using values from a <DRM
Property Table>. That is, the <DRM
Rotation Control Link> is driven by a <DRM
Predefined Function>,
TABLE_VALUE, containing a
<DRM Property Table Reference>
referring to the <DRM Property Table>
containing the rotation values.
Figure 6.233 — <DRM Property Table Reference Control Link> example
The wind sock rotates around the Y axis, depending on wind speed.
(That is, if the wind speed is zero, it will hang down toward the
ground, while if the wind speed is higher, it will straighten out
parallel to the ground).
The <DRM Property Table> is classified as
ECC_CONTROL_VALUE, and has a
<DRM Table Property Description>
specified by ROTATION_ANGLE. The <DRM
Property Table> specifies, for each
EAC_WIND_SPEED value, the angle to which the wind sock should be
rotated.
Figure 6.234 — <DRM Property Table Reference Control Link> example
Consider a <DRM
Translation Control Link> instance that is to be driven using
values from a <DRM Property Table>. The
table values that are to
be used are to be cycled through 8 times, with each cycle taking 10
seconds. This sequence of cycles is to be triggered from outside the
transmittal.
Figure 6.235 — <DRM Property Table Reference Control Link> example
The <DRM Translation Control Link>'s
controlling <DRM Expression> is a
<DRM Predefined Function> instance for
TABLE_VALUE, whose argument is a
<DRM Property Table Reference> instance
referring to the <DRM Property Table> containing
the translation values.
Figure 6.236 — <DRM Property Table Reference Control Link> example
Note that the <DRM
Table Property Description> for the control values and the
<DRM Variable> instance controlling the referencing
expression have the same meaning = {
VARIABLE, {
TRANSLATION_AMOUNT }}
The <DRM
Property Table Reference Control Link> controls which value is
referenced from the <DRM Property Table>,
and is itself driven by the
CYCLE_TIME <DRM
Predefined Function>. The cycle length (10 seconds) and the
number of cycles (8) are specified as arguments to the function.
The <DRM Variable> drives the
<DRM
Property Table Reference Control Link> through the
<DRM Predefined Function>, so that it
determines which value is referenced from the <DRM
Property Table>. To provide the hook for this <DRM
Variable> to be set from outside the transmittal, the
<DRM Variable> is associated with an
<DRM Interface Template> (not shown).
If this <DRM
Translation Control Link> appears inside a <DRM Model>,
then to set the <DRM Variable> using another variable
from outside the transmittal, the data provider merely has to have the
<DRM Geometry Model Instance> supply a
<DRM Variable> from its own context for the value of
the <DRM Model>'s <DRM Variable>.
|