The SEDRIS Data Representation Model
APPENDIX A - Classes
Reference Vector Control Link

Class Name: Reference Vector Control Link

Superclass - <Control Link>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

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.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

  1. 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>.

  2. 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.

FAQs

No FAQs supplied.

Constraints

Composed of (two-way) (inherited)

Component of (two-way)

Inherited Field Elements

SE_String description; (notes)

Field Elements

SE_Integer_Unsigned v0_expr_index; (notes)
SE_Integer_Unsigned v1_expr_index; (notes)
SE_Integer_Unsigned v2_expr_index; (notes)

Notes

Fields Notes


description

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

v0_expr_index

 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.

v1_expr_index

 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.

v2_expr_index

 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.

Prev: Reference Vector. Next: Regular Axis. Up:Index.

Last updated: July 16, 2004 Copyright © 2004 SEDRIS