1 | /* |
---|
2 | |
---|
3 | Brian Curless |
---|
4 | |
---|
5 | Computer Graphics Laboratory |
---|
6 | Stanford University |
---|
7 | |
---|
8 | --------------------------------------------------------------------- |
---|
9 | |
---|
10 | Copyright (1997) The Board of Trustees of the Leland Stanford Junior |
---|
11 | University. Except for commercial resale, lease, license or other |
---|
12 | commercial transactions, permission is hereby given to use, copy, |
---|
13 | modify this software for academic purposes only. No part of this |
---|
14 | software or any derivatives thereof may be used in the production of |
---|
15 | computer models for resale or for use in a commercial |
---|
16 | product. STANFORD MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND |
---|
17 | CONCERNING THIS SOFTWARE. No support is implied or provided. |
---|
18 | |
---|
19 | */ |
---|
20 | |
---|
21 | |
---|
22 | #ifndef _VRIP_GLOBALS_ |
---|
23 | #define _VRIP_GLOBALS_ |
---|
24 | |
---|
25 | #include "Linear.h" |
---|
26 | #include "OccGrid.h" |
---|
27 | #include "OccGridRLE.h" |
---|
28 | #include "OccGridNormRLE.h" |
---|
29 | #include "DepthMap.h" |
---|
30 | |
---|
31 | |
---|
32 | extern float LASER_LINE_DIR_X; |
---|
33 | extern float LASER_LINE_DIR_Y; |
---|
34 | extern float LASER_LINE_DIR_Z; |
---|
35 | |
---|
36 | extern float LASER_LINE_AT_T0_X; |
---|
37 | extern float LASER_LINE_AT_T0_Y; |
---|
38 | extern float LASER_LINE_AT_T0_Z; |
---|
39 | |
---|
40 | extern int UsePerspectiveDir; |
---|
41 | extern Vec3f PerspectiveCOP; |
---|
42 | extern Vec3f PerspectiveDir; |
---|
43 | |
---|
44 | extern int SuperQuiet; |
---|
45 | extern int Verbose; |
---|
46 | extern int Warn; |
---|
47 | extern int Quiet; |
---|
48 | extern int MeshResolution; |
---|
49 | extern int UseTails; |
---|
50 | extern int TailsOnly; |
---|
51 | extern int FillGaps; |
---|
52 | extern int FillBackground; |
---|
53 | extern int DoSilhouette; |
---|
54 | extern int ShowNormals; |
---|
55 | extern int ShowConfSlice; |
---|
56 | extern int ShowValueWeight; |
---|
57 | extern int OneLineAtATime; |
---|
58 | extern int MaxStepsToEdge; |
---|
59 | extern float EdgeLength; |
---|
60 | extern int EdgeExtensionSamples; |
---|
61 | extern float EdgeExtensionAngle; |
---|
62 | extern unsigned char ConfidenceBias; |
---|
63 | extern float MinViewDot; |
---|
64 | extern float MaxEdgeLength; |
---|
65 | extern uchar MinColor; |
---|
66 | extern float ConfidenceExponent; |
---|
67 | extern float EdgeConfExponent; |
---|
68 | extern float MinVertexConfidence; |
---|
69 | extern unsigned char MinWeight; |
---|
70 | extern int EdgeConfSteps; |
---|
71 | extern int UseEdgeLength; |
---|
72 | extern unsigned char MinEdgeConfidence; |
---|
73 | extern float OccupancyRampWidth; |
---|
74 | extern float WeightPos1; |
---|
75 | extern float WeightPos2; |
---|
76 | extern float WeightPos3; |
---|
77 | extern float WeightPos4; |
---|
78 | extern float WeightPos5; |
---|
79 | |
---|
80 | |
---|
81 | extern OccGrid *theGrid; |
---|
82 | extern OccGridRLE *backRLEGrid; |
---|
83 | extern OccGridRLE *frontRLEGrid; |
---|
84 | extern OccGridNormRLE *backRLEGridNorm; |
---|
85 | extern OccGridNormRLE *frontRLEGridNorm; |
---|
86 | extern DepthMap *theDepthMap; |
---|
87 | |
---|
88 | extern float D1, D2, M_VALUE, B_VALUE; |
---|
89 | extern float C1, C2, C3, C4, C5; |
---|
90 | extern float M_WEIGHT_1, M_WEIGHT_2, B_WEIGHT_1, B_WEIGHT_2; |
---|
91 | extern float MAX_STRETCH; |
---|
92 | extern float MAX_DEPTH_DIFFERENCE; |
---|
93 | |
---|
94 | extern float MergeTime; |
---|
95 | extern float TesselationTime; |
---|
96 | extern float ResampleRangeTime; |
---|
97 | |
---|
98 | #endif |
---|
99 | |
---|