The SEDRIS Data Representation Model
APPENDIX A - Classes Reference Vector Control Link |
---|
An instance of this DRM class is a specialized <Control Link> instance used to provide 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> the <Reference Vector> is its normal, so the <Expression>s would compute the 3 fields of the normal of a <Polygon>.
A <Model> of a lighthouse has a <Geometry Model> with a <Union Of Geometry Hierarchy>, to which is attached a <Spot Light> representing the lighthouse's light. The <Spot Light> has a <Lobe Data> describing the shape of the light code, in which a <Reference Vector> specifies the light direction. The SE_REF_VEC_TYP_LIGHT_DIRECTION <Reference Vector> has a <Reference Vector Control Link> 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; | (notes) |
---|
SE_Integer_Unsigned | v0_expr_index; | (notes) |
---|---|---|
SE_Integer_Unsigned | v1_expr_index; | (notes) |
SE_Integer_Unsigned | v2_expr_index; | (notes) |
The description field specifies a text description of the given <Control Link> instance's purpose.
The value of the v0_expr_index field specifies which <Expression> component, if any, controls the unit_vector.vector[0] field value of the affected <Reference Vector> instances. If the value is zero, the unit_vector.vector[0] field of those instances is not controlled; otherwise, the value is a 1-based index into the ordered aggregation of <Expression> instances.
The value of the v1_expr_index field specifies which <Expression> component, if any, controls the unit_vector.vector[1] field value of the affected <Reference Vector> instances. If the value is zero, the unit_vector.vector[1] field of those instances is not controlled; otherwise, the value is a 1-based index into the ordered aggregation of <Expression> instances.
The value of the v2_expr_index field specifies which <Expression> component, if any, controls the unit_vector.vector[2] field value of the affected <Reference Vector> instances. If the value is zero, the unit_vector.vector[2] field of those instances is not controlled; otherwise, the value is a 1-based index into the ordered aggregation of <Expression> instances.
|