Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Annotation of /examples/curve-lic/main.c
ViewVC logotype

Annotation of /examples/curve-lic/main.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2872 - (view) (download) (as text)

1 : jhr 2868 /*! \file main.c
2 :     *
3 :     * \author John Reppy
4 :     */
5 :    
6 :     /*
7 :     * COPYRIGHT (c) 2015 The Diderot Project (http://diderot-language.cs.uchicago.edu)
8 :     * All rights reserved.
9 :     */
10 :    
11 : jhr 2872 #include "rcast.h"
12 :     #include "lic.h"
13 :     #include <unistd.h>
14 :     #include "teem/air.h"
15 :    
16 : jhr 2868 int main (int argc, char **argv)
17 :     {
18 :     // Phase 1: use the RCast library to find the isosurface
19 : jhr 2872 RCAST_World_t *rcWrld = RCAST_Init();
20 : jhr 2868
21 : jhr 2872 // 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 : jhr 2868 // Phase 2: using the results of Phase 1, perform LIC on
27 :     // the isosurface using the LIC library
28 : jhr 2872 LIC_World_t *licWrld = LIC_Init();
29 : jhr 2868
30 :     }

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0