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 | #include "vrip.h" |
---|
23 | #include "BBox3f.h" |
---|
24 | #include "OccGrid.h" |
---|
25 | #include "OccGridRLE.h" |
---|
26 | #include "OccGridNormRLE.h" |
---|
27 | |
---|
28 | OrthoShear *computeShear(vec3f dir); |
---|
29 | BBox3f *getBBox(OccGrid *grid); |
---|
30 | BBox3f *getBBox(OccGridRLE *grid); |
---|
31 | BBox3f *getBBox(OccGridNormRLE *grid); |
---|
32 | BBox3f *getBBoxLinePersp(OccGridRLE *grid, int *numLines); |
---|
33 | BBox3f *getBBoxPersp(OccGridRLE *grid, int *numLines); |
---|
34 | void configureGrid(OccGrid *grid, OrthoShear *shear); |
---|
35 | void configureGrid(OccGridNormRLE **pInGrid, OccGridNormRLE **pOutGrid, |
---|
36 | OrthoShear *shear); |
---|
37 | void configureGrid(OccGridRLE **pInGrid, OccGridRLE **pOutGrid, |
---|
38 | OrthoShear *shear); |
---|
39 | void configureGridLinePersp(OccGridRLE **pInGrid, OccGridRLE **pOutGrid, |
---|
40 | OrthoShear *shear); |
---|
41 | void configureGridPersp(OccGridRLE **pInGrid, OccGridRLE **pOutGrid, |
---|
42 | OrthoShear *shear); |
---|