Commit Graph

286 Commits

Author SHA1 Message Date
Laurent Rineau 418d827071 Remove the enum Debug_flag from Surface_mesher (conflicts with VC++ macros). 2007-03-20 14:41:50 +00:00
Laurent Rineau 9e1dd1fee9 Gray_level_image_3 objects are copy-constructed a lot of time, during the
execution of the Surface_mesher algorithm.  I do not know how to deal with
the destruction of *image. Maybe a smart pointer. We need to bench. I delay
that until somebody really need to have that memory leak fixed.
2007-03-20 14:27:13 +00:00
Laurent Rineau 814a039ead Double free => I comment the _freeImage call. 2007-03-18 21:04:42 +00:00
Laurent Rineau 73c07dece1 - add a missing destructor for Gray_level_image_3.
- add an undocumented static function print_supported_file_format()
2007-03-15 11:13:03 +00:00
Laurent Rineau 94ad821c3c *** empty log message *** 2007-03-15 11:04:36 +00:00
Laurent Rineau 2cd5da66e7 New tool: test_imageio.cpp.
Without parameter: displays supported image file formats
  With a parameter: displays informations about the file, if supported.

(reminder: demo/Surface_mesher/ is not submitted).
2007-03-15 11:01:53 +00:00
Laurent Rineau a9c8fdf162 Fix warnings about unreachable "break"s. 2007-03-14 23:29:49 +00:00
Laurent Rineau fb4521d8df Repare this dont_submit'ed test. 2007-03-12 16:37:05 +00:00
Laurent Rineau bd1ec0d7f0 update of a dont_submit'ed file: GNUmakefile 2007-03-12 15:09:38 +00:00
Sylvain Pion b2630cd7e1 Apply trailing whites-spaces and leadgin+trailing empty-lines cleanups
to demo/**/*.h and .cpp.
2007-03-10 16:55:12 +00:00
Sylvain Pion ffe1e4ec1c More redundant filename removal.
The only survivors should be under Arrangement_2/examples
(some Doxygen syntax is used, so I don't touch them).
2007-03-10 15:22:41 +00:00
Sylvain Pion c4fcbbad46 Split CGALimageIO from Surface_mesher (different license, etc.). 2007-03-07 11:00:59 +00:00
Laurent Rineau e2362eb655 Remove mincio.cpp: its code is surronded by a #ifdef and it produces no
symbol.
2007-03-02 08:00:45 +00:00
Laurent Rineau e9196b3173 quick fix for a bug found by gcc-4.3 2007-03-01 10:04:27 +00:00
Laurent Rineau a8ff9d304f ImageIO is now a CGAL library. Fix the makefile.
Reminder: demo/Surface_mesher is in dont_submit. It only tests
non-documented features, and may rely on headers that are not in CGAL (such
as the package Data_structure_for_query_3).
2007-03-01 09:59:33 +00:00
Laurent Rineau 035da295a4 commit several things that change only debug outputs, or the polyhedral oracle 2007-02-28 18:22:28 +00:00
Laurent Rineau 75935083c1 move examples/Surface_mesher/inputs (which was "dont_submitted") to demo. 2007-02-28 18:19:49 +00:00
Laurent Rineau 82e942be8a - Move examples/Surface_mesher/ImageIO/data/skull_2.9.inr.gz to
examples/Surface_mesher/data/, and unzip it to avoid the need of zlib.

  I cannot just use CGAL_USE_ZLIB in
  examples/Surface_mesher/mesh_a_3d_gray_image.cpp because the example is
  included in the documentation.
2007-02-28 18:17:30 +00:00
Laurent Rineau 674157e90d - CGALimageIO cleanup: finish to (re)move things from
examples/Surface_mesher/ImageIO/ to src/CGALimageIO/. It means:
    - remove examples/Surface_mesher/ImageIO/imageio.mk
    - add src/CGALimageIO/LICENSE
- fix a warning
2007-02-28 18:14:24 +00:00
Laurent Rineau 7f6f7cb654 add a teaser 2007-02-26 19:11:12 +00:00
Laurent Rineau 8862a968af - fix ADDITIONNAL->ADDITIONAL
- fix flags for Core and CGALQt shared libraries
- add $(CUSTOM_LDFLAGS) to $(CGAL_SHARED_LIB_LDFLAGS)
- move a few flags from $(CGAL_CGAL_LDFLAGS) to $(CGAL_LDFLAGS), so that
  $(CGAL_CGAL_LDFLAGS) only contains -lCGAL (or the equivalent for other
  compilers).
2007-02-23 00:07:51 +00:00
Laurent Rineau ca7f173838 - Add cxx flags, libpath flags and linker flags, by features, in
$CGAL_MAKEFILE.
- Fix shared libraries makefile that need to be linked with third libraries.
2007-02-16 23:00:26 +00:00
Laurent Rineau 36636d49b5 - Continue factorization between libraries' makefiles,
- install_cgal cleanup.
2007-02-16 21:00:37 +00:00
Laurent Rineau 349d29a80c Fix two typos and a linker bug (extern "C"). 2007-02-16 19:18:00 +00:00
Laurent Rineau 86307ba0e2 Fix libCGALimageIO, so that <CGAL/Gray_level_image_3.h> compiles. 2007-02-16 18:59:35 +00:00
Laurent Rineau 50ed188182 fix the file "maintainer" 2007-02-15 15:34:35 +00:00
Laurent Rineau b326aad03b add the file "maintainer" 2007-02-15 15:33:23 +00:00
Laurent Rineau e55e35a3e0 Move ImageIO.h into src/CGALimageIO/. We need to define a licence for src/CGALimageIO! 2007-02-15 14:50:41 +00:00
Laurent Rineau 4c484412e4 (Followup to revision 36164.)
"Everybody was dreaming of this commit log:
 - factorization of makefiles for libCGAL, libCGALimageIO, libCore, and
 libBenchmark.
 - SONAMEs for everybody."
Add:
 - fix platforms without SONAME,
 - unify Benchmark/src/Benchmark/makefile with other makefiles.
2007-02-09 23:33:22 +00:00
Laurent Rineau 6fa698ad67 Everybody was dreaming of this commit log:
- factorization of makefiles for libCGAL, libCGALimageIO, libCore, and
 libBenchmark.
 - SONAMEs for everybody.
2007-02-09 22:29:15 +00:00
Laurent Rineau 8a5a52a9ce Need "-I.". 2007-02-02 16:23:03 +00:00
Laurent Rineau 3ea9291ee3 rename everything from .c to .cpp 2007-02-02 16:11:48 +00:00
Laurent Rineau 37e000fc86 Remove the .c rule.
Rename everything to .cpp
2007-02-02 16:11:17 +00:00
Laurent Rineau 6c6cbdcb1c The commit that will break everthing:
- New library: libCGALimageIO
- make shared libraries for CORE, and Benchmark.
2007-02-02 16:10:06 +00:00
Laurent Rineau 60417ed9be Fix the testsuite: add a cin file for combined_spheres.
Question: why was this bug not detected sooner?! :-S
2007-02-01 09:05:11 +00:00
Sylvain Pion 65a4d64c34 Does not bring anything compared to the default generated one. 2007-01-27 17:53:14 +00:00
Laurent Rineau 24e6b1a4f3 Fix a doc bug. 2007-01-15 14:08:13 +00:00
Andreas Fabri c7eac65c2d Help VC++ to match a function 2006-09-27 19:52:28 +00:00
Andreas Fabri 02d2373e83 Help VC++ to match by adding the namespace scope 2006-09-21 08:05:59 +00:00
Laurent Rineau d3dca6fd3c fix ifndef/define macro names 2006-09-13 14:35:27 +00:00
Laurent Rineau 105623d430 - massive fix of const-correctness in Surface_mesher, Mesh_3,
Head_mesher dans Data_structure_for_queries_3.
  (A nice feature of C++ is that, when you need to add *one* const
   somewhere, then you have to fix const-correctness of all the World!)
2006-09-13 14:22:41 +00:00
Laurent Rineau 66b7d8b7f9 - massive fix of const-correctness in Surface_mesher, Mesh_3 and
Head_mesher.
  (A nice feature of C++ is that, when you need to add *one* const
   somewhere, then you have to fix const-correctness of all the World!)
2006-09-13 13:31:45 +00:00
Laurent Rineau a4093cb563 It was a bad idea to rely on ADL! 2006-09-13 13:25:18 +00:00
Laurent Rineau 007eeef2a7 use Robust_circumcenter_traits_3<K> by default, in
Surface_mesh_default_triangulation_3
2006-08-10 16:10:58 +00:00
Laurent Rineau fa0c4fdb11 - in demo/Surface_mesher:
- merge parameters.* with the Mesh_3 version,
   - use <CGAL/Surface_mesh_default_triangulation_3.h>
   - new polyhedron_remesher.cpp
2006-08-10 16:09:55 +00:00
Laurent Rineau be5ac4b19e make make_surface_mesh() take the surface by reference, to avoid copies. 2006-08-10 16:04:54 +00:00
Laurent Rineau 782ca4aad2 ** In DS_for_queries_3:
- added a public member function
       Bbox bbox() const;
     to Data_structure_using_octree_3<>.
   - fix several bad coding patterns, in Data_structure_using_octree_3.h
   - fix the header of Data_structure_using_octree_3.h
   - trivial destructor for Constrained_Element, to delete the "type"
   member.
** In Surface_mesher:
   - added a public member function
       Bbox bbox() const;
     to Polyhedral_surface_3<>.
2006-08-10 16:00:25 +00:00
Laurent Rineau 920187ecc6 cleaning 2006-08-09 16:09:43 +00:00
Laurent Rineau 23b7d4e311 - documentation of Surface_mesh_default_triangulation_3
- big cleaning of examples/Surface_mesher/
2006-08-09 13:57:34 +00:00
Andreas Meyer b454b3febd manual cleanup:
* .C ---> .cpp
* removed ../examples from paths
* moved some demo/example files out of doc_tex into their respective place
* now it should build properly, again
2006-08-07 16:43:09 +00:00