Consider an instance of a geometric model of a wind sock that
is to be rotated depending on the wind direction. Whenever
the wind changes, the <DRM Geometry Model Instance> instance
is rotated accordingly.
The <DRM Rotation> component of the applicable
<DRM LSR Transformation> instance is controlled
by a <DRM Rotation Control Link> component,
which is driven using values from a
<DRM Property Table> instance as depicted in
Figure 6.247.
The <DRM Rotation Control Link> component
is driven by
a <DRM Predefined Function> component with
function =
TABLE_VALUE,
which in turn has a <DRM Property Table Reference> component
associated to the <DRM Property Table> instance
containing the rotation values.
Figure 6.247 — <DRM Property Table Reference Control Link> wind direction example
The wind sock rotates around the V axis, depending on wind speed.
If the wind speed is zero, it hangs down toward the
ground, while if the wind speed is higher, it straightens out
parallel to the ground.
The <DRM Property Table> instance is classified as
ECC_CONTROL_VALUE, and has a
<DRM Table Property Description> component specified by
ROTATION_ANGLE.
The <DRM Property Table> instance specifies,
for each EAC_WIND_SPEED value, the angle to which the
wind sock should be rotated as depicted in
Figure 6.248.
Figure 6.248 — <DRM Property Table Reference Control Link> wind sock example
Consider a <DRM Translation Control Link> instance that is driven
using values from a <DRM Property Table> instance. The
table values that are to
be used are cycled through eight times, with each cycle taking ten
seconds. This sequence of cycles is triggered from outside the
transmittal as depicted in Figure 6.249.
Figure 6.249 — <DRM Property Table Reference Control Link> cycle example
The controlling <DRM Expression> component of the
<DRM Translation Control Link> instance is a
<DRM Predefined Function> component with
function =
TABLE_VALUE,
whose argument is a <DRM Property Table Reference> component
associated to the <DRM Property Table> instance containing the
translation values as depicted in
Figure 6.250.
Figure 6.250 — <DRM Property Table Reference Control Link> translation value table example
The <DRM Table Property Description>
instance 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>
instance controls which value is
referenced from the <DRM Property Table> instance
and is itself driven by the
<DRM Predefined Function> component with
function =
CYCLE_TIME.
The cycle length (ten seconds) and the number of cycles (eight)
are specified as arguments to the function.
The <DRM Variable> instance drives the
<DRM Property Table Reference Control Link>
instance through the
<DRM Predefined Function>
instance so that it
determines which value is referenced from the
<DRM Property Table> instance.
To provide the hook for this <DRM Variable> instance
to be set from outside the transmittal, the
<DRM Variable> instance is associated with
a <DRM Interface Template> instance (not shown).
If this <DRM Translation Control Link>
instance appears within the component tree of a <DRM Model>
instance, in order to set the <DRM Variable>
instance using another variable
from outside the transmittal, the data provider specifies that the
<DRM Geometry Model Instance> instance is to supply a
<DRM Variable> component from its own context to provide
the value of the <DRM Variable> instance within the
component tree of the <DRM Model> instance.