00001 /* LIBGUL - Geometry Utility Library
00002 * Copyright (C) 1998-1999 Norbert Irmer
00003 *
00004 * This library is free software; you can redistribute it and/or
00005 * modify it under the terms of the GNU Library General Public
00006 * License as published by the Free Software Foundation; either
00007 * version 2 of the License, or (at your option) any later version.
00008 *
00009 * This library is distributed in the hope that it will be useful,
00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
00012 * Library General Public License for more details.
00013 *
00014 * You should have received a copy of the GNU Library General Public
00015 * License along with this library; if not, write to the
00016 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00017 * Boston, MA 02111-1307, USA.
00018 */
00019
00020
00021 #ifndef GUGE_MARCHCUBE_H
00022 #define GUGE_MARCHCUBE_H
00023
00024 namespace guge {
00025
00026 using gul::Ptr;
00027 using gul::point;
00028
00029 template< class T >
00030 GULAPI void MarchingCube(
00031 T x0,
00032 T y0,
00033 T z0,
00034 T dx,
00035 T dy,
00036 T dz,
00037 int nx,
00038 int ny,
00039 int nz,
00040 Ptr< Ptr< Ptr<T> > > F,
00041 void (*trifunc)(
00042 const bool,
00043 const point<T> *, const point<T> *, const point<T> *,
00044 const point<T> *, const point<T> *, const point<T> *, void *),
00045 void *tridata
00046 );
00047
00048 }
00049
00050 #endif
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001