The SEDRIS Data Representation Model
APPENDIX A - Classes Light Source Control Link |
---|
An instance of this DRM class specifies an <Expression> instance, the value of which determines the active_light_value of all target <Light Source> instances. This controls whether those <Light Source> instances are on or off.
A <Model> instance representing a lighthouse has a <Geometry Model> component with a <Union Of Geometry Hierarchy> component, to which is attached a <Spot Light> instance representing the light of the lighthouse. The <Spot Light> instance has a <Light Source Control Link> component that turns the light on or off, depending on the time of day and the weather.
A <Light Source Control Link> instance controls the active_light_value stored in its <Light Source> instance, so that the <Light Source> instance can be turned on and off.
SE_String | description; | 1 |
---|
SE_Integer_Positive | expression_index; | 2 |
---|
The description field specifies a text description of the purpose of the <Control Link> instance.
The expression_index field specifies which <Expression> component's value controls whether the controlled <Light Source> instance(s) are on or off. If the <Expression> component evaluates to SE_TRUE, the <Light Source> instances are on.
|