source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/vrippack-0.31/src/march/var.h @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 1.3 KB
Line 
1/*
2
3Name:         var.h
4
5Coded:        Paul Ning
6
7Modified by:  Brian Curless
8              Computer Graphics Laboratory
9              Stanford University
10
11Comment:      Global variables.
12
13
14Copyright (1997) The Board of Trustees of the Leland Stanford Junior
15University. Except for commercial resale, lease, license or other
16commercial transactions, permission is hereby given to use, copy,
17modify this software for academic purposes only.  No part of this
18software or any derivatives thereof may be used in the production of
19computer models for resale or for use in a commercial
20product. STANFORD MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND
21CONCERNING THIS SOFTWARE.  No support is implied or provided.
22
23*/
24
25
26#include "OccGridRLE.h"
27#include "limits.h"
28
29/*
30 * File variables
31 */
32char infile[PATH_MAX], outfile[PATH_MAX];
33FILE *InSlice,*OutMCFile;
34int FirstSliceFileNumber;
35int WriteNormals;
36int UseValueWeightProduct;
37int SaveGradientAsConfidence;
38
39/*
40 * Data Set Dimensions
41 */
42int Nx,Ny,Nz;
43float dx,dy,dz;
44
45/*
46 * Scale factors
47 */
48float FtoSScale;
49float NrmMagScale;
50
51/*
52 * Surface Specs
53 */
54int i0,j_0,k0;
55int i1,j_1,k1;
56float threshold;
57float xstart,ystart,zstart;
58int TotalTriangles;
59
60/*
61 * The edge table
62 */
63EdgeTableEntry TheEdgeTable[256];
64
65int OCC_CONF_THRESHOLD;
66
67OccGridRLE *occGrid;
Note: See TracBrowser for help on using the repository browser.