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_voxel4d


NAME

    vlmeta_voxel4d  - ParVox voxel data structure.

SYNOPSIS

    #include <vlmeta.h>


DESCRIPTION

    Vlmeta_voxel4d is a typedef struct defined as:

typedef struct
{
    short idim, jdim, kdim;     /* volume size (width, length, depth) */
    short num_vars;             /* number of variables per voxel */
    vlpoint spacing;		/* "gap" sizes between data points */
    short byte_per_voxel;       /* byte per voxel:
                                     1 == char
                                     2 == short
                                     4 == float
                                     8 == double  */
    short time_tag;             /* a positive integer for time tag */

    float range[VL_MAX_VARS][2];        /* valid data value range:
                                           range[][0] = min;
                                           range[][1] = max;
                                           first index is the var number */
    char var_name[VL_MAX_VARS][MAX_VAR_NAME];   /* name of variables */
    float nodata[VL_MAX_VARS];  /* value when there is no data available */
    void *voxel_data;           /* pointer to voxel data block */
} vlmeta_voxel4d;

    To create a NetCDF ParVox data file, the user should fill in the vlmeta_voxel4d structure with the information related to the data and then place the data in a memory block pointed to by the voxel_data structure member. The user then calls vlmput_voxel4d to write the data into a ParVox voxel file in NetCDF format.


SEE ALSO

    vlmget_voxel4d, vlmput_voxel4d, 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_voxel4d.html, is maintained by Peggy Li and was last modified Wednesday, 09-Mar-2005 16:47:54 PST
spacer
spacer spacer spacer
spacer spacer spacer
JPL NASA Caltech