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

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 fields of one or more <Texture Coordinate> instances.

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

  1. Consider a <Polygon> instance P representing an exterior wall of a building, such that P has an <Image Mapping Function> component that applies a texture to P. Each <Vertex> component Vi of P has a <Texture Coordinate> component TCi.

    Consider an explosion simulated near the building representation of which P is a part, such that there is a state change to the wall from undamged to showing damage from resulting from smoke. The data provider chooses to model this state change by changing the s, t values for each TCi so that the texture applied to P changes from a portion of the referenced <Image> instance representing an undamaged wall to another portion of the same <Image> instance showing damage resulting from smoke.

    This is accomplished by supplying each TCi with a <Texture Coordinate Control Link> component Ki. Each Ki has two <Expression> components, one of which determines the value for the s field value of TCi while the other determines the value for the t field value of TCi.

FAQs

No FAQs supplied.

Constraints

Composed of (two-way) (inherited)

Component of (two-way)

Inherited Field Elements

SE_String description; 1

Field Elements

SE_Integer_Unsigned s_expression_index; 2
SE_Integer_Unsigned t_expression_index; 3

Notes

Fields Notes

description

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

s_expression_index

The s_expression_index field 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; otherwise, the value is a one-based index into the ordered aggregation of <Expression> instances.

t_expression_index

The t_expression_index field 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; otherwise, the value is a one-based index into the ordered aggregation of <Expression> instances.


Prev: Texture Coordinate. Next: Time Constraints Data. Up:Index.

Last updated: July 26, 2006 Copyright © 2006 SEDRIS