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