The SEDRIS Data Representation Model
APPENDIX A - Classes Reference Vector Control Link |
---|
An instance of this DRM class is a specialized <Control Link> used to provide the connection between an ordered aggregation of <Expression> instances and the target fields of a <Reference Vector>.
The expr_index_v0 field is a 1-based index into the ordered aggregation of <Expression> instances, and is used to select the specific <Expression> that controls the unit_vector.vector[0] field of the <Reference Vector>.
The expr_index_v1 field is a 1-based index into the ordered aggregation of <Expression> instances, and is used to select the specific <Expression> that controls the unit_vector.vector[1] field of the <Reference Vector>.
The expr_index_v2 field is a 1-based index into the ordered aggregation of <Expression> instances, and is used to select the specific <Expression> that controls the unit_vector.vector[2] field of the <Reference Vector>.
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 | expr_index_v0; | (notes) |
---|---|---|
SE_Integer_Unsigned | expr_index_v1; | (notes) |
SE_Integer_Unsigned | expr_index_v2; | (notes) |
This is a text description of the given <Control Link> instance's purpose.
This value 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.
This value 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.
This value 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.
|