GDDM V3R2 Base Application Programming Reference
|
Previous topic |
Next topic |
Contents |
Index |
Contact z/OS |
Library |
PDF |
BOOK
Model transform GDDM V3R2 Base Application Programming Reference SC33-0868-02 |
|||||||||||||||||||||||||||||||||||||||||||
The Model Transform order is a transformation matrix.
Note: A segment transformation is defined by a matrix | M11 M12 M13 M14 | | M21 M22 M23 M24 | M = | | | M31 M32 M33 M34 | | M41 M42 M43 M44 | | | which is applied to primitives p to give p' as follows:
(x',y',z',1) = (x,y,z,1).M
The GDF order defines the matrix elements in the order
M11,M12,...,M14,M21,...,M44
This differs from the GSSTFM call, which specifies the matrix elements in
the order
M11,M21,M31,M12,...,M33
The MASK field identifies those elements of the transformation defined by
the MATRIX field. The bits within MASK correspond to, in order, elements
M11,M12,...,M14,M21,...M44
of the transformation. The values provided in MATRIX correspond, in
order, to those elements of the transformation identified by bits set to 1
within MASK. All uninitialized values within the transformation matrix
are set from the identity transformation.
Only elements M11, M12, M21, M22, M41, and M42 are processed by GDDM. All other elements must be zero or one (as in the identity matrix). The transformation elements may be specified in one-byte, two-byte, or four-byte form, corresponding to the data type GDF coordinates. The fixed-point representation of the matrix elements is: M41, M42 are twos complement numbers (8-bit or 16-bit). Elements M11, M12, M21, and M22 are twos complement numbers in the following form:
SB.bb bbbb (bbbb bbbb)
|
Copyright IBM Corporation 1990, 2012 |