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 3349 - (download) (as text) (annotate)
Tue Oct 27 15:16:36 2015 UTC (6 years, 8 months ago) by jhr
File size: 784 byte(s)
making copyrights consistent for all code in the repository
/*! \file main.c
 * \author John Reppy

 * This code is part of the Diderot Project (http://diderot-language.cs.uchicago.edu)
 * COPYRIGHT (c) 2015 The University of Chicago
 * 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();


ViewVC Help
Powered by ViewVC 1.0.0