volhdr_edit.C File Reference

Load a vol voxel file and write it out in some other format. More...

#include <cassert>
#include <cstdlib>
#include <cstdio>
#include <iostream>
#include <iomanip>
#include <fstream>
#include <string>
#include <vector>
#include "VolHeader.H"
#include "volhdr_edit_cmd.h"
#include "debug.H"
#include <sys/types.h>
#include <sys/stat.h>

Functions

bool FileCopy (FILE *in, FILE *out, const size_t len)
 using fread and fwrite, copy a file from in to out
bool AppendFile (FILE *out, const string filename)
 Add a file on to the end of an existing FILE that we have open.
int main (int argc, char *argv[])

Variables

int debug_level
 The main program needs to define this as a non-extern.
static const UNUSED char * RCSid = "@(#) $Id: volhdr_edit.C,v 1.6 2004/11/03 00:42:36 schwehr Exp $"
 Let the debugger find out which version is being used.


Detailed Description

Load a vol voxel file and write it out in some other format.


Function Documentation

bool AppendFile FILE *  out,
const string  filename
 

Add a file on to the end of an existing FILE that we have open.

Parameters:
out FILE that has been opened with fopen (filename,"wb")
filename Name of the file to tack on the end of out
Returns:
false if something bad happened

bool FileCopy FILE *  in,
FILE *  out,
const size_t  len
 

using fread and fwrite, copy a file from in to out

int main int  argc,
char *  argv[]
 


Variable Documentation

int debug_level
 

The main program needs to define this as a non-extern.

const UNUSED char* RCSid = "@(#) $Id: volhdr_edit.C,v 1.6 2004/11/03 00:42:36 schwehr Exp $" [static]
 

Let the debugger find out which version is being used.


Generated on Thu Mar 2 17:55:25 2006 for density by  doxygen 1.4.6