SCM Repository
Diff of /examples/curve-lic/main.c
Parent Directory
|
Revision Log
|
Patch
revision 2868, Thu Feb 12 16:00:39 2015 UTC | revision 2872, Thu Feb 26 15:35:28 2015 UTC | |
---|---|---|
# | Line 8 | Line 8 |
8 | * All rights reserved. | * All rights reserved. |
9 | */ | */ |
10 | ||
11 | #include "rcast.h" | |
12 | #include "lic.h" | |
13 | #include <unistd.h> | |
14 | #include "teem/air.h" | |
15 | ||
16 | int main (int argc, char **argv) | int main (int argc, char **argv) |
17 | { | { |
18 | // Phase 1: use the RCast library to find the isosurface | // Phase 1: use the RCast library to find the isosurface |
19 | RCAST_World_t *rcWrld = RCAST_Init(); | |
20 | ||
21 | // nrrd for getting result of raycast phase; values are distance from | |
22 | // viewing plane to isosurface. NaN is used to mark rays that didn't | |
23 | // hit the front of the surface | |
24 | Nrrd *nDepth = nrrdNew(); | |
25 | ||
26 | // Phase 2: using the results of Phase 1, perform LIC on | // Phase 2: using the results of Phase 1, perform LIC on |
27 | // the isosurface using the LIC library | // the isosurface using the LIC library |
28 | LIC_World_t *licWrld = LIC_Init(); | |
29 | ||
30 | } | } |
|
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |