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

vlmeta_environ


NAME

    vlmeta_environ  - ParVox environment structure.

SYNOPSIS

    #include <vlmeta.h>


DESCRIPTION

    Vlmeta_environ is a typedef struct defined as:

    typedef struct
    {
        short	num_vars;          /* number of variables per voxel */
    
        filters filter_type;
        int     width, height;     /* output frame size */
        int     file_type;
        char    outputfile[80];
        int     hippiID;
    
        vlplight light[VL_MAX_LIGHTS];
        vlpmaterial material[VL_MAX_VARS];
        
        short block_per_pe,
              block_idim,
              block_jdim,
              block_kdim;

        short num_colormap,
              num_opacitymap;
        short map[VL_MAX_VARS][2];  /* index to the colormap and 
                                       opacity map tables */

	/* colormap table pointers */ 
        uchar colormap[VL_MAX_MAPS][MAX_CMAP_SIZE];

        /* opacity map pointers */
        float opacity[VL_MAX_MAPS][MAX_OPAC_SIZE];
        
        vlcolor nodata_color;
    
        float translate[2];
        float scale[3];
        float trans_matrix[16];
    
        short num_iso[VL_MAX_VARS];   /* number of isosurfaces per variable */
        vlsurface surface[VL_MAX_VARS][VL_MAX_SURFS];
    
        short num_slice[VL_MAX_VARS]; /* number of slices per variable */
        vlslice slices[VL_MAX_VARS][VL_MAX_SLICES];
    } vlmeta_environ;

    This structure is usually filled out by the GUI xmparvox and then stored to a NetCDF ParVox environment file. The information stored in ParVox environment files can be retrieved via vlmget_environ calls. The environment file and the vlmeta_environ structure information is used by GUI to restore a previous state, or by batch rendering programs to render large number of timesteps using an environment selected via the GUI.


SEE ALSO

    vlmget_env, vlmput_env, ParVox Tutorial: Input Data Format
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/vlmeta_environ.html, is maintained by Peggy Li and was last modified Wednesday, 09-Mar-2005 16:46:28 PST
spacer
spacer spacer spacer
spacer spacer spacer
JPL NASA Caltech