spacer spacer spacer
spacer spacer spacer
spacer
NASA Logo - Jet Propulsion Laboratory    + View the NASA Portal
spacer
JPL Home Earth Solar System Stars & Galaxies Technology
ParVox Parallel Volume Rendering System
ParVox Home ../Images & Animations ParVox Document Download Source PAT Home Section 387 Division 38
spacer
spacer spacer spacer
spacer

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
spacer
spacer spacer spacer
spacer
Privacy / Copyrights FAQ Contact JPL Sitemap
spacer
spacer spacer spacer
spacer
FIRST GOV   NASA Home Page This page, http://pat.jpl.nasa.gov/public/ParVox/API/vlset_spacing.html, is maintained by Peggy Li and was last modified Wednesday, 09-Mar-2005 17:03:29 PST
spacer
spacer spacer spacer
spacer spacer spacer
JPL NASA Caltech