int lktranspose (
kobject src_obj,
int *norder,
kobject dst_obj)
The norder_map array is a set of five integers that can have one of the following values: KWIDTH KHEIGHT KDEPTH KTIME KELEMENTS
Each dimension can only be mapped to once.
norder[0] defines where the WIDTH dimension of the source object will be mapped to in the destination object. norder[1] defines where the HEIGHT dimension of the source object will be mapped to in the destination object. norder[2] defines where the DEPTH dimension of the source object will be mapped to in the destination object. norder[3] defines where the TIME dimension of the source object will be mapped to in the destination object. norder[4] defines where the ELEMENTS dimension of the source object will be mapped to in the destination object.
This routine is similar to the lkorient routine, except that dimensions can not be combined in the mapping. It is also significantly faster than the lkorient routine.
If the source object has map data, the map data cannot have depth, time, or elements dimensions of greater than one. The map width and height dimensions can be any size.
If the source object has rectilinear or curvilinear location or time data, lktranspose will fail. If the source object has uniform location data, lktranspose will continue, but the location data will not be modified to reflect the reorientation.
If the object has mask data, it will be transposed along with the value data.
lktranspose will fail if the source object does not contain value data.
none
none
$DATAMANIP/objects/library/kdatamanip/src/lktranspose.c