The SEDRIS Data Representation Model
APPENDIX A - Classes
Light Source Control Link

Class Name: Light Source Control Link

Superclass - <Control Link>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

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 - that is, which determines whether those <Light Source> instances are on or off.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

  1. A <Model> of a lighthouse has a <Geometry Model> with a <Union Of Geometry Hierarchy>, to which is attached an <Spot Light> representing the lighthouse's light. The <Spot Light> has a <Light Source Control Link> that turns the light on or off, depending on the time of day and the weather.

FAQs

What does a <Light Source Control Link> control?

A <Light Source Control Link> controls the active_light_value stored in its <Light Source>, so that the <Light Source> can be turned on and off.

Constraints

Composed of (two-way) (inherited)

Component of (two-way)

Inherited Field Elements

SE_String description; (notes)

Field Elements

SE_Integer_Positive expr_index; (notes)

Notes

Fields Notes


description

 The description field specifies a text description of the given
 <Control Link> instance's purpose.

expr_index

 The expr_index field specifies which <Expression> component's
 value controls whether the controlled <Light Source> instance(s)
 are on or off. If the <Expression> evaluates to SE_TRUE, the
 <Light Source> instances are on.

Prev: Light Source. Next: Line. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS