The SEDRIS Data Representation Model
APPENDIX A - Classes Reference Vector Control Link |
---|
An instance of this DRM class is a specialized <Control Link> instance providing the connection between an ordered aggregation of <Expression> instances and the target field values of one or more <Reference Vector> instances.
For the <Reference Vector> component of a <Polygon> instance the <Reference Vector> instance specifies its normal, so the <Expression> instances compute the three fields of the normal of a <Polygon> instance.
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 lighthouse's light. The <Spot Light> instance has a <Lobe Data> component describing the shape of the light cone, in which a <Reference Vector> instance specifies the light direction. The SE_REFVEC_LIGHT_DIRECTION <Reference Vector> instance has a <Reference Vector Control Link> component to change the direction vector of the light so that the lighthouse light sweeps over an area rather than holding stationary.
No FAQs supplied.
SE_String | description; | 1 |
---|
SE_Integer_Unsigned | v0_expression_index; | 2 |
---|---|---|
SE_Integer_Unsigned | v1_expression_index; | 3 |
SE_Integer_Unsigned | v2_expression_index; | 4 |
The description field specifies a text description of the purpose of the <Control Link> instance.
The v0_expression_index field specifies which <Expression> component, if any, controls the value of the first array element of the unit_vector field of the affected <Reference Vector> instances. If the value is zero, the value of the first array element of the unit_vector field of those instances is not controlled; otherwise, the value is a one-based index into the ordered aggregation of <Expression> instances.
The v1_expression_index field specifies which <Expression> component, if any, controls the value of the second array element of the unit_vector field of the affected <Reference Vector> instances. If the value is zero, the value of the second array element of the unit_vector field of those instances is not controlled; otherwise, the value is a one-based index into the ordered aggregation of <Expression> instances.
The v2_expression_index field specifies which <Expression> component, if any, controls the value of the third array element of the unit_vector field of the affected <Reference Vector> instances. If the value is zero, the value of the third array element of the unit_vector field of those instances is not controlled; otherwise, the value is a one-based index into the ordered aggregation of <Expression> instances.
|