Commit Graph

259 Commits

Author SHA1 Message Date
Laurent Rineau 8f59fd9592 Turn QPL into LGPLv3+ 2012-01-13 16:33:35 +00:00
Laurent Rineau c7ca93c07e Include <CGAL/glu.h> before any use of GLU 2011-11-09 14:24:17 +00:00
Laurent Rineau 3c02e07b23 Try to fix my last revision about cmake_policy, with CMake-2.6.x
CMake gives an error if one tries to use cmake_policy(VERSION x.y.z) if
x.y.z is greater than the current CMake version.
2011-04-28 17:45:22 +00:00
Laurent Rineau c97205f085 Global handling of CMake policies (second part)
We declare 
  cmake_minimum_required(VERSION 2.6.2)
but we also use
  cmake_policy(VERSION 2.8.4)
to declare that our CMake scripts are OK with all the defaults of CMake policies
as of CMake-2.8.4. That shuts down the warnings of CMake-2.8.4.

That way, we no longer need any declaration of specific policies.

Those two lines must be present and maintained in all our CMakeLists.txt
files (the one for the libraries, and also the one for examples and demos,
and maybe tests).
2011-04-28 10:55:56 +00:00
Laurent Rineau ca5c92e034 Global maintenance of CMakeLists.txt: CMake minimal version is -2.6.2
The documentation of CGAL says that the minimal version of CMake must be
CMake-2.6.2.
  - change cmake_minimum_required to VERSION 2.6.2
  - no longer any need for the policy CMP0003 (was for 2.4.x)
  - no longer any need for CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS (was for 2.4)
2011-04-27 17:58:27 +00:00
Laurent Rineau 5bbfa93958 Update the CMakeLists.txt to our modern CMake scripts. 2010-09-01 16:27:38 +00:00
Laurent Rineau 7606b93406 Merge last unmerged revision from the branch CGAL-3.7-branch:
| ------------------------------------------------------------------------
  | r57979 | lrineau | 2010-08-11 15:24:20 +0200 (Wed, 11 Aug 2010) | 1 line
  | 
  | Global fix of all uses of qt4_generate_moc: the destination file path must be absolute.
  | ------------------------------------------------------------------------
  | r58026 | stayeb | 2010-08-12 17:40:41 +0200 (Thu, 12 Aug 2010) | 2 lines
  | 
  | Bug fix: ensure that c3t3 contains no in complex cell when starting a new refinement process. We need this because the first refinement of the surface does not update the volume, so c3t3 can't know that in complex cells have been deleted.
  | 
  | ------------------------------------------------------------------------

(That shows it is difficult to avoid to merge the release branch in the
trunk from time to time.)
2010-08-20 13:09:22 +00:00
Laurent Rineau 2dd6a8aaa7 Bug fix: the drop event's url was not interpreted correctly. 2010-08-13 14:31:14 +00:00
Laurent Rineau af3ad196a0 Global fix of all uses of qt4_generate_moc: the destination file path must be absolute. 2010-08-11 13:24:20 +00:00
Laurent Rineau 07c73ca08d Remove no-longer-used GNUmakefile (and deps) 2009-08-20 13:58:10 +00:00
Laurent Rineau 1feb69798a Remove no-longer-used GNUmakefile 2009-08-20 13:54:25 +00:00
Laurent Rineau 7b133846ee Merge from branch 3.4:
r47645 | lrineau | 2009-01-05 15:30:29 +0100 (Mon 05 Jan 2009) | 2 lines

Typo, that should have been detected as a syntax error by CMake!
2009-01-05 14:31:40 +00:00
Fernando Cacciola 24f08fc681 Added demos to the demos target 2008-12-18 17:29:36 +00:00
Laurent Rineau dceeeb30f9 Fix out-of-sources builds. 2008-12-18 16:48:16 +00:00
Laurent Rineau b3d32d823f Connect the checkbox "Search for seeds" to real code. 2008-12-16 13:20:55 +00:00
Laurent Rineau 69d5084b68 Remove the minSize box, which is not used. 2008-12-16 13:20:36 +00:00
Laurent Rineau a5e4a1abe3 Rename the windows title 2008-12-08 18:02:46 +00:00
Laurent Rineau c5e22df3a6 Mark Surface_mesher options as advanced variables.
Make SURFACE_MESH_DEMO_WITH_POLYHEDRAL_SURFACE exists only in trunk.
2008-12-08 15:02:48 +00:00
Laurent Rineau d3bc238f68 Better precision for the bissection 2008-12-05 14:33:17 +00:00
Laurent Rineau 8083c12f19 Allow to setup small bounds using the QDoubleSpinBox. 2008-12-05 13:14:48 +00:00
Laurent Rineau 46b70b7c25 Fix again FindQGLViewer.cmake so that it deals with debug and release
libraries, even on Linux where only the release one exists.

Rename QGLVIEWER_LIBRARY to QGLVIEWER_LIBRARIES (-IES), to mimic other
CMake packages.
2008-11-27 15:20:46 +00:00
Laurent Rineau dcb070d5a5 Remove QUIET. 2008-11-19 13:19:44 +00:00
Laurent Rineau 3853df98b2 - UI improvement.
- Allow the trilinear interpolation of labellized volumes.
- Allow to export the current image to Inrimage (useful for VTK images,
  for example).
2008-11-17 13:57:16 +00:00
Fernando Cacciola 547bffecd9 Put CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS in the right place for cmake 2.4 2008-11-06 13:03:41 +00:00
Laurent Rineau 6042bbb30d I prefer to use the comment in endif 2008-11-06 10:44:03 +00:00
Laurent Rineau d66f036d90 Remove unneeded stuff in binary_image.h.
Add a return at the end, to fix a false warning.
2008-11-05 14:57:41 +00:00
Fernando Cacciola 70fa9503fd Added CMP0003 policy 2008-11-04 12:30:29 +00:00
Laurent Rineau b388c950bc s/REQUIRED/QUIET/ 2008-11-04 07:54:12 +00:00
Laurent Rineau 155d9cf95d Fix a compilation error if VTK is not used, and a warning. 2008-11-02 22:41:07 +00:00
Laurent Rineau 0f369d1833 The call to removeChild() is not mandatory, delete is sufficient.
What is more, removeChild() is Qt>4.3 only.
2008-11-02 18:21:41 +00:00
Laurent Rineau ad1cdbf375 Move demo/Surface_mesher/qt4-demo/* to demo/Surface_mesher/ 2008-10-31 10:03:21 +00:00
Laurent Rineau fa9adbd571 - Better UI.
- CMake's conditional use of the marching cube code.
- Use Surface_mesher_generator instead of make_surface_mesh().
- Better drawing of multi-label surface meshes.
2008-10-30 19:50:35 +00:00
Laurent Rineau 6ffa82a645 Fix a warning by reordering the members initialization. 2008-10-30 19:47:02 +00:00
Laurent Rineau d308260818 Use new trilinear interpolation. 2008-10-30 19:46:27 +00:00
Laurent Rineau 25dd0f25fc Fix bug when one open a series of surfaces. 2008-10-28 17:40:51 +00:00
Laurent Rineau 3c08d33011 Improvement of the Raw image dialog (now displays the size of the image, as
defined by the dialog, and displays also the file size, to compare).
2008-10-21 12:52:44 +00:00
Laurent Rineau 37b4b17b3f Modification of the UI: widgets are now dockable. 2008-10-17 14:35:00 +00:00
Laurent Rineau 39de4b75ea Fix the "busy cursor". 2008-10-17 14:34:12 +00:00
Laurent Rineau ae40a2453a Fix loading of iso-values (from stored settings): one need to clean the
list first
2008-10-17 14:33:34 +00:00
Laurent Rineau 20441cbe74 - Refactor the UI: the meshing toolbar has been simplified, and criteria in
the right widget, with other criteria (manifold...).
- Save image settings for the multilabel case.
- polyhedral surface support is now optional.
- The main window store and restore its state.
2008-10-16 17:05:35 +00:00
Laurent Rineau eda733b064 suppress a debug message 2008-10-08 14:30:46 +00:00
Laurent Rineau e72e4a7adc Use <CGAL/glu.h> instead of <GL/glu.h>. 2008-10-08 13:39:41 +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 ae7b171c32 Remove old file. CMake is now the default build system. 2008-10-06 16:11:51 +00:00
Laurent Rineau f4e2c1a781 Fix for recent internal releases (CGAL::Triple no longer exists). 2008-10-03 12:53:22 +00:00
Andreas Fabri 6336c37b0b Removed trailing backslash and commented VTK 2008-08-12 04:31:58 +00:00
Laurent Rineau bddc948bd3 Add recent files. 2008-07-30 18:33:27 +00:00
Laurent Rineau 6d6a0e1fe1 Disable open_xt if VTK is not present. 2008-07-30 13:10:14 +00:00
Laurent Rineau 1468c26496 Add support for loading 3D images using the "XT" format (an old Inrimage
format, 1994).
2008-07-30 12:10:59 +00:00
Laurent Rineau 766ebc992e Add anti-aliasing to the Surface Mesh Generator Qt4 demo. 2008-07-30 12:06:56 +00:00
Laurent Rineau cbe39ea0ac Ajout de About CGAL... Depend on libCGALQt4 (from GraphicsView). 2008-07-30 12:05:07 +00:00
Laurent Rineau df2465c246 "6." as bounding sphere radius is not enough.
"8." is ok.
2008-06-10 14:00:33 +00:00
Laurent Rineau 4ce571e608 Add a file replay-tangle, similar to the one in examples/Mesh_3/. 2008-06-06 12:59:23 +00:00
Laurent Rineau 6ee0f91fb6 Better handling of initial points, in demo/Surface_mesher/implicit_surface_mesher.cpp 2008-06-06 11:56:58 +00:00
Laurent Rineau 2570a6cdf3 Cosmetic change:
- in the status bar, the display of number of facets and CPU time is made
  permanent.
2008-06-06 11:43:50 +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 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
Fernando Cacciola f93437ca22 Removed *unmodified* auto-generated CMakeLists.txt (now created by create_internal_release) 2008-05-05 14:01:55 +00:00
Laurent Rineau b9f40d28cb Fix typo: "public" is needed. 2008-04-29 13:47:17 +00:00
Laurent Rineau 7d97ac5e36 Fix a minor bug, that led to a segfault when the list of isovalue was
modified just after the computation of a mesh.
2008-04-25 12:24:09 +00:00
Laurent Rineau 7152aa1967 - Add ../../../Mesh_2/include in the include path.
- Add QUIET to find_package(VTK). I hope it will make a failure silent.
- Add an optional support for Boost.Bimap.
2008-04-25 12:13:13 +00:00
Laurent Rineau 2f41a7a9db Surface_mesher applications should always use
CGAL::Triangulation_cell_base_with_circumcenter_3!
2008-04-25 09:41:55 +00:00
Laurent Rineau f01ec419ad - New feature: one can open a "dicom directory" and use it as a volumic
image (internally VTK's classes are used).
- Simplification of the code using the "show_only_in" feature.
- binary_image is now derived from CGAL::Image_3
2008-04-18 10:15:22 +00:00
Laurent Rineau 0695cbd2ce New feature of MainWindow: allows to conditionnaly hide some QActions,
depending on the value of a dynamic property "show_only_in".
2008-04-18 09:09:38 +00:00
Laurent Rineau f7d18fc7f6 Remove convert_inr_to_float.cpp which is useless since CGALimageIO
trilinear_interpolation can operate on any word type.
2008-04-17 10:38:27 +00:00
Laurent Rineau 451039a260 Move the tweaks that add -I and -L at the beginning of the file, so that
those -I and -L are added at the beginning of the command line.
2008-04-10 14:30:28 +00:00
Laurent Rineau 1a1957880d Commit new feature: export to OFF file. 2008-04-08 08:54:01 +00:00
Laurent Rineau 0941c06a02 Commit new feature: export to OFF file. 2008-04-08 08:53:50 +00:00
Laurent Rineau 970fa068c2 Commit new feature: export to OFF file. 2008-04-08 08:53:41 +00:00
Laurent Rineau e21fcc0f3c Commit new feature: export to OFF file. 2008-04-08 08:53:36 +00:00
Laurent Rineau 0c0a28cf2b Commit new feature: export to OFF file. 2008-04-08 08:53:32 +00:00
Laurent Rineau 774ed639ba Commit new feature: export to OFF file. 2008-04-08 08:53:24 +00:00
Laurent Rineau 320f06ab31 Commit new feature: export to OFF file. 2008-04-08 08:53:16 +00:00
Laurent Rineau 3973614fc5 Fixed CMakeLists.txt:
- include ${CGAL_USE_FILE} before searching for dependencies,
  - do link with CGALQt (because I use Qt4).
2008-04-08 08:48:12 +00:00
Laurent Rineau ac02b48cf3 New algorithm to search for initial points. Now, for every connected
component in the image, one start a breadth-first search initialized with
all voxels of the border of the connected component. The last voxel found
by that BFS is choosen as a kind of center of the connected component, from
which one throws several rays.
2008-04-04 13:08:08 +00:00
Laurent Rineau 2e6719c0d3 move test_imageio.cpp from demo/Surface_mesher to examples/CGALimageIO 2008-03-27 11:20:25 +00:00
Laurent Rineau ec8144e63f ImageIO.h in know in CGAL. 2008-03-27 10:47:19 +00:00
Fernando Cacciola b704509dcf Examples/Demos/Test CMake scripts updated 2008-03-05 21:14:02 +00:00
Laurent Rineau cfa07dd583 - Use OpenGL display lists for all drawings: for each isovalue, there is
one display list for the surface mesher result, and two for the marching
  cubes results (one with Gouraud shading and one without).

- One can now choose the color of triangulation edges (with the whole
  triangulation is drawn).

- Redraw the OpenGL widget each time something in the isovalues list has
  changed.
2008-02-18 10:13:11 +00:00
Laurent Rineau fcb312991d CGAL libraries names have changed again. Update the file CMakeLists.txt
accordingly.
2008-02-18 10:09:58 +00:00
Fernando Cacciola a659cd852a Added project() and conditional test for CGAL_DIR 2008-02-14 15:42:36 +00:00
Fernando Cacciola 1d2a1a9536 Fixed setting of CMAKE_MODULE_PATH 2008-02-11 23:01:45 +00:00
Andreas Fabri 11520d085d Change file extension of image files that can be loaded 2008-02-08 20:25:19 +00:00
Fernando Cacciola 14043c43a0 Replaced CGALROOT by CGAL_DIR (the latters is used by CMake automatically) 2008-02-08 17:47:21 +00:00
Laurent Rineau 2e47cfb56d Fix the use of the CMake variable ${OPENGL_glu_LIBRARY}. Use ${} instead of $(). 2008-02-08 13:42:55 +00:00
Laurent Rineau 7d164d3ada Add also the GLU library to dependancies. 2008-02-08 13:36:39 +00:00
Laurent Rineau 204f4c7af2 Add OpenGL to needed libraries. 2008-02-08 13:30:22 +00:00
Andreas Fabri 5e5ec3fbf8 min/max workaround 2008-02-08 12:43:59 +00:00
Laurent Rineau b9c508fe11 Remove polyhedral_surface.cpp from the sources. 2008-02-08 09:37:13 +00:00
Laurent Rineau f71c9a8276 Remove the use of "get_polyhedral_surface.h", to make the demo compile
without the octree.
2008-02-08 09:34:58 +00:00
Laurent Rineau 292cae8670 Bug fix: make MarchingCube's Gouraud display show all surfaces, and not only the last one. 2008-02-07 18:57:19 +00:00
Laurent Rineau a2598556fe first use of a display list 2008-02-07 18:31:03 +00:00
Laurent Rineau e31d045128 - MarchingCube is now templated with the data type. It means that it now
internaly stores a Data_type[] array, instead of a double[] array. When
  Data_type==char, it uses the 8th of the memory! For a 3D images of 182MB
  (the "colon" image), that saves 1.2GB.
  As a side effect, MarchingCubes.cpp is renamed to MarchingCubes_impl.h
  (because it is now a template class).
- Use MarchingCube.set_ext_data, so that the 3D image and the MarchingCube
  object share the same (unsigned char*) array. That saves again a lot of
  memory.
- call MarchingCube::clean_temps *before* copying its result in the demo's
  internal structures.

My laptop with 2GB RAM can now call the marching cubes algorithm on the
colon 3D image. It uses 2.8GB of virtual memory, which is just below the
limit of 3GB (Linux's limit on x86 machines)!
2008-02-07 16:32:31 +00:00
Laurent Rineau 88ebeaa284 Code simplification: no longer use parent->findChild to find widgets and
actions, now that MainWindow derives from its Ui class.
2008-02-07 15:59:46 +00:00
Laurent Rineau c9a5f0da31 Make MainWindow derive publicly from the Ui::MainWindow class.
That allows to find pointers to widgets and actions far more easily.
2008-02-07 15:58:53 +00:00
Laurent Rineau 88a56b4dbc new option, that allows to display the whole triangulation 2008-02-07 12:25:31 +00:00
Laurent Rineau 06058e4a07 fix the cmake file: wrong use of qt4_add_resources() 2008-02-07 12:23:27 +00:00
Fernando Cacciola afddfc4fca CMake scripts for demos/examples/test added 2008-02-06 19:06:24 +00:00
Laurent Rineau 917c809baf Switch to cmake. Updated CMakeFiles.txt.
It works. I compiled CGAL using:
  cmake . -DCMAKE_INSTALL_PREFIX=$HOME/CGAL/CGAL-3.4-I -DWITH_CGALimageIO=TRUE
  make install
Then I compile the demo using:
  cmake -DCMAKE_MODULE_PATH=/home/lrineau/CGAL/CGAL-3.4-I/cmake/modules/cmake/modules -DCMAKE_VERBOSE_MAKEFILE=TRUE -DCGAL_INCLUDE_DIR=/home/lrineau/CGAL/CGAL-3.4-I/include -DCMAKE_CXX_COMPILER==g++
That is currently quite complicated. Need to work with Fernando to enhance the usability.
2008-02-06 13:24:41 +00:00
Laurent Rineau 3da0c8c405 - More complete delegate, to trigger signals when isovalues or colors are
changed.
- The new delegate also uses as editor for isovalues a QLineEdit with a
  QDoubleValidator, instead of a QDoubleSpinBox.
2008-02-06 01:32:50 +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 977e2f40f7 Fix crash when running the marching cubes algorithm twice. 2008-01-29 08:36:57 +00:00
Laurent Rineau 4254ee1aa9 Reorganization of files locations 2008-01-29 08:36:25 +00:00
Laurent Rineau aca32d5d92 Obsoleted. 2008-01-28 14:59:50 +00:00
Laurent Rineau 869012b326 commit an already obsoleted file, for the records 2008-01-28 14:59:25 +00:00
Laurent Rineau ac8ca3e364 Minor update: one enum was not displayed correctly. 2008-01-28 13:29:18 +00:00
Fernando Cacciola 125b7389a6 QGLViewer library dependency fixed 2008-01-25 21:51:38 +00:00
Fernando Cacciola 77a1f235cb Added CMake scripts for the Qt4 demo 2008-01-25 20:21:58 +00:00
Laurent Rineau 68fda9aa11 - draw marching cubes directly from its internal representation, instead of
copying into another vector,
- add an option to display (or not) the triangles edges,
- add an option to display the maching cubes with Gouraud shading, using
  the computed normals.
2008-01-25 15:25:29 +00:00
Laurent Rineau 9b9e7ea100 add missing icons 2008-01-25 08:54:57 +00:00
Laurent Rineau dae01cea38 new checkable icon auto-resize (that can be unchecked to disable the feature) 2008-01-25 08:27:25 +00:00
Laurent Rineau c3c7825d24 Backup the new version of the demo.
One now can mesh 3d images with it.
2008-01-24 16:16:26 +00:00
Sylvain Pion 838dab23ab Add missing #include <cassert> . 2008-01-20 19:13:05 +00:00
Sylvain Pion 50ed4bb632 Use <cstdlib> and <cstdio> consistently instead of <stdio.h> and <stdlib.h>. 2008-01-18 20:33:57 +00:00
Sylvain Pion 5402050020 Include <cassert> instead of <assert.h> everywhere, for consistency. 2008-01-18 19:58:49 +00:00
Laurent Rineau 17f31c2423 Commit small reorganization of the code, before the addition of volumes (3D
images).
2008-01-17 10:26:22 +00:00
Laurent Rineau 473eae4562 - option to display the edges octree (icon with a red cube),
- split polyhedral_surface.h into polyhedral_surface.h and
  polyhedral_surface.cpp (and removal of get_polyhedral_surface.cpp),
- fix qt4-demo.pro: use a qt feature file "cgal.prf", generated from
  Makefile.make_CGAL_prf (using $CGAL_MAKEFILE).
2008-01-09 16:23:17 +00:00
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Laurent Rineau 1c985577b2 Quick backup. Sorry, no comment. 2007-11-05 15:07:07 +00:00
Laurent Rineau 681862491a update, more OpenGL stuff 2007-11-02 14:00:38 +00:00
Laurent Rineau a1adf21b0b New version of the Surface_mesher Qt-4 demo.
Added piece-wise smooth subdivision, thanks to Pierre Alliez
2007-10-25 16:18:07 +00:00
Laurent Rineau dcd03c5425 First attempt of a Qt-4 debugging tool or demo for Surface_mesher 2007-10-24 00:52:57 +00:00
Laurent Rineau c4034919a4 Surface_mesher no longer depends on Mesh_3 2007-10-16 16:14:59 +00:00
Laurent Rineau c6aa96a771 cosmetic 2007-10-16 15:03:58 +00:00
Laurent Rineau a9cb02e81b remove some perturbing outputs 2007-06-14 22:02:40 +00:00
Laurent Rineau ef217e4706 add dependancy towards Mesh_3 (temporarily). 2007-06-14 12:50:23 +00:00
Laurent Rineau bf5b9efebb new implementation, polyhedron-free, of output_surface_facets_to_off 2007-06-13 22:41:51 +00:00
Laurent Rineau ea9cc07f2a Define CGAL_C2T3_USE_POLYHEDRON, in order to output oriented surfaces. 2007-06-13 21:18:08 +00:00
Laurent Rineau fd97c81e8a In Surface_mesher:
- Polyhedral_oracle::initial_points_: use input points in random order,
  - Polyhedral_surface is know templated by a new tag, that can be
    "Has_no_edges" or "Has_edges", so that the edges detection and handling
    is triggered.
  - Polyhedral_oracle::is_in_volume()  now tests if the point is in the
    bounding box, before anything else. That solved several issues, when
    the point tested had very big coordinates.
In Mesh_3:
  - Mesh_criteria's size_bound is know squared in the constructor.
2007-06-10 20:50:11 +00:00
Fernando Cacciola 88111fcf70 VS project files merged back 2007-06-06 15:35:17 +00:00
Laurent Rineau 1f471177ce push current version 2007-06-06 12:54:28 +00:00
Laurent Rineau d381828fa7 I do not know what to say... That version just work!!
I can remesh piecewise smooth surface...
2007-05-30 16:52:43 +00:00
Laurent Rineau 37c7266f76 Merge the branch "temporary_branch_during_trunk_freeze" back to the trunk.
Details below (thank to svnmerge).

Merged revisions 38016,38018-38083,38085-38637 via svnmerge from 
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/temporary_branch_during_trunk_freeze/Surface_mesher

........
  r38022 | lrineau | 2007-04-10 15:11:14 +0200 (Tue, 10 Apr 2007) | 1 line
  
  no-op modifications
........
  r38023 | lrineau | 2007-04-10 15:13:06 +0200 (Tue, 10 Apr 2007) | 1 line
  
  add an intersection computation method to the polyhedral oracle: Triangle-curve
........
  r38026 | lrineau | 2007-04-10 16:14:12 +0200 (Tue, 10 Apr 2007) | 1 line
  
  use vectors instead of lists, and use the correct type Facet_circulator from C2t3
........
  r38028 | lrineau | 2007-04-10 16:18:48 +0200 (Tue, 10 Apr 2007) | 5 lines
  
  
  - Use sets or vectors instead of lists
  - Add marked edges
  - Marked edges are not removed when incident facets are removed.
    They are counted isolated, instead
........
  r38029 | lrineau | 2007-04-10 16:33:09 +0200 (Tue, 10 Apr 2007) | 2 lines
  
  typos
........
  r38306 | lrineau | 2007-04-18 17:58:24 +0200 (Wed, 18 Apr 2007) | 1 line
  
  new version, that should work, now. :-S
........
  r38327 | lrineau | 2007-04-19 03:13:46 +0200 (Thu, 19 Apr 2007) | 1 line
  
  add Edge_info into C2t3, and make the surfacic centers be cached into those edge infos
........
  r38328 | lrineau | 2007-04-19 03:36:21 +0200 (Thu, 19 Apr 2007) | 1 line
  
  forgot that part
........
  r38413 | lrineau | 2007-04-23 02:22:23 +0200 (Mon, 23 Apr 2007) | 1 line
  
  new version o Surface_mesher, with documentation.
........
  r38635 | lrineau | 2007-05-11 15:49:29 +0200 (Fri, 11 May 2007) | 1 line
  
  fix compilation
........
  r38636 | lrineau | 2007-05-11 15:49:52 +0200 (Fri, 11 May 2007) | 1 line
  
  updated documentation
........
  r38637 | lrineau | 2007-05-11 15:50:12 +0200 (Fri, 11 May 2007) | 1 line
  
  update for piecewise-smooth surfaces
........
2007-05-11 14:09:56 +00:00
Laurent Rineau bfe3397444 new tool to convert inrimage to the float format 2007-04-10 11:27:26 +00:00
Laurent Rineau 61e2a2ebfd - New codebase for <CGAL/Polyhedral_surface_3.h>, that uses
Polyhedron_3.
- Added "Facet neighbor(Facet f, int j) const;" in
  <CGAL/Complex_2_in_triangulation_3.h>.
- New code for output_surface_facets_to_off() in
  <CGAL/IO/Complex_2_in_triangulation_3_file_writer.h>. Now uses
  Polyhedron_3 I/O operators (maybe temporarily), and *orients the output*,
  as mush as possible, without any call to any surface oracle.
  The ordering code is adapted from reorient_faces() in TDS_2.
- Updated demo/Surface_mesher/polyhedron_remesher.cpp, so that it works.

Notes for the CGAL-3.3 release manager: 
  - Surface_mesher/demo/Surface_mesher is "dont_submitted".
  - The changes in Surface_mesher/include/CGAL/ only impact undocumented
  features of the package. Actually, maybe output_surface_facets_to_off()
  should be documented (with an adapted API) now that it orients the facets.
2007-04-04 09:52:34 +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
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
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 75935083c1 move examples/Surface_mesher/inputs (which was "dont_submitted") to demo. 2007-02-28 18:19:49 +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 73b57b6306 fix a typo 2006-07-10 11:30:11 +00:00
Laurent Rineau 239b8d706d major switch from .C to .cpp. Andreas's script left a lot of things that
had to be fixed manually.
2006-07-10 09:56:38 +00:00
Andreas Fabri be0f6c1665 changed .C to .cpp in examples 2006-07-09 19:48:49 +00:00
Laurent Rineau bf07fad719 new way of dealing with dependencies, in my packages 2006-07-05 16:28:34 +00:00
Laurent Rineau c09eb61cc7 fix the last commit 2006-06-27 11:35:38 +00:00
Laurent Rineau 89bfa685e3 merge some examples/Mesh_3 modifications to demo/Surface_mesher 2006-06-26 14:10:30 +00:00
Laurent Rineau 5c6b881a1d ** In Surface_mesher:
- remove subdirectories of include/CGAL/Surface_mesher: files of Criteria/
  and Oracles/ are moved one step back.
- repear the polyhedral oracle
- Implicit_oracle.h is now Implicit_surface_oracle.h (and the class has
been renamed too.
- no longer "Kernel_point" trick in Implicit_surface_oracle.h
- *but* "Kernel_point" trick is needed in Polyhedral_oracle.h! :-(

** In Mesh_3:
- repear examples/Mesh_3/polyhedral_surface_mesher.C
- add two input files in ./inputs/*.off (with their medit files)
2006-06-13 13:08:19 +00:00