Commit Graph

133 Commits

Author SHA1 Message Date
Sébastien Loriot cb843c839e add a missing return 2016-02-26 15:51:04 +01:00
Andreas Fabri 64a170ae8a one more return 1 2016-02-25 16:55:15 +01:00
Andreas Fabri d238080cc9 return 1 2016-02-25 14:58:24 +01:00
Andreas Fabri 9c1486afa0 check that the input could be read. Remove a license header in an example 2016-02-25 14:39:16 +01:00
Sebastien Loriot 277a91b4f0 Merge pull request #664 from janetournois/Mesh_3-replace_binder2nd-pmoeller
Mesh 3 - Improve Gray level images domain and fix warnings
2016-01-25 08:48:43 +01:00
Sebastien Loriot 2fad9efc1d Merge pull request #633 from bo0ts/Mesh_3-replace_binder2nd-pmoeller
Replace deprecated binder2nd
2016-01-23 09:12:42 +01:00
Jane Tournois 790c4d68aa change default template parameter
in 3D gray images, it's very likely that the area of interest is the area
where voxels have high values associated
2016-01-21 11:46:48 +01:00
Jane Tournois d396c8c869 std::unary_function is deprecated since cpp11
so let's add the missing typedef instead
2016-01-19 16:07:21 +01:00
Jane Tournois c4bf71a5e1 remove binder2nd from the Mesh_3 gray images example 2016-01-19 15:26:42 +01:00
Andreas Fabri 4a55456fee check for the right version of vtk; improve example 2016-01-13 17:12:30 +01:00
Andreas Fabri 1fa552c1cb Explain usage when called without arguments 2016-01-13 16:16:33 +01:00
Andreas Fabri 57ad151cd4 ImageIO no longer depends on VTK
* The non-documented WITH_VTK is no longer supported.
* The function CGAL::Image_3::read_vtk_image_data
  has been replaced by a global function.
* Added Mesh_3/examples/Mesh_3/mesh_3D_gray_vtk_image.cpp
2016-01-13 15:50:54 +01:00
Sébastien Loriot dd955cef30 Merge pull-request #483 from 'janetournois/Mesh_3-gray_level_image_oracle-lrineau'
Mesh 3 : add gray level image oracle
2015-12-18 16:46:46 +01:00
Sébastien Loriot eedee33c44 clean up mesh_3 package directory 2015-11-24 01:15:05 +01:00
Jane Tournois 8ba792f40c add copyright 2015-10-15 10:48:21 +02:00
Jane Tournois e9fc33d6a1 add example data 2015-10-12 10:42:28 +02:00
Jane Tournois 039ddb0e4f Merge branch 'Mesh_3-gray_level_image_oracle-lrineau-old' into Mesh_3-gray_level_image_oracle-lrineau
Conflicts:
	.gitignore
2015-10-12 08:49:52 +01:00
Jane Tournois dc3ceaef68 make message complete 2015-09-08 10:35:45 +02:00
Jane Tournois c9da338be8 move 2 examples that need zlib 2015-09-07 17:27:54 +02:00
Laurent Rineau f9917c487e CMake 2.8.11 2015-07-13 12:36:43 +02:00
Laurent Rineau 3708b2da47 Re-add a file removed by error
This partially reverts commit 842b3bb5b4,
reversing changes made to df76f756d4.

Only the file:

	Mesh_3/examples/Mesh_3/data/liver.inr.gz

is modified (re-added).
2015-07-10 16:04:34 +02:00
Andreas Fabri 842b3bb5b4 static_cast, less typename, fix CMakeLists 2015-07-10 15:03:39 +02:00
Aymeric PELLE 3d37d6abe6 Add two examples for meshing multi domains. Fix some mistakes in the doc. 2014-09-03 16:55:10 +02:00
Laurent Rineau 3deb8e7910 Merge branch 'Mesh_3-compare_index-GF-old' into Mesh_3-compare_index-GF
Create an integration branch for 'Mesh_3-compare_index-GF': a new branch
created from 'master', where I merged the previous version of
'Mesh_3-compare_index-GF'.

There was a conflict with two features recently merged into 'master' for
CGAL-4.5:

- the move of two files from include/CGAL/Mesh_3/ to include/CGAL/. See
  the small feature:
    http://cgal.org/wiki/Features/Small_Features/New_constructor_in_Label_mesh_domain_3_and_new_function_wrapper

- parallelism for Triangulation_3 and Mesh_3:
    http://cgal.org/wiki/Features/Parallel_Mesh_3

Conflicts:
	Combinatorial_map/include/CGAL/Cell_attribute.h
	Mesh_3/include/CGAL/Implicit_mesh_domain_3.h
	Mesh_3/include/CGAL/Labeled_image_mesh_domain_3.h
	Mesh_3/include/CGAL/Mesh_3/Sliver_perturber.h
	Mesh_3/include/CGAL/Polyhedral_mesh_domain_3.h
	Mesh_3/test/Mesh_3/test_meshing_3D_image.cpp
	Mesh_3/test/Mesh_3/test_meshing_polyhedron.cpp
	Mesh_3/test/Mesh_3/test_meshing_polyhedron_with_features.cpp
	Polyhedron/demo/Polyhedron/Polyhedron_type.h
	STL_Extension/include/CGAL/Compact_container.h
	STL_Extension/test/STL_Extension/test_Compact_container.cpp

I also modified the following files during the conflict resolution:

	Linear_cell_complex/include/CGAL/Cell_attribute_with_point.h
	Mesh_3/include/CGAL/Labeled_mesh_domain_3.h
	Mesh_3/include/CGAL/Polyhedral_mesh_domain_with_features_3.h
2014-07-18 15:47:14 +02:00
Clement Jamin dff670f4e3 Remove VERBOSE options 2014-07-07 11:00:41 +02:00
Laurent Rineau 11e9d699db Allow to use TBB with an env variable
For the use of the test suite
2014-07-02 16:03:25 +02:00
Clement Jamin a0948a9dac Remove the "domain" parameter of the exuder
It had been added for the parallel version, but it's not needed anymore
2014-07-01 11:34:40 +02:00
Clement Jamin e3abf7fc40 Merge branch 'Mesh_3-parallel-cjamin-old' into Mesh_3-parallel-cjamin 2014-07-01 10:38:14 +02:00
Clement Jamin 9eb766b039 CONCURRENT_MESH_3 => CGAL_CONCURRENT_MESH_3 2014-06-25 12:53:15 +02:00
Clement Jamin 80e02ba85c We don't need C++11 anymore 2014-06-19 16:59:00 +02:00
Clement Jamin f34a871637 Program_options is not needed by the examples anymore 2014-05-22 19:08:39 +02:00
Clement Jamin 00a3e3691b /wd4503 and /bigobj are now already added by CGAL => useless here 2014-05-20 19:50:39 +02:00
Laurent Rineau cd94d98168 Revert "Revert an incorrect push I did"
This reverts commit 33cb60cc29.
2014-05-07 15:24:25 +02:00
Laurent Rineau 33cb60cc29 Revert an incorrect push I did 2014-05-07 15:18:53 +02:00
Aymeric PELLE 61ddfe3014 FT_to_point_function_wrapper has a new nested type : Point. 2014-04-23 19:50:07 +02:00
Aymeric PELLE a12fe7b728 Some classes are moved from the namespace CGAL::Mesh_3 to the namespace CGAL.
Labeled_mesh_domain_3.
Implicit_to_labeling_function_wrapper.
Implicit_vector_to_labeling_function_wrapper.
Implicit_multi_domain_to_labeling_function_wrapper.
2014-04-16 19:57:21 +02:00
Laurent Rineau bcdfdf5335 Cleanup trailing spaces 2014-04-16 15:42:46 +02:00
Aymeric PELLE 57a709ef09 Fix for windows : Polyline is renamed Polyline_3 in a example. 2014-04-16 13:45:59 +02:00
Aymeric PELLE 30e71be043 Labeled_mesh_domain_3.h and Implicit_to_labeling_function_wrapper are moved.
These files are moved to Mesh_3/include/CGAL/ because they are documented,
so they can be used by users.
2014-04-07 19:12:30 +02:00
Aymeric PELLE 0e9e80b872 Point type is deduced from the ImplicitFunction in the new wrapper.
In Implicit_multi_domain_to_labeling_function_wrapper, the point
type is deduced if ImplicitFunction is a pointer function, else it must
be a nested type of ImplicitFunction.
BGT isn't required anymore for this wrapper.
The constructor of Implicit_multi_domain_to_labeling_function_wrapper taking
only one argument has a new way for auto-making the vector of vector of
positions. In this case, the union of the components equals to the union
of the functions.
2014-03-31 18:42:47 +02:00
Aymeric PELLE c15ff1c19c New implementation of Implicit_multi_domain_to_labeling_function_wrapper.
The user can indicate more precisely which components he wants.
For each component that the user want, he must provide the matching
vector of signs. All these vector of positions must be put in a vector
passed as second parameter to the constructor of that wrapper.
Doc and examples are updated.
2014-03-26 19:02:27 +01:00
Jane Tournois 215b463812 use CGAL::Random* as member variable
it avoids using temporary CGAL::Random(0) that would be deleted
as soon as we get out of the constructor

+ make examples deterministic and tests not (all but test_meshing_determinism)
2014-03-25 17:47:15 +01:00
Aymeric PELLE 31767a8411 Rename ..._labeled_function_wrapper to ..._labeling_function_wrapper.
Implicit_vector_to_labeled_function_wrapper is deprecated.
Examples, tests, docs are updated.
2014-03-25 15:25:42 +01:00
Jane Tournois 7e51ed917f re-introduce non-determinism
by using CGAL::default_random as random generator
2014-03-25 13:16:37 +01:00
Aymeric PELLE 91343af22b Two new examples for illustrating features with Labeled_mesh_domain_3.
An example meshes two intersected cubes.
The other one meshes the two same cubes, but we add some feature edges.
2014-03-20 18:36:48 +01:00
Aymeric PELLE 095f99afb8 Add a new example using Implicit_multi_domain_to_labeled_function_wrapper.
This example shows two domains having points satisfying f(p) < 0.
2014-03-04 18:35:35 +01:00
Clement Jamin 4f7174c0f7 Add comments to examples 2013-12-12 07:29:09 +01:00
Clement Jamin 0270e3f03d Fixes for GCC 2013-09-19 19:48:51 +02:00
Clement Jamin 079c39eef4 Update CMakeLists according to changes in FindTBB 2013-06-28 15:16:49 +02:00
Clement Jamin ba435a9efc Clean-up/corrections in CMakeLists.txt 2013-04-04 18:06:48 +02:00