VOL_TRANS Function
Standard Library routine that returns a 3D volume of data transformed by a 4-by-4 matrix.
Usage
result = VOL_TRANS(volume, dim, trans)
Input Parameters
volume—The 3D volume of data to transform.
dim—A scalar value specifying the x, y, and z dimensions of the transformed volume to return. Normally, dim is the largest of the three dimensions of the original volume. Generally, the original volume should “fit” inside the transformed volume.
trans—The 4-by-4 transformation matrix to use for the transformation. trans is often the system viewing transformation matrix !P.T. (For more information, see the PV‑WAVE User Guide.)
Returned Value
result—A 3D volume of data transformed by a 4-by-4 matrix.
Keywords
None.
Discussion
The returned volume is scaled into the range of bytes. For best results, the volume to transform should first be processed using the VOL_PAD function. For more information, see the PV‑WAVE User Guide.
Examples
See the Examples sections of the VOL_MARKER Procedure and VOL_REND Function.
For another example, see the vol_demo4 demonstration program in:
<wavedir>/demo/arl
<wavedir>\demo\arl
Where <wavedir> is the main PV-WAVE directory.