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_opmap


NAME

    vlset_opmap -  Set the opacity map of a given variable

SYNOPSIS

    #include <parvox.h>

    void vlset_opmap(vlvolume *vol, vlvariable *variable, float *omap


DESCRIPTION

    vlset_opmap() sets variable->opmapptr to omap which is a pointer pointing to an array of 256 floating values in the range of 0.0 to 1.0.   If variable->colormapptr is set (by vlset_colormap()), vlset_opmap() multiples the opacity values to the corresponding color values in the colormap and stores the results in variable->colormap.   The opacity map has to be set for direct volume rendering; it doesn't matter whether vlset_render_type() or vlset_opmap() is called first. 

SEE ALSO

    vlset_render_type, vlset_colormap


 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_opmap.html, is maintained by Peggy Li and was last modified Wednesday, 09-Mar-2005 16:58:50 PST
spacer
spacer spacer spacer
spacer spacer spacer
JPL NASA Caltech