Revision: 32957 http://brlcad.svn.sourceforge.net/brlcad/?rev=32957&view=rev Author: brlcad Date: 2008-10-14 16:25:33 +0000 (Tue, 14 Oct 2008)
Log Message: ----------- dumb me. add the frelling gcv.h interface header and unbreak the build Modified Paths: -------------- brlcad/trunk/include/Makefile.am Added Paths: ----------- brlcad/trunk/include/gcv.h Modified: brlcad/trunk/include/Makefile.am =================================================================== --- brlcad/trunk/include/Makefile.am 2008-10-14 15:17:07 UTC (rev 32956) +++ brlcad/trunk/include/Makefile.am 2008-10-14 16:25:33 UTC (rev 32957) @@ -43,6 +43,7 @@ fb.h \ fbio.h \ fbserv_obj.h \ + gcv.h \ libtermio.h \ light.h \ mater.h \ Added: brlcad/trunk/include/gcv.h =================================================================== --- brlcad/trunk/include/gcv.h (rev 0) +++ brlcad/trunk/include/gcv.h 2008-10-14 16:25:33 UTC (rev 32957) @@ -0,0 +1,76 @@ +/* G C V . H + * BRL-CAD + * + * Copyright (c) 2008 United States Government as represented by + * the U.S. Army Research Laboratory. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public License + * version 2.1 as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this file; see the file named COPYING for more + * information. + */ +/** @file ged.h + * + * Functions provided by the LIBGCV geometry conversion library. + * + */ + +#ifndef __GCV_H__ +#define __GCV_H__ + +#include "raytrace.h" + +__BEGIN_DECLS + +#ifndef GCV_EXPORT +# if defined(_WIN32) && !defined(__CYGWIN__) && defined(BRLCAD_DLL) +# ifdef GCV_EXPORT_DLL +# define GCV_EXPORT __declspec(dllexport) +# else +# define GCV_EXPORT __declspec(dllimport) +# endif +# else +# define GCV_EXPORT +# endif +#endif + + +/** + * G C V _ R E G I O N _ E N D + * + * Usually specified as the db_walk_tree() region_end callback, + * calling this routine for each positive region encountered. + * + * The client_data parameter is expected to be a function pointer for + * a routine that will write out the region in a given file format: + * [EMAIL PROTECTED] +void (*write_region)(struct nmgregion *r, struct db_full_path *pathp, int region_id, int material_id, float color[3]); [EMAIL PROTECTED] + * + * This routine must be prepared to run in parallel. + */ +GCV_EXPORT BU_EXTERN(union tree *gcv_region_end, (struct db_tree_state *tsp, struct db_full_path *pathp, union tree *curtree, genptr_t client_data)); + + +__END_DECLS + +#endif /* __GED_H__ */ + +/* + * Local Variables: + * tab-width: 8 + * mode: C + * indent-tabs-mode: t + * c-file-style: "stroustrup" + * End: + * ex: shiftwidth=4 tabstop=8 + */ Property changes on: brlcad/trunk/include/gcv.h ___________________________________________________________________ Added: svn:mime-type + text/plain Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits