xtiffio.h

Go to the documentation of this file.
00001 /*
00002  *  xtiffio.h -- Public interface to Extended GEO TIFF tags
00003  *
00004  *    written by: Niles D. Ritter
00005  */
00006 
00007 #ifndef __xtiffio_h
00008 #define __xtiffio_h
00009 
00010 #include "tiffio.h"
00011 #include "geo_config.h"
00012 
00020 /* 
00021  *  Define public Tag names and values here 
00022  */
00023 
00024 /* tags 33550 is a private tag registered to SoftDesk, Inc */
00025 #define TIFFTAG_GEOPIXELSCALE       33550
00026 /* tags 33920-33921 are private tags registered to Intergraph, Inc */
00027 #define TIFFTAG_INTERGRAPH_MATRIX    33920   /* $use TIFFTAG_GEOTRANSMATRIX ! */
00028 #define TIFFTAG_GEOTIEPOINTS         33922
00029 /* tags 34263-34264 are private tags registered to NASA-JPL Carto Group */
00030 #ifdef JPL_TAG_SUPPORT
00031 #define TIFFTAG_JPL_CARTO_IFD        34263    /* $use GeoProjectionInfo ! */
00032 #endif
00033 #define TIFFTAG_GEOTRANSMATRIX       34264    /* New Matrix Tag replaces 33920 */
00034 /* tags 34735-3438 are private tags registered to SPOT Image, Inc */
00035 #define TIFFTAG_GEOKEYDIRECTORY      34735
00036 #define TIFFTAG_GEODOUBLEPARAMS      34736
00037 #define TIFFTAG_GEOASCIIPARAMS       34737
00038 
00039 /* 
00040  *  Define Printing method flags. These
00041  *  flags may be passed in to TIFFPrintDirectory() to
00042  *  indicate that those particular field values should
00043  *  be printed out in full, rather than just an indicator
00044  *  of whether they are present or not.
00045  */
00046 #define TIFFPRINT_GEOKEYDIRECTORY       0x80000000
00047 #define TIFFPRINT_GEOKEYPARAMS          0x40000000
00048 
00049 /**********************************************************************
00050  *    Nothing below this line should need to be changed by the user.
00051  **********************************************************************/
00052 
00053 #if defined(__cplusplus)
00054 extern "C" {
00055 #endif
00056 
00057 /**********************************************************************
00058  * Do we want to build as a DLL on windows?
00059  **********************************************************************/
00060 #if !defined(CPL_DLL)
00061 #  if defined(_WIN32) && defined(BUILD_AS_DLL)
00062 #    define CPL_DLL     __declspec(dllexport)
00063 #  else
00064 #    define CPL_DLL
00065 #  endif
00066 #endif
00067 
00068 extern void CPL_DLL XTIFFInitialize();
00069 extern TIFF CPL_DLL * XTIFFOpen(const char* name, const char* mode);
00070 extern TIFF CPL_DLL * XTIFFFdOpen(int fd, const char* name, const char* mode);
00071 extern void CPL_DLL XTIFFClose(TIFF *tif);
00072 
00073 extern TIFF CPL_DLL * XTIFFClientOpen(const char* name, const char* mode, 
00074                                       thandle_t thehandle,
00075                                       TIFFReadWriteProc, TIFFReadWriteProc,
00076                                       TIFFSeekProc, TIFFCloseProc,
00077                                       TIFFSizeProc,
00078                                       TIFFMapFileProc, TIFFUnmapFileProc);
00079 #if defined(__cplusplus)
00080 }
00081 #endif
00082 
00083 #endif /* __xtiffio_h */
00084 

Generated on Tue Jul 24 14:48:09 2007 for libgeotiff by  doxygen 1.5.1