 |
vlset_spacing
NAME
vlset_spacing - Set the relative space
resolution of the volume
SYNOPSIS
#include <parvox.h>
void vlset_spacing(vlvolume *volume, float
ispace, float jspace, float kspace)
DESCRIPTION
vlset_spacing()
set the relative space resolution in i, j, k dimensions to (ispace,
jspace,
kspace)
for a given volume pointed by volume.
By default, each voxel in the volume is assumed to be a unit cube, i.e.,
equal size on each of the three dimensions. vlset_spacing()
changes the voxel shape to be a rectangular prism with the length of each
dimension to be ispace,
jspace,
and kspace,
respectively. Setting the spacing has equivalent effect as scaling
while rendering, but spacing is a characteristics of the volume itself
and the information is stored in the NetCDF header. vlset_spacing()
is called explicitly by vlread_block().
SEE ALSO
vlread_block,
vlscale
BACK TO INDEX
|
 |