Commit Graph

19 Commits

Author SHA1 Message Date
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
Laurent Rineau be03ef0b18 new uniform copyright headers for all files of CGALimageIO 2008-01-24 14:17:12 +00:00
Laurent Rineau 570ed3cd53 Make trilinear_interpolation inline (otherwise there are multiple
definitions at linking time).
2008-01-24 10:58:23 +00:00
Laurent Rineau 40e9b7b4bd Add copyright headers in files I have modified.
Merge functionnalities from Pierre Alliez's own copy:
  - add a function  _readImage_raw, similar to _readImage, that reads
    unsigned char raw images,
  - the function triLinInterp can now interpolate most images, whatever is
    the word kind, and trilinear_interpolation is a new name for
    triLinInterp.
  - add a function evaluate, that can return the value of the image at one
    voxel, casted in float.
Those changed should preserve the binary compatibility.
2008-01-24 10:55:40 +00:00
Sylvain Pion a46b55bf71 The files "changes.txt", "description.txt", "long_description.txt" and "maintainer"
are now under /trunk/$Package/package_info/$Package/ .
2007-12-02 15:06:42 +00:00
Fernando Cacciola 88111fcf70 VS project files merged back 2007-06-06 15:35:17 +00:00
Sylvain Pion 9baef3bcac - Centralize duplicated static function fgetns in a separate object file.
- Rename _VERBOSE_ static variables to avoid clashes in compile-all-files-at-once mode.
2007-05-19 22:03:08 +00:00
Laurent Rineau 49f3e78255 Keep the typedefs ALLOCATION_FUNCTION and DEALLOCATION_FUNCTION with the "C"
function call convention.
2007-04-03 09:17:50 +00:00
Laurent Rineau bce1a7694c CGALimageIO is now a C++ library: 'extern "C"' are removed. 2007-04-02 09:50:40 +00:00
Sylvain Pion bf0e32a0e5 remove pgcc warnings 2007-03-09 13:55:29 +00:00
Laurent Rineau 8cc302c7c0 no maintainer for CGALimageIO 2007-03-07 12:15:24 +00:00
Sylvain Pion c4fcbbad46 Split CGALimageIO from Surface_mesher (different license, etc.). 2007-03-07 11:00:59 +00:00