Commit Graph

61 Commits

Author SHA1 Message Date
Fernando Cacciola d70bdaea18 Prefixed cmake variables with CGAL_ 2008-10-23 14:59:02 +00:00
Laurent Rineau f10a590672 Mass-remove vcproj files. 2008-10-21 09:21:22 +00:00
Laurent Rineau de29665fc0 - License modification: now LGPL v2.1.
- Pierre has not modified include/CGAL/Image_3_vtk_interface.h: I am the
  only author.
2008-10-17 08:39:19 +00:00
Sylvain Pion 1652fec82f Add license notice. 2008-10-13 12:46:01 +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
Fernando Cacciola b3a611f4a0 (fixed) Allowed CGAL components to be configured and compiled independently
Make library naming consistent with component names
2008-10-02 18:13:13 +00:00
Laurent Rineau 3ce5feec55 Conditional compilation. 2008-10-02 11:07:23 +00:00
Fernando Cacciola 6fdf8251bd Allowed CGAL components to be configured and compiled independently
Make library naming consistent with component names
2008-10-01 21:38:37 +00:00
Laurent Rineau 202d2b53ca Force variables CGAL_<component>_LIBRARY.
For an unkwnon reason, they are copied from the reference cache, which is wrong.
2008-09-29 10:09:35 +00:00
Laurent Rineau 594bb16960 Add cmake_minimum_required (to avoid a warning). 2008-09-29 07:59:46 +00:00
Laurent Rineau 3476df25a9 Fix for cmake-2.6. 2008-09-24 15:59:59 +00:00
Laurent Rineau 0c7637dece Fixed CMakeLists.txt. That one was old. 2008-09-24 15:54:47 +00:00
Laurent Rineau 8ada6a98da Fix indentation. 2008-09-24 14:35:14 +00:00
Laurent Rineau b52c7a09e9 - Fix soname and soversion of libraries (they were exchanged).
- Make get_dependency_version found the print_${LIB}_version.cpp, even
  if the lib is compiled separately.
- Rename FindQt3.cmake to FindQt3-patched.cmake and Qt3Macros to
  Qt3Macros-patched.
- Make CGAL-Qt3 compilable separately.
- Fix all commited CMakeLists.txt:
    - use Qt3-patched and Qt3Macros-patched, and s/QT_/QT3_/
    - add a comment about FindQt3-patched,
    - wrap target creation with if(CGAL_FOUND AND QT3_FOUND)/else/endif
- Modified cgal_create_cmake_script
2008-09-24 10:32:44 +00:00
Laurent Rineau aa3da9b64d Commit a file CMakeLists.txt for that directory that needs CGALimageIO. 2008-09-22 15:57:48 +00:00
Laurent Rineau 8ebe4539d2 Followup of revision 45554:
"prefix enum values by CGAL_, to avoid a conflict with windows.h on
 WIndows!"

There was still some conflicts, in other files.
2008-09-16 12:45:40 +00:00
Laurent Rineau 7d412a1ac7 prefix enum values by CGAL_, to avoid a conflict with windows.h on WIndows! 2008-09-15 14:30:53 +00:00
Fernando Cacciola cd00979002 Added explicit link directives from libCGAL* to libCGAL
Added OpenGL to CGALQt4
2008-09-09 18:53:02 +00:00
Laurent Rineau d4affa0e84 Add libCGAL as a dependency of CGALimageIO. 2008-09-08 17:26:03 +00:00
Fernando Cacciola ab07405874 Use unique names for example, demo and test targets
Renamed CGAL-Qt as CGAL-Qt3
Re-spelled cgal components as CORE, ImageIO, PDB, Qt3 and Qt4
2008-09-04 18:58:09 +00:00
Fernando Cacciola ee6fae2991 Added separation in components 2008-09-03 16:55:21 +00:00
Fernando Cacciola 8bd571a638 Added OpenGL libraries to CGALQt and CGALimageIO 2008-08-27 17:57:10 +00:00
Fernando Cacciola 717b7cf5fb soversion added 2008-08-22 22:25:25 +00:00
Fernando Cacciola a84b7f58a2 Fixed variable handling within subdirectories 2008-08-22 21:50:04 +00:00
Fernando Cacciola 9949de466f Add CGAL as a dependency for ImageIO 2008-08-22 17:43:23 +00:00
Laurent Rineau c8bf73082e Leftover of revision 45057:
"- Make CGALimageIO compile at once (and not in two compilation units)."

I forgot to modify the (non-cmake) makefile.
2008-08-22 09:11:40 +00:00
Laurent Rineau 6e199ed734 - Make CGALimageIO compile at once (and not in two compilation units).
- Add $URL$ and $Id$ at some places.
2008-08-21 09:22:39 +00:00
Laurent Saboret a9e6b6fdfc Fixed compilation errors (Visual C++ 2005) 2008-08-19 16:00:52 +00:00
Fernando Cacciola 6e36eda87b CMake stuff moved into the appropriate packages 2008-07-16 20:56:17 +00:00
Laurent Rineau f356c5cd3c Make VTK optional! 2008-06-12 11:55:01 +00:00
Laurent Rineau ba5de5d964 Conditionnal use of VTK. If CGAL_USE_VTK is not defined, the demo displays
"That demo needs VTK support."
2008-05-20 08:18:03 +00:00
Laurent Rineau 3b4ca6c84d Add CMakeLists.txt. 2008-04-29 13:19:40 +00:00
Laurent Rineau d0676c9983 Sun CC does not like the "::" (void) namespace. 2008-04-25 12:06:17 +00:00
Laurent Rineau ae5c1d2243 Attempt to fix a compilation bug on Windows : remove Image_3.cpp from
src/CGALimageIO/all_files.cpp (Image_3.cpp is now compiled separately).
2008-04-20 16:53:36 +00:00
Laurent Rineau f6a84df19c Do not try to display the image bouding box if the image is not
initialized.
2008-04-18 09:18:26 +00:00
Laurent Rineau 2ce23ea470 Add a new header <CGAL/gl.h>, whose purpose is to wrap the #include of
GL/gl.h: on windows, <windows.h> has to be included first.

Image_3.cpp uses that header now.
2008-04-18 09:02:03 +00:00
Laurent Rineau e5cffb39c9 Broken ABI since CGAL-3.3 => bump SOMAJOR. 2008-04-17 10:17:47 +00:00
Laurent Rineau e78c6b9855 image's vx, vy, vz are in double (not float). 2008-04-17 10:11:30 +00:00
Laurent Rineau 02eb074d62 CGALimageIO needs to be linked with libCGAL and libGL. 2008-04-17 10:07:04 +00:00
Laurent Rineau 8ea291d1fd Add a default value for point requests outside of the image viewport.
That breaks the ABI (which is already incompatible with CGAL-3.3 anyway).

MOTE: That also gives a slightly different semantic, in the default case!
2008-04-16 12:15:56 +00:00
Laurent Rineau 56057487d5 - Add a class CGAL::Image_3, that summarize useful features of CGALimageIO.
- Add VTK import/export functions to CGALimageIO.
- Add a CGALimageIO+VTK demo: open an image file with CGALimageIO then
  use VTK's marching cubes to display an isolevel.
2008-04-16 11:05:15 +00:00
Laurent Rineau a9ccb7251e Reduce the amount of code, by using a macro CGAL_IMAGE_IO_CASE that
implements a switch for all image type cases (similar to
vtkTemplateMacroCase in VTK).
2008-04-16 11:00:54 +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 f0226fd8a2 Add three new parameteres to _readImage_raw, to specify the spacing of the
image (vx, vy, vz).
2008-04-08 08:58:00 +00:00
Laurent Rineau 4f66ba21b8 Fix the license header, that was referring to a non-existent file. 2008-04-01 09:06:34 +00:00
Laurent Rineau a70137ac2c - Fix _readImage_raw in CGALLImageIO:
- image->vdim was not initialized,
    - use ::_openReadImage/::ImageIO_close instead of fopen/fclose, so that
      internal flags of CGALImageIO are set up.
- Fix a bug in ImageIO_read that was du to an incorrect use of size_t, to
  store an int.
- Add examples/CGALImageIO/convert_raw_to_inr, that permits to convert a
  raw image (data without headers) to an Inrimage (compressed or not).
2008-03-31 09:28:17 +00:00
Laurent Rineau 2e6719c0d3 move test_imageio.cpp from demo/Surface_mesher to examples/CGALimageIO 2008-03-27 11:20:25 +00:00
Andreas Fabri c2fc0798a0 Added autolinking 2008-02-08 13:52:47 +00:00
Laurent Rineau 8dd198a4b7 forgot to add allfiles.cpp 2008-02-08 08:48:34 +00:00
Laurent Rineau 093d93d73d - CGALimageIO now has a header <CGAL/ImageIO.h>,
- all files and headers have a copyright header,
- CGALimageIO no longer need the cpp flag -I. (use #include "..." instead
  of #include <...>.

Checked: local compilation of libCGALimageIO works. I assume the
install_cgal will be able to compile it as well.
2008-01-24 14:42:03 +00:00