Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

XVOL-MIRROR-VOXELS-DIAGONALLY

source files: xvol.[ch]

SYNTAX

(XVOL-MIRROR-VOXELS-DIAGONALLY
    :VOXELS <grl:voxels>
  [ :AXIS <fix:axis0> ]
  [ :AXIS <fix:axis1> ]
)

DESCRIPTION

'voxels' should be either a rank-three CLASS-16-BIT-FLOAT-ARRAY or else a graphic relation holding such an array, named :INTENSITY.

'axis0' should be an integer in [0,2]. 'axis1' should be an integer in [0,2]. 'axis0' should differ from 'axis1'.

If axis1 is not specified, it defaults to (axis0+1) mod 3.

This function simply performs a reflection around a diagonal bisecting the given two axes such that the meaning of the two given dimensions is effectively interchanged. The given two dimensions must be of the same size.

Note: A diagonal reflection followed by a linear reflection accomplishes a ninety-degree rotation. Since this sequence is faster than a single recursive voxel rotation, no separate ninety-degree rotation operator is implemented.


Go to the first, previous, next, last section, table of contents.