mirror of https://github.com/CGAL/cgal
Modify #include for CGAL_ImageIO after the moves of header files
This commit is contained in:
parent
808c7c02fa
commit
1712a1b889
|
|
@ -51,15 +51,15 @@
|
|||
GIF | .gif | X |
|
||||
BMP | .gif | X |
|
||||
*/
|
||||
#include <CGAL/inr.h>
|
||||
#include <CGAL/gif.h>
|
||||
#include <CGAL/gis.h>
|
||||
#include <CGAL/pnm.h>
|
||||
#include <CGAL/bmp.h>
|
||||
#include <CGAL/iris.h>
|
||||
#include <CGAL/analyze.h>
|
||||
#include "inr.h"
|
||||
#include "gif.h"
|
||||
#include "gis.h"
|
||||
#include "pnm.h"
|
||||
#include "bmp.h"
|
||||
#include "iris.h"
|
||||
#include "analyze.h"
|
||||
#ifdef MINC_FILES
|
||||
# include <CGAL/mincio.h>
|
||||
#include "mincio.h"
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
#ifndef CGAL_IMAGE_3_VTK_INTERFACE_H
|
||||
#define CGAL_IMAGE_3_VTK_INTERFACE_H
|
||||
|
||||
#include <CGAL/config.h>
|
||||
#include "config.h"
|
||||
|
||||
#ifdef CGAL_USE_VTK
|
||||
#include <CGAL/Image_3.h>
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ if(OPENGL_FOUND)
|
|||
|
||||
use_essential_libs()
|
||||
|
||||
include_directories( SYSTEM ${CGAL_3RD_PARTY_INCLUDE_DIRS} ${CGAL_ImageIO_3RD_PARTY_INCLUDE_DIRS} )
|
||||
include_directories( SYSTEM ${CGAL_3RD_PARTY_INCLUDE_DIRS} ${CGAL_ImageIO_3RD_PARTY_INCLUDE_DIRS} .)
|
||||
|
||||
link_directories ( ${CGAL_LIBRARIES_DIR} ${CGAL_3RD_PARTY_LIBRARIES_DIRS} )
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#ifndef CGAL_HEADER_ONLY
|
||||
|
||||
#include <CGAL/analyze.h>
|
||||
#include <CGAL/analyze_impl.h>
|
||||
#include "analyze.h"
|
||||
#include "analyze_impl.h"
|
||||
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ int writeAnalyzeHeader( const _image* im ) ;
|
|||
int writeAnalyzeData( const _image* im ) ;
|
||||
|
||||
#ifdef CGAL_HEADER_ONLY
|
||||
#include <CGAL/analyze_impl.h>
|
||||
#include "analyze_impl.h"
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#ifndef CGAL_HEADER_ONLY
|
||||
|
||||
#include <CGAL/bmp.h>
|
||||
#include <CGAL/bmp_impl.h>
|
||||
#include "bmp.h"
|
||||
#include "bmp_impl.h"
|
||||
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ extern void IoBmp_verbose ( );
|
|||
extern void IoBmp_noverbose ( );
|
||||
|
||||
#ifdef CGAL_HEADER_ONLY
|
||||
#include <CGAL/bmp_impl.h>
|
||||
#include "bmp_impl.h"
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
||||
#endif /* _bmp_h_ */
|
||||
|
|
|
|||
|
|
@ -27,9 +27,9 @@
|
|||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <CGAL/bmptypes.h>
|
||||
#include <CGAL/bmpendian.h>
|
||||
#include <CGAL/bmpread.h>
|
||||
#include "bmptypes.h"
|
||||
#include "bmpendian.h"
|
||||
#include "bmpread.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#ifndef CGAL_HEADER_ONLY
|
||||
|
||||
#include <CGAL/bmpendian.h>
|
||||
#include <CGAL/bmpendian_impl.h>
|
||||
#include "bmpendian.h"
|
||||
#include "bmpendian_impl.h"
|
||||
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
|
|
|||
|
|
@ -32,6 +32,8 @@
|
|||
#ifndef __ENDIAN_H_INCLUDED__
|
||||
#define __ENDIAN_H_INCLUDED__
|
||||
|
||||
#include "bmptypes.h"
|
||||
|
||||
/*
|
||||
* Read the basic types as little-endian values. The return value will be
|
||||
* zero if successful, EOF, otherwise.
|
||||
|
|
@ -55,7 +57,7 @@ int writeUINT16little(FILE *f, CGAL_UINT16 i);
|
|||
int writeUINT32little(FILE *f, CGAL_UINT32 i);
|
||||
|
||||
#ifdef CGAL_HEADER_ONLY
|
||||
#include <CGAL/bmpendian_impl.h>
|
||||
#include "bmpendian_impl.h"
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
||||
#endif /* __ENDIAN_H_INCLUDED__ */
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <CGAL/bmptypes.h>
|
||||
#include "bmptypes.h"
|
||||
|
||||
/*****************************************************************************
|
||||
*
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#ifndef CGAL_HEADER_ONLY
|
||||
|
||||
#include <CGAL/bmpread.h>
|
||||
#include <CGAL/bmpread_impl.h>
|
||||
#include "bmpread.h"
|
||||
#include "bmpread_impl.h"
|
||||
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ int readMultipleImage(FILE *fp, RGB ***argbs, char ***xorMasks,
|
|||
int *imageCount);
|
||||
|
||||
#ifdef CGAL_HEADER_ONLY
|
||||
#include <CGAL/bmpread_impl.h>
|
||||
#include "bmpread_impl.h"
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -38,8 +38,8 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <CGAL/bmptypes.h>
|
||||
#include <CGAL/bmpendian.h>
|
||||
#include "bmptypes.h"
|
||||
#include "bmpendian.h"
|
||||
|
||||
/*****************************************************************************
|
||||
*
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#ifndef CGAL_HEADER_ONLY
|
||||
|
||||
#include <CGAL/convert.h>
|
||||
#include <CGAL/convert_impl.h>
|
||||
#include "convert.h"
|
||||
#include "convert_impl.h"
|
||||
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
#include <stdio.h> /* memcpy */
|
||||
#include <string.h> /* memcpy */
|
||||
#include <CGAL/typedefs.h>
|
||||
#include "typedefs.h"
|
||||
|
||||
|
||||
|
||||
|
|
@ -102,7 +102,7 @@ extern void Convert_r32_to_u16( r32 *theBuf,
|
|||
|
||||
|
||||
#ifdef CGAL_HEADER_ONLY
|
||||
#include <CGAL/convert_impl.h>
|
||||
#include "convert_impl.h"
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#ifndef CGAL_HEADER_ONLY
|
||||
|
||||
#include <CGAL/fgetns.h>
|
||||
#include <CGAL/fgetns_impl.h>
|
||||
#include "fgetns.h"
|
||||
#include "fgetns_impl.h"
|
||||
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@
|
|||
char *fgetns(char *str, int n, _image *im );
|
||||
|
||||
#ifdef CGAL_HEADER_ONLY
|
||||
#include <CGAL/fgetns_impl.h>
|
||||
#include "fgetns_impl.h"
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
||||
#endif // FGETNS_H
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#ifndef CGAL_HEADER_ONLY
|
||||
|
||||
#include <CGAL/gif.h>
|
||||
#include <CGAL/gif_impl.h>
|
||||
#include "gif.h"
|
||||
#include "gif_impl.h"
|
||||
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ int testGifHeader(char *magic,const char *name);
|
|||
PTRIMAGE_FORMAT createGifFormat();
|
||||
|
||||
#ifdef CGAL_HEADER_ONLY
|
||||
#include <CGAL/gif_impl.h>
|
||||
#include "gif_impl.h"
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#ifndef CGAL_HEADER_ONLY
|
||||
|
||||
#include <CGAL/gis.h>
|
||||
#include <CGAL/gis_impl.h>
|
||||
#include "gis.h"
|
||||
#include "gis_impl.h"
|
||||
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ int writeGisHeader( const _image* im ) ;
|
|||
int writeGisData( const _image* im ) ;
|
||||
|
||||
#ifdef CGAL_HEADER_ONLY
|
||||
#include <CGAL/gis_impl.h>
|
||||
#include "gis_impl.h"
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -27,9 +27,10 @@
|
|||
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <cstring>
|
||||
|
||||
#include <CGAL/inr.h>
|
||||
#include <CGAL/fgetns.h>
|
||||
#include "inr.h"
|
||||
#include "fgetns.h"
|
||||
|
||||
#define _LGTH_STRING_ 1024
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#ifndef CGAL_HEADER_ONLY
|
||||
|
||||
#include <CGAL/inr.h>
|
||||
#include <CGAL/inr_impl.h>
|
||||
#include "inr.h"
|
||||
#include "inr_impl.h"
|
||||
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ int writeInrimage(char *basename,_image *im);
|
|||
PTRIMAGE_FORMAT createInrimageFormat();
|
||||
|
||||
#ifdef CGAL_HEADER_ONLY
|
||||
#include <CGAL/inr_impl.h>
|
||||
#include "inr_impl.h"
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@
|
|||
#define CGAL_INLINE_FUNCTION
|
||||
#endif
|
||||
|
||||
#include <CGAL/fgetns.h>
|
||||
#include "fgetns.h"
|
||||
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#ifndef CGAL_HEADER_ONLY
|
||||
|
||||
#include <CGAL/iris.h>
|
||||
#include <CGAL/iris_impl.h>
|
||||
#include "iris.h"
|
||||
#include "iris_impl.h"
|
||||
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#ifndef CGAL_HEADER_ONLY
|
||||
|
||||
#include <CGAL/mincio.h>
|
||||
#include <CGAL/mincio_impl.h>
|
||||
#include "mincio.h"
|
||||
#include "mincio_impl.h"
|
||||
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ int writeMincFile( const _image* im, const char *name, const char *sourceName,
|
|||
#endif
|
||||
|
||||
#ifdef CGAL_HEADER_ONLY
|
||||
#include <CGAL/mincio_impl.h>
|
||||
#include "mincio_impl.h"
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#ifndef CGAL_HEADER_ONLY
|
||||
|
||||
#include <CGAL/pnm.h>
|
||||
#include <CGAL/pnm_impl.h>
|
||||
#include "pnm.h"
|
||||
#include "pnm_impl.h"
|
||||
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ PTRIMAGE_FORMAT createPgmAscIIFormat();
|
|||
PTRIMAGE_FORMAT createPpmFormat();
|
||||
|
||||
#ifdef CGAL_HEADER_ONLY
|
||||
#include <CGAL/pnm_impl.h>
|
||||
#include "pnm_impl.h"
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
#include <string.h>
|
||||
#include <sstream>
|
||||
|
||||
#include <CGAL/fgetns.h>
|
||||
#include "fgetns.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#ifndef CGAL_HEADER_ONLY
|
||||
|
||||
#include <CGAL/recbuffer.h>
|
||||
#include <CGAL/recbuffer_impl.h>
|
||||
#include "recbuffer.h"
|
||||
#include "recbuffer_impl.h"
|
||||
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
|
|
|||
|
|
@ -49,8 +49,8 @@
|
|||
#define _recbuffer_h_
|
||||
|
||||
|
||||
#include <CGAL/typedefs.h>
|
||||
#include <CGAL/recline.h>
|
||||
#include "typedefs.h"
|
||||
#include "recline.h"
|
||||
|
||||
|
||||
|
||||
|
|
@ -196,7 +196,7 @@ extern void Recbuffer_noverbose ( );
|
|||
|
||||
|
||||
#ifdef CGAL_HEADER_ONLY
|
||||
#include <CGAL/recbuffer_impl.h>
|
||||
#include "recbuffer_impl.h"
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
|
||||
#include <CGAL/convert.h>
|
||||
#include "convert.h"
|
||||
|
||||
#ifdef CGAL_HEADER_ONLY
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#ifndef CGAL_HEADER_ONLY
|
||||
|
||||
#include <CGAL/recline.h>
|
||||
#include <CGAL/recline_impl.h>
|
||||
#include "recline.h"
|
||||
#include "recline_impl.h"
|
||||
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ extern void Recline_verbose ( );
|
|||
extern void Recline_noverbose ( );
|
||||
|
||||
#ifdef CGAL_HEADER_ONLY
|
||||
#include <CGAL/recline_impl.h>
|
||||
#include "recline_impl.h"
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
||||
#endif /* _recline_h_ */
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
#ifndef CGAL_HEADER_ONLY
|
||||
|
||||
#include <CGAL/reech4x4.h>
|
||||
#include <CGAL/reech4x4_impl.h>
|
||||
#include "reech4x4.h"
|
||||
#include "reech4x4_impl.h"
|
||||
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
|
|
|||
|
|
@ -281,7 +281,7 @@ extern void Reech4x4_verbose ( );
|
|||
extern void Reech4x4_noverbose ( );
|
||||
|
||||
#ifdef CGAL_HEADER_ONLY
|
||||
#include <CGAL/reech4x4_impl.h>
|
||||
#include "reech4x4_impl.h"
|
||||
#endif // CGAL_HEADER_ONLY
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <CGAL/typedefs.h>
|
||||
#include "typedefs.h"
|
||||
|
||||
#define _CONVERTR_(R) ( R )
|
||||
#define _CONVERTI_(R) ( (R) >= 0.0 ? ((int)((R)+0.5)) : ((int)((R)-0.5)) )
|
||||
|
|
|
|||
Loading…
Reference in New Issue