Table 6.157—DRM_Light_Rendering_Properties_Control_Link

Property

Description

Superclass

·         <DRM Control Link>

Class

·         <DRM Light Rendering Properties Control Link>

Subclass

·         none

Definition

An object of this DRM class specifies a <DRM Control Link> providing the connection between the <DRM Light Rendering Properties> class and the <DRM Expression>s that are used to determine whether it is active and the value of its candela_value field.

The active_expression_index, candela_value_expression_indexlower_candela_value_-expression_index, and upper_candela_value_expression_-index are 1-based indices into the ordered aggregation of <DRM Expression>, and are used to select the specific <DRM Expression> that define the target <DRM Light Rendering Properties>' active_light_value and candela_value fields.

Example(s)

·         Consider a flight simulator database containing an area of terrain representing a city as seen from the air. Some of the <DRM Polygon>s of this terrain have <DRM Light Rendering Properties> with <DRM Twinkling Light Behaviour>, representing city lights. These <DRM Light Rendering Properties> share a <DRM Light Rendering Properties Control Link> that turns them on and off depending on the time of day (on at dusk, off at dawn).

·         Consider a runway, bordered on either side by a <DRM Line> representing the runway lights. Each <DRM Line> has a <DRM Light Rendering Properties> with <DRM Strobing Light Behaviour, and a <DRM Light Rendering Properties Control Link> that turns the lights on and off depending on the time of day (on at dusk, off at dawn).

Inherited field elements

field_name

range

Field_Data_Type

description1

 

String

Field elements

field_name

range

Field_Data_Type

active_expression_index2

 

Integer_Unsigned

candela_value_expression_index3

 

Integer_Unsigned

lower_candela_value_index4

 

Integer_Unsigned

upper_candela_value_index5

 

Integer_Unsigned

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)

·         one or more {ordered} <DRM Expression>s

Composed of (two-way)

·         none

Composed of (two-way metadata) (inherited)

·         none

Composed of (two-way metadata)

·         none

Component of (two-way) (inherited)

·         none

Component of (two-way)

·         one or more <DRM Light Rendering Properties>s

Constraints

·         none

Notes

1 A text description of what the <DRM Control Link> is for.

2 Index of the expression whose value controls whether a set of <DRM Light Rendering Properties> are on or off. If the expression evaluates to TRUE, they are on.

3 Index of the expression whose value controls the candela_value of the affected <DRM Light Rendering Properties> object.

4 Index of the expression defining the lower limit of the candela_value. A lower_candela_value_index value of 0 means no lower limit was defined.

5 Index of the expression defining the upper limit of the candela_value. An upper_candela_value_index value of 0 means no upper limit was defined.

Class diagram

<DRM Light Rendering Properties Control Link>