Class Name: Light Rendering Properties

Superclass - SEDRIS Abstract Base

Definition

A Light Rendering Properties object is used to give light rendering properties to all Geometry it is connected to. If a Light Rendering Properties object is a component of a Geometry object, then all Primitive Geometry below that Geometry object will have light characteristics. Most Primitive Geometry in this class have defaults, such as light_diameter and light_extinguishing_range.

Light behavior can take on 2 types: raster and calligraphic.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

  1. Any Primitive Geometry can take on light behavior. An example might be a Point Geometry, where the light point is visible to a certain extinguishing range (default = 0, i.e. the light is visible from any distance).

FAQs

--FAQs needed here --

Constraints

Composed of (one-way)

Composed of (two-way)

Component of (one-way)

Field Elements

SE_LIGHT_TYPE_ENUM light_type; (notes)
SE_FLOAT64 light_diameter; (notes)
SE_FLOAT64 light_extinguishing_range; (notes)
SE_BOOLEAN random_area_light; (notes)
SE_BOOLEAN active_light_value; (notes)
SE_FLOAT64 candela_value; (notes)

Notes

Fields Notes

light_type

 see enumeration below

light_diameter

 This value is the size in pixels. The default value is 0, which
 means "not applicable."

light_extinguishing_range

 This range is the distance (in meters) at which the light is no longer
 seen. The default is 0, which means it is always seen.

random_area_light

 This flag indicates (if TRUE) that all lights at this level or below
 were originally part of a random area light.

active_light_value

 SE_TRUE = on, SE_FALSE = off
 This is the default/active state of the light.

candela_value

 The candela value of the light at full intensity. The default value
 is 0, which means that the source had no candela value.

Prev: Light Rendering Behavior. Next: Light Rendering Properties Control Link. Up:Index.