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
Laurent Rineau
5075e30cc5
Fix the color association.
...
Points are still indexed by int, but surfaces are now indexed
by a "const QTreeWidgetItem*"! :-)
2008-02-05 23:44:08 +00:00
Laurent Rineau
16e98803c1
Can now use Surface_mesher with multi-domains.
...
In the demo, one can define a list of iso-values.
2008-02-05 14:46:17 +00:00
Laurent Rineau
ba1ef9944b
First step to a multi-label oracle: make Implicit_surface_oracle_3 do not
...
depend on the type CGAL::Sign.
2008-01-29 10:14:27 +00:00
Laurent Rineau
eafc8f0d11
include/CGAL/ImageIO.h is now back in CGAL
2008-01-28 14:55:52 +00:00
Laurent Rineau
d682c43451
Add two files needed by new features of revision r41873: they are model of
...
a new concept of point, that stores:
- the lowest dimension of all psc elements that contain it,
- the index of the psc elements of lowest dimension that contains it.
Two files:
include/CGAL/Point_with_psc_localisation.h
include/CGAL/Weighted_point_with_psc_localisation.h
with bvious names: one is for Delaunay triangulations, and the other is for
regular triangulations.
2008-01-28 14:13:52 +00:00
Laurent Rineau
83171e4fd8
Deprecated files, never used. They were commited in revision 41880 in order to be backuped in the svn repository.
2008-01-28 13:59:19 +00:00
Laurent Rineau
5c3567e15f
Temporarily commit deprecated files.
...
They are about to be removed (in revision 41881 actually).
That commit is only for those files to be stored on the subversion
repository (in the history).
2008-01-28 13:58:16 +00:00
Laurent Rineau
ef6d4c019d
- edges and facets are now taggued with the index of the PSC element of
...
lower dimension that contains them,
- the oracle sets tags in points as well,
- the edges default criteria can now enforce that an edge must have its two
end points on the same curved edge,
- new facets criteria to enforce a facet to have its three vertices on the
same surface patch.
- The surface is now pass by const reference to the oracle (that was one
reason of the poor performances of the polyhedral oracle!).
ALL THAT CODE WILL NEED A FULL REVIEW BEFORE CGAL-3.4.
2008-01-28 09:38:18 +00:00
Laurent Rineau
8533dd1589
Change in Surface_mesher::Standard_criteria include/CGAL/Surface_mesher/Standard_criteria.h :
...
If a criteria bound is 0, then the criteria is always fullfilled (instead of never fullfilled).
2008-01-28 09:24:02 +00:00
Laurent Rineau
0b5e91875f
Fix compilation with g++-4.3.
2008-01-28 08:57:07 +00:00
Laurent Rineau
af1ada7aa1
Use object_cast instead of assign (see revision 40902, 40923, 41482 also).
2008-01-25 15:42:51 +00:00
Laurent Rineau
e4e8a9e7d7
Use Triangulation_cell_base_with_circumcenter_3 in the default triangulation for Surface_mesher
2008-01-25 09:18:30 +00:00
Laurent Rineau
42f222c01c
- Fix an old and minor bug (from revisions 38635+38306 in a branch, the bug
...
was merged in trunk at revision 38638). The image data should be
deallocated, now.
Actually, that bug exists since the begin of Gray_level_image_3
(CGAL-3.2). I thought I fixed it with revision 38306, but I failed to
correctly fix it.
- Add the possibility to define the interior of the object by f(x)>0,
instead of f(x)>0. That will be superseeded very soon.
2008-01-24 13:25:16 +00:00
Laurent Rineau
ece2b056d4
Fix compilation error, when CGAL_SURFACE_MESHER_DEBUG_INITIAL_POINTS is
...
defined.
I forgot that change in revision 41482.
2008-01-24 12:54:18 +00:00
Sylvain Pion
8ebd675cf9
Fix protect macro name, it was clashing with another file.
2008-01-14 21:31:05 +00:00
Laurent Rineau
4b2bc78fc4
- use object_cast instead of assign
...
- add the typedef Intersection_point, to fix the testsuite.
2008-01-09 10:35:49 +00:00
Laurent Rineau
9bbe7ad8fb
- Use SurfaceMeshTraits::Intersection_point, as the point type embeded in
...
the CGAL::Object that is returned by the mesh traits (aka the oracle).
- Use object_cast instead of assign, everywhere.
- Do not ask the oracle about degenerate dual segments.
- Remove more warnings about unused variables (when NDEBUG is defined).
2007-11-18 14:19:48 +00:00
Laurent Rineau
3edae701c3
oups, the Polyhedral_oracle return Kernel::Point_3 as intersection object
2007-11-14 12:56:06 +00:00
Laurent Rineau
a7bdd984c3
cosmetic
2007-11-14 12:17:17 +00:00
Laurent Rineau
a1fc5c762e
add a missing method in Enriched_facet
2007-11-14 12:16:54 +00:00
Laurent Rineau
07e4eacee3
updated enriched polyhedron
2007-11-14 11:07:10 +00:00
Laurent Rineau
f8e6dc3740
updated version
2007-11-14 11:03:18 +00:00
Laurent Rineau
5aab4f8ab7
commit Pierre files, maybe temporarily
2007-11-14 11:02:04 +00:00