Junior University. All rights reserved.
Permission to use, copy, modify and distribute this software and its
documentation for any purpose is hereby granted without fee, provided
that the above copyright notice and this permission notice appear in
all copies of this software and that you do not sell the software.
Commercial licensing is available by contacting the author.
THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTY OF ANY KIND,
EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Author:
Phil Lacroute
Computer Systems Laboratory
Electrical Engineering Dept.
Stanford University
$Date: 1994/12/31 19:49:53 $
$Revision: 1.1 $
Macros
.FS <type> -- function start
<type> is return type of function
name and arguments follow on next line
0v
\\$1
8
..
.FA -- function arguments
one argument declaration follows on next line
end of function declaration
..
.DS -- display start
..
vpStoreRawVolume creates a 3D voxel array file. The file includes information about the size of the volume and the layout of the voxels as well as the volume data itself.
vpStoreMinMaxOctree creates a min-max octree file. The file includes information about the size of the volume and the layout of the voxels as well as the octree itself.
vpStoreClassifiedVolume creates a preclassified volume data file. The file includes information about the size of the volume and the layout of the voxels as well as the volume data itself.
vpStoreContext creates a rendering context file. The file includes all rendering parameters except volume data and callback functions. The contents of any lookup tables for shading and classification are also stored.
The function used to write data to the files can be set by calling vpSetCallback with the VP_WRITE_FUNC option. This could be used to implement a file-compression system, for example.