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 _OCC_FUNC_ |
---|
23 | #define _OCC_FUNC_ |
---|
24 | |
---|
25 | #include "vrip.h" |
---|
26 | #include "Linear.h" |
---|
27 | |
---|
28 | void initOccFunc(); |
---|
29 | void updateCell(float cellDepth, float rangeDepth, float sampleSpacing, |
---|
30 | float rangeConfidence, OccElement *cell); |
---|
31 | void updateCellForCarving(float cellDepth, float rangeDepth, |
---|
32 | float sampleSpacing, |
---|
33 | float rangeConfidence, OccElement *cell); |
---|
34 | |
---|
35 | void updateCell(float cellDepth, float rangeDepth, Vec3f &norm, |
---|
36 | float sampleSpacing, float rangeConfidence, |
---|
37 | OccNormElement *cell); |
---|
38 | void updateCellForCarving(float cellDepth, float rangeDepth, |
---|
39 | float sampleSpacing, |
---|
40 | float rangeConfidence, |
---|
41 | OccNormElement *cell); |
---|
42 | |
---|
43 | void updateCellBiasEdgesEmpty(float cellDepth, float rangeDepth, |
---|
44 | float sampleSpacing, |
---|
45 | float rangeConfidence, |
---|
46 | float edgeConfidence, |
---|
47 | OccElement *cell); |
---|
48 | |
---|
49 | #endif |
---|