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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2872 - (download) (as text) (annotate)
Thu Feb 26 15:35:28 2015 UTC (4 years, 3 months ago) by jhr
File size: 731 byte(s)
  working on curve-lic code
/*! \file main.c
 *
 * \author John Reppy
 */

/*
 * COPYRIGHT (c) 2015 The Diderot Project (http://diderot-language.cs.uchicago.edu)
 * All rights reserved.
 */

#include "rcast.h"
#include "lic.h"
#include <unistd.h>
#include "teem/air.h"

int main (int argc, char **argv)
{
  // Phase 1: use the RCast library to find the isosurface
    RCAST_World_t *rcWrld = RCAST_Init();

  // nrrd for getting result of raycast phase; values are distance from
  // viewing plane to isosurface.  NaN is used to mark rays that didn't
  // hit the front of the surface
    Nrrd *nDepth = nrrdNew();

  // Phase 2: using the results of Phase 1, perform LIC on
  // the isosurface using the LIC library
    LIC_World_t *licWrld = LIC_Init();

}

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