Synopsis
get/set the transformation matrix (xform) associated with a Field
INTEGER FLDFget_xform (field, xform)
INTEGER field(OIDSIZ)
REAL xform(16)
INTEGER FLDFset_xform (
INTEGER field(OIDSIZ)
REAL xform(16)
Description
These routines get/set the transformation matrix (DefaultXform xform) associated with a field.
You use this routine whenever it is important to establish the orientation of the field in space. Thus, it is generally used in modules that use probing objects to sample a field (for both the probe and the field), or in orthoslice where it is important that the output 2D slice is oriented along the X, Y, or Z axis that was extracted.
Parameters
field
The integer of a field containing an xform.
xform(16)
In FLDFget_xform, xform is a float array, sized [4][4] or [16], in which the transformation matrix is returned.
In FLDFset_xform, xform is a float array from which the transformation matrix is copied.