Commit Graph

216 Commits

Author SHA1 Message Date
Laurent Rineau f17c90018c Add parenthesis so that g++ does not complain about that. 2008-11-17 09:41:33 +00:00
Laurent Rineau afddfdcb23 Fix a warning 2008-11-10 14:37:48 +00:00
Laurent Rineau ec782e7c64 Fix Surface_mesher: remove all references to Singular_edges_allowed_tag,
which is a feature that I will not commit.
2008-10-29 13:42:19 +00:00
Laurent Rineau afa5e5203b Split <CGAL/make_surface_mesh.h> in two
files. <CGAL/Surface_mesher_generator.h> will not be documented. It can be
used to apply rules step be steps.
2008-10-28 17:42:27 +00:00
Laurent Rineau 813e25942d Commit a function that will be soon documented. 2008-10-28 17:34:02 +00:00
Andreas Fabri 9020359238 avoid VC++ warning 2008-10-14 08:27:53 +00:00
Laurent Rineau f4f78646d2 Fix <GL/gl.h> -> <CGAL/gl.h> (the latter is a workaround for Windows and 2008-10-08 11:49:36 +00:00
Laurent Rineau 43cc745311 Commit work of previous days (week-end, yesterday and this morning):
The surface mesher Qt4 demo can now deal with labellized images.
2008-10-07 13:00:59 +00:00
Laurent Rineau 9c8d626c30 Fix a bug in Surface_mesher: one cannot have two constructors for
CGAL::Surface_mesher::Implicit_surface_oracle_3<>.
2008-10-07 08:48:50 +00:00
Laurent Rineau 4028bff30a Multi_label_oracle is dead. 2008-10-03 14:38:24 +00:00
Laurent Rineau 01bcb32cb9 Internal and non documented stuff: gives access to the function object. 2008-10-03 13:58:08 +00:00
Laurent Rineau 201c494728 Remove #error introduced by revision 44887. 2008-09-30 12:50:31 +00:00
Michael Hemmer 28575ad723 rename Real_embeddable_traits::Sign -> Sgn 2008-09-18 16:32:35 +00:00
Sylvain Pion d167660a73 Remove the explicit To_double<> argument to Cartesian_converter<>: the default is fine. 2008-08-27 15:25:39 +00:00
Sylvain Pion c278a43b16 Follow-up of use of Robust_construction. 2008-08-27 15:16:57 +00:00
Sylvain Pion 3526c73a06 Use Robust_construction<>. 2008-08-27 15:11:20 +00:00
Sylvain Pion a76ed463b1 Bool -> bool in comment 2008-08-26 13:25:42 +00:00
Laurent Saboret a9e6b6fdfc Fixed compilation errors (Visual C++ 2005) 2008-08-19 16:00:52 +00:00
Andreas Fabri bb8c3dc397 Put verbose output in an #ifdef 2008-08-12 05:16:07 +00:00
Pierre Alliez 5a97fd3863 removed messages during surface meshing 2008-08-11 18:03:28 +00:00
Laurent Rineau 92e073f1db Add missing include. 2008-08-03 21:54:17 +00:00
Laurent Rineau 12e0e4ecc8 Add the output of remeshing to a new polyhedron. 2008-07-28 19:59:22 +00:00
Sylvain Pion 79864c0c8e Remove Arity_tag. 2008-07-22 12:29:01 +00:00
Laurent Rineau 6579b41282 Fix a segfault in Mesh_3. 2008-06-12 15:37:06 +00:00
Laurent Rineau 5bc7e76e17 Add an assertion, that checks if a facet is in conflict with its refinement
point. It MUST be (otherwise Surface_mesher enters an infinite loop).

If the assertion fails, its "what() string" is a set of debugging
informations.
2008-06-10 14:06:24 +00:00
Laurent Rineau b5bad15aa7 Fix an old nasty bug: the clipping for segment with a sphere was incorrect! 2008-06-09 14:20:14 +00:00
Laurent Rineau 6990082221 - New macro CGAL_SURFACE_MESHER_DEBUG_IMPLICIT_ORACLE
- More debug instructions in <CGAL/Surface_mesher/Implicit_surface_oracle_3.h>
2008-06-09 13:33:37 +00:00
Laurent Rineau e6b1bb3ae2 Put some debugging code between #ifdef/#endif CGAL_SURFACE_MESHER_DEBUG_CRITERIA 2008-06-06 12:28:14 +00:00
Laurent Rineau ddfc10e8e0 Minor changes:
- Add two const& 
  - Let before_insertion_impl in Surface_mesher_manifold and
    Surface_mesher_regular_edges pass its argument of type Facet to the same
    function in the base class.
2008-06-06 12:22:22 +00:00
Laurent Rineau 3702d39202 New parameters, that show the superiority of Surface_mesher over
VTK's marching cube.
2008-05-29 13:45:47 +00:00
Laurent Rineau 271df19d73 - First version of a VTK vtkImageData to vtkPolyData filter: mesh an
iso-value in a 3D image.
2008-05-21 22:16:03 +00:00
Laurent Rineau 4ed2298896 Allow to construct a Gray_level_image_3 from an Image_3. 2008-05-21 22:11:03 +00:00
Laurent Rineau c79aacdc8c Fix the error "error: 'number_of_facets_on_surface' was not declared in
this scope" in <CGAL/IO/Complex_2_in_triangulation_3_file_writer.h>.
2008-05-21 16:08:27 +00:00
Laurent Rineau abf246366d - add constness to facets_begin()/facets_end() in c2t3,
- add more VTK support: output a c2t3 to a vtkPolyData
- add a demo that shows the ability to display a c2t3 in a VTK viewer.
2008-05-20 11:51:10 +00:00
Laurent Rineau 7002346ca2 Minor change: add a missing const&. 2008-05-12 20:45:09 +00:00
Laurent Rineau 63b39ef1be Quick fix for Mesh_3. is_in_volumes() only affects Mesh_3 2008-05-12 20:43:54 +00:00
Laurent Rineau cab2554766 Minor commit: add a few "const" or "const&". 2008-04-29 13:51:29 +00:00
Laurent Rineau f677dd435d - Commit 43053 was not really a fix for the "set_on_surface" problem.
- Some piece of meta-programming was needed, actually.
  p.set_on_surface(...) is now called only if the type Point has a
  Set_on_surface nested type.
2008-04-29 13:50:11 +00:00
Laurent Rineau 4e4f937188 - Tags in cells now use std::bitset instead of the home-made bitset.
- New tag: is_bad (to reduce the number of calls to Double_map::erase)
2008-04-29 08:57:30 +00:00
Laurent Rineau 38ebdc41f2 Fix the set_on_surface problem: the present of a tag is tested. 2008-04-29 08:53:50 +00:00
Laurent Rineau 1a55b0a8e3 - Add calls to CGAL::Profiler
- No longer test the Gabriel criteria for facets.
2008-04-28 13:02:10 +00:00
Laurent Rineau 6e2224ccf3 Moved to Mesh_2/include/CGAL/Meshes/. 2008-04-25 12:14:32 +00:00
Laurent Rineau 22629c62b3 New directory Mesh_2/include/CGAL/Meshes/ that aggregates several
non documented files that are common to Mesh_2, Mesh_3 and Surface_mesher.
2008-04-21 16:07:38 +00:00
Laurent Rineau 9fa4761d86 CGAL::Image_3 is no longer a class template.
New parameter value_outside, with default = 0.f

That class should be removed in CGAL-3.4, as soon as a better oracle exists
for 3D images.
2008-04-16 12:36:02 +00:00
Sylvain Pion 1b79e6c94d Use CGAL::midpoint() instead of redoing the computation. 2008-04-11 16:11:47 +00:00
Laurent Rineau 09a919365f Move most of Gray_level_image_3 to a new class <CGAL/Image_3.h>. 2008-04-08 08:59:13 +00:00
Laurent Rineau c6fa89e93c Do not export File_writer_OFF comments to OFF files. 2008-04-08 08:55:43 +00:00
Laurent Rineau 1dccc80b79 Fix the testsuite temporarily, before I break everything again. 2008-04-01 12:55:59 +00:00
Laurent Rineau 00ced538b1 Modifications of C2T3:
- add a lot of comments arround the face status.
- use explicit variable names in union find, instead of 'i' and 'j'
- add a is_valid() function, that checks that the facets markers are the
  same from both sides, and that the real number of marked facets is
  conform to the cached number (used in the Slivers_exuder),
2008-03-13 22:13:30 +00:00
Laurent Rineau b60a86e0c7 - Fix a missing header: <stack>)
- Activate now by default the version of output_surface_facets_to_off()
  that orients the surface.
2008-03-11 15:11:54 +00:00