The SEDRIS Data Representation Model
APPENDIX A - Classes
Texture Coordinate Control Link

Class Name: Texture Coordinate Control Link

Superclass - <Control Link>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

The specialized <Control Link> used to provide the connection between an ordered aggregation of <Expressions> and the target fields of a <Texture Coordinate>.

The s_expr_index field is 1-based index into the ordered aggregation of <Expressions>, and is used to select the specific <Expression> that controls the value of <Texture Coordinate>'s s field.

The t_expr_index field is 1-based index into the ordered aggregation of <Expressions>, and is used to select the specific <Expression> that controls the value of <Texture Coordinate>'s t field.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

  1. Consider a <Polygon> representing an exterior wall of a building. If an explosion is simulated near this building representation, the data provider may choose to model the state change by changing the <Texture Coordinate> s, t values of the <Polygon>'s <Vertex> components so that the texture applied to the <Polygon> changes from one portion of the referenced <Image>, representing an undamaged wall, to another portion of the same <Image>, showing damage resulting from smoke.

FAQs

No FAQs supplied.

Constraints

None.

Composed of (two-way)(inherited)

Component of (two-way)

Inherited Field Elements

SE_String description; (notes)

Field Elements

SE_Integer_Unsigned s_expr_index; (notes)
SE_Integer_Unsigned t_expr_index; (notes)

Notes

Fields Notes


description

 This is a text description of the given <Control Link>
 instance's purpose.

s_expr_index

 This specifies which <Expression> component controls the s
 field value of the affected <Texture Coordinate> instance(s).
 If this value is zero, the s field values of those instances
 are not controlled.

t_expr_index

 This specifies which <Expression> component controls the t
 field value of the affected <Texture Coordinate> instance(s).
 If this value is zero, the t field values of those instances
 are not controlled.

Prev: Texture Coordinate. Next: Texture Coordinate Entry. Up:Index.

Last updated: May 15, 2003 Copyright © 2003 SEDRIS™