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

SCM Repository

[diderot] View of /branches/vis12/doc/report/api.tex
ViewVC logotype

View of /branches/vis12/doc/report/api.tex

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1804 - (download) (as text) (annotate)
Fri Apr 6 14:06:17 2012 UTC (10 years, 1 month ago) by jhr
File size: 695 byte(s)
  Added chapter for interface
%!TEX root = report.tex

\chapter{Interfacing to a Diderot program}

The Diderot compiler has two modes of operation.
By default, it produces an object file that can be linked into a user's program, but one can
also use the ``\texttt{--exec}'' command-line option to generate a standalone executable.
In this chapter, we describe the interface to a Diderot program in both of these modes.

\section{The Library API}

% namespace
% structure of header file
% world creation
% initializing inputs; descriptions; defaults
% initializing globals
% running the program
% getting outputs
% shutdown

\section{Standalone executables}

% inputs map to command-line options
% outputs map to nrrd files

ViewVC Help
Powered by ViewVC 1.0.0