12 #ifndef ossimConstants_HEADER 13 #define ossimConstants_HEADER 1 27 # pragma warning(disable:4786) 28 # pragma warning(disable:4251) 29 # pragma warning(disable:4275) 30 # pragma warning(disable:4800) 31 # pragma warning(disable:4244) 34 # define OSSIM_DEPRECATE_METHOD(func) func __attribute__ ((deprecated)) 35 #elif defined(_MSC_VER) 36 # define OSSIM_DEPRECATE_METHOD(func) __declspec(deprecated) func 38 # define OSSIM_DEPRECATE_METHOD(func) 44 #if defined(OSSIM_STATIC) 47 # define OSSIMDLLEXPORT 49 # define OSSIMDLLEXPORT_DATA(type) type 50 # define OSSIM_DLL_DATA(type) type 51 # define OSSIMDLLEXPORT_CTORFN 52 #elif defined(__MINGW32__) || defined(__CYGWIN__) || defined(_MSC_VER) || defined(__VISUALC__) || defined(__BORLANDC__) || defined(__WATCOMC__) 53 # define OSSIMEXPORT __declspec(dllexport) 54 # define OSSIMIMPORT __declspec(dllimport) 55 # ifdef OSSIMMAKINGDLL 56 # define OSSIMDLLEXPORT OSSIMEXPORT 57 # define OSSIM_DLL OSSIMEXPORT 58 # define OSSIMDLLEXPORT_DATA(type) OSSIMEXPORT type 59 # define OSSIM_DLL_DATA(type) OSSIMEXPORT type 60 # define OSSIMDLLEXPORT_CTORFN 62 # define OSSIMDLLEXPORT OSSIMIMPORT 63 # define OSSIM_DLL OSSIMIMPORT 64 # define OSSIMDLLEXPORT_DATA(type) OSSIMIMPORT type 65 # define OSSIM_DLL_DATA(type) OSSIMIMPORT type 66 # define OSSIMDLLEXPORT_CTORFN 71 # define OSSIMDLLEXPORT 73 # define OSSIMDLLEXPORT_DATA(type) type 74 # define OSSIM_DLL_DATA(type) type 75 # define OSSIMDLLEXPORT_CTORFN 82 #if defined(_MSC_VER) || defined(__VISUALC__) || defined(__BORLANDC__) || defined(__GNUC__) || defined(__WATCOMC__) 83 # if (_MSC_VER >= 1300) 84 # define OSSIMEXPORT __declspec(dllexport) 85 # define OSSIMIMPORT __declspec(dllimport) 87 # define OSSIMEXPORT __declspec(dllexport) 88 # define OSSIMIMPORT __declspec(dllimport) 96 # if defined (__WATCOMC__) 97 # define OSSIMEXPORT __declspec(dllexport) 103 # elif (!(defined(__VISAGECPP__) && (__IBMCPP__ < 400 || __IBMC__ < 400 ))) 104 # define OSSIMEXPORT _Export 105 # define OSSIMIMPORT _Export 107 #elif defined(__OSSIMMAC__) 109 # define OSSIMEXPORT __declspec(export) 110 # define OSSIMIMPORT __declspec(import) 114 #if defined(_MSC_VER) 115 # pragma warning(disable:4786) 116 # pragma warning(disable:4251) 117 # pragma warning(disable:4275) 118 # pragma warning(disable:4800) 119 # pragma warning(disable:4244) 121 # ifdef OSSIMSINGLEDLL 122 # ifdef EXPORT_OSMMATRIX 123 # define EXPORT_OSMMATRIX OSSIMEXPORT 125 # ifndef OSSIMDLLEXPORT 126 # define OSSIMDLLEXPORT OSSIMEXPORT 128 # ifdef EXPORT_OSMELEV 129 # define EXPORT_OSMELEV OSSIMEXPORT 131 # ifdef EXPORT_OSMSPTDATA 132 # define EXPORT_OSMSPTDATA OSSIMEXPORT 134 # ifdef EXPORT_ISO8211 135 # define EXPORT_ISO8211 OSSIMEXPORT 137 # ifdef EXPORT_OSMPROJ 138 # define EXPORT_OSMPROJ OSSIMEXPORT 140 # ifndef EXPORT_OSMIMAGING 141 # define EXPORT_OSMIMAGING OSSIMEXPORT 144 # ifndef EXPORT_OSMMATRIX 145 # ifdef OSMMATRIX_EXPORTS 146 # define EXPORT_OSMMATRIX OSSIMEXPORT 148 # define EXPORT_OSMMATRIX OSSIMIMPORT 151 # ifndef OSSIMDLLEXPORT 152 # ifdef OSMBASE_EXPORTS 153 # define OSSIMDLLEXPORT OSSIMEXPORT 155 # define OSSIMDLLEXPORT OSSIMIMPORT 158 # ifndef EXPORT_OSMELEV 159 # ifdef OSMELEV_EXPORTS 160 # define EXPORT_OSMELEV OSSIMEXPORT 162 # define EXPORT_OSMELEV OSSIMIMPORT 165 # ifndef EXPORT_OSMSPTDATA 166 # ifdef OSMSPTDATA_EXPORTS 167 # define EXPORT_OSMSPTDATA OSSIMEXPORT 169 # define EXPORT_OSMSPTDATA OSSIMIMPORT 172 # ifndef EXPORT_OSMPROJ 173 # ifdef OSMPROJ_EXPORTS 174 # define EXPORT_OSMPROJ OSSIMEXPORT 176 # define EXPORT_OSMPROJ OSSIMIMPORT 179 # ifndef EXPORT_ISO8211 180 # ifdef ISO8211_EXPORTS 181 # define EXPORT_ISO8211 OSSIMEXPORT 183 # define EXPORT_ISO8211 OSSIMIMPORT 186 # ifndef EXPORT_OSMIMAGING 187 # ifdef OSMIMAGING_EXPORTS 188 # define EXPORT_OSMIMAGING OSSIMEXPORT 190 # define EXPORT_OSMIMAGING OSSIMIMPORT 195 # ifdef OSSIMMAKINGDLL 196 # define OSSIMDLLEXPORT OSSIMEXPORT 197 # define OSSIM_DLL OSSIMEXPORT 198 # define OSSIMDLLEXPORT_DATA(type) OSSIMEXPORT type 199 # define OSSIM_DLL_DATA(type) OSSIMEXPORT type 200 # define OSSIMDLLEXPORT_CTORFN 201 # elif defined(OSSIMUSINGDLL) 202 # define OSSIMDLLEXPORT OSSIMIMPORT 203 # define OSSIM_DLL OSSIMIMPORT 204 # define OSSIMDLLEXPORT_DATA(type) OSSIMIMPORT type 205 # define OSSIM_DLL_DATA(type) OSSIMIMPORT type 206 # define OSSIMDLLEXPORT_CTORFN 208 # define OSSIMDLLEXPORT 210 # define OSSIM_DLL_DATA(type) type 211 # define OSSIMDLLEXPORT_DATA(type) type 212 # define OSSIMDLLEXPORT_CTORFN 214 # define EXPORT_OSMMATRIX OSSIMDLLEXPORT 215 # define EXPORT_OSMELEV OSSIMDLLEXPORT 216 # define EXPORT_OSMSPTDATA OSSIMDLLEXPORT 217 # define EXPORT_OSMPROJ OSSIMDLLEXPORT 218 # define EXPORT_OSMIMAGING OSSIMDLLEXPORT 438 # define FLT_EPSILON __FLT_EPSILON__ 442 # define DBL_EPSILON __DBL_EPSILON__ 446 # define M_PI ((ossim_float64)3.141592653589793238462643) 449 # define TWO_PI ((ossim_float64)(2.0 * M_PI)) 452 # define DEG_PER_RAD ((ossim_float64)(180.0/M_PI)) 455 # define SEC_PER_RAD ((ossim_float64)206264.8062471) 458 # define RAD_PER_DEG ((ossim_float64)(M_PI/180.0)) 461 # define MTRS_PER_FT ((ossim_float64)0.3048) 464 # define FT_PER_MTRS ((ossim_float64)3.280839895013122) 467 # define FT_PER_MILE ((ossim_float64)5280.0) 470 # define SQRT_TWO_PI ((ossim_float64)2.50662827463100050242) 472 #ifndef SQRT_TWO_PI_DIV2 473 # define SQRT_TWO_PI_DIV2 ((ossim_float64)7.07106781186547524401E-1) 476 #define TIFFTAG_OSSIM_METADATA 50955 477 #define OSSIM_DEFAULT_TILE_HEIGHT ((ossim_int32)64) 478 #define OSSIM_DEFAULT_TILE_WIDTH ((ossim_int32)64) 485 #ifndef US_METERS_PER_FT 486 # define US_METERS_PER_FT ((ossim_float64)0.3048006096) 493 #define OSSIM_INT_NAN ((ossim_sint32)0x80000000) 495 #define OSSIM_DEFAULT_NULL_PIX_UCHAR ((ossim_uint8)0) 496 #define OSSIM_DEFAULT_MIN_PIX_UCHAR ((ossim_uint8)1) 497 #define OSSIM_DEFAULT_MAX_PIX_UCHAR ((ossim_uint8)255) 499 #define OSSIM_DEFAULT_NULL_PIX_UINT8 ((ossim_uint8)0) 500 #define OSSIM_DEFAULT_MIN_PIX_UINT8 ((ossim_uint8)1) 501 #define OSSIM_DEFAULT_MAX_PIX_UINT8 ((ossim_uint8)255) 503 #define OSSIM_DEFAULT_NULL_PIX_SINT8 ((ossim_sint8)0x80) 504 #define OSSIM_DEFAULT_MIN_PIX_SINT8 ((ossim_sint8)0x81) 505 #define OSSIM_DEFAULT_MAX_PIX_SINT8 ((ossim_sint8)0x7F) 507 #define OSSIM_DEFAULT_NULL_PIX_SINT16 ((ossim_sint16)0x8000) 508 #define OSSIM_DEFAULT_MIN_PIX_SINT16 ((ossim_sint16)0x8001) 509 #define OSSIM_DEFAULT_MAX_PIX_SINT16 ((ossim_sint16)0x7FFF) 511 #define OSSIM_DEFAULT_NULL_PIX_UINT16 ((ossim_uint16)0) 512 #define OSSIM_DEFAULT_MIN_PIX_UINT16 ((ossim_uint16)1) 513 #define OSSIM_DEFAULT_MAX_PIX_UINT16 ((ossim_uint16)0xFFFF) 515 #define OSSIM_DEFAULT_NULL_PIX_SINT32 ((ossim_sint32)0x80000000) 516 #define OSSIM_DEFAULT_MIN_PIX_SINT32 ((ossim_sint32)0x80000001) 517 #define OSSIM_DEFAULT_MAX_PIX_SINT32 ((ossim_sint32)0x7FFFFFFF) 519 #define OSSIM_DEFAULT_NULL_PIX_UINT32 ((ossim_uint32)0) 520 #define OSSIM_DEFAULT_MIN_PIX_UINT32 ((ossim_uint32)1) 521 #define OSSIM_DEFAULT_MAX_PIX_UINT32 ((ossim_uint32)0xFFFFFFFF) 523 #define OSSIM_DEFAULT_NULL_PIX_SINT64 ((ossim_sint32)0x8000000000000000) 524 #define OSSIM_DEFAULT_MIN_PIX_SINT64 ((ossim_sint32)0x8000000000000001) 525 #define OSSIM_DEFAULT_MAX_PIX_SINT64 ((ossim_sint32)0x7FFFFFFFFFFFFFFF) 527 #define OSSIM_DEFAULT_NULL_PIX_UINT64 ((ossim_uint32)0) 528 #define OSSIM_DEFAULT_MIN_PIX_UINT64 ((ossim_uint32)1) 529 #define OSSIM_DEFAULT_MAX_PIX_UINT64 ((ossim_uint32)0xFFFFFFFFFFFFFFFF) 531 #define OSSIM_DEFAULT_NULL_PIX_UINT11 ((ossim_uint16)0) 532 #define OSSIM_DEFAULT_MIN_PIX_UINT11 ((ossim_uint16)1) 533 #define OSSIM_DEFAULT_MAX_PIX_UINT11 ((ossim_uint16)0x07FF) 535 #define OSSIM_DEFAULT_NULL_PIX_UINT12 ((ossim_uint16)0) 536 #define OSSIM_DEFAULT_MIN_PIX_UINT12 ((ossim_uint16)1) 537 #define OSSIM_DEFAULT_MAX_PIX_UINT12 ((ossim_uint16)0x0FFF) 539 #define OSSIM_DEFAULT_NULL_PIX_UINT13 ((ossim_uint16)0) 540 #define OSSIM_DEFAULT_MIN_PIX_UINT13 ((ossim_uint16)1) 541 #define OSSIM_DEFAULT_MAX_PIX_UINT13 ((ossim_uint16)0x1FFF) 543 #define OSSIM_DEFAULT_NULL_PIX_UINT14 ((ossim_uint16)0) 544 #define OSSIM_DEFAULT_MIN_PIX_UINT14 ((ossim_uint16)1) 545 #define OSSIM_DEFAULT_MAX_PIX_UINT14 ((ossim_uint16)0x3FFF) 547 #define OSSIM_DEFAULT_NULL_PIX_UINT15 ((ossim_uint16)0) 548 #define OSSIM_DEFAULT_MIN_PIX_UINT15 ((ossim_uint16)1) 549 #define OSSIM_DEFAULT_MAX_PIX_UINT15 ((ossim_uint16)0x7FFF) 551 #define OSSIM_DEFAULT_NULL_PIX_FLOAT ((ossim_float32)-1.0/FLT_EPSILON) 552 #define OSSIM_DEFAULT_MIN_PIX_FLOAT ((ossim_float32)((-1.0/FLT_EPSILON) + 1)) 553 #define OSSIM_DEFAULT_MAX_PIX_FLOAT ((ossim_float32)((1.0/FLT_EPSILON))) 555 #define OSSIM_DEFAULT_NULL_PIX_NORM_FLOAT ((ossim_float32)0) 556 #define OSSIM_DEFAULT_MIN_PIX_NORM_FLOAT ((ossim_float32)((2*FLT_EPSILON))) 557 #define OSSIM_DEFAULT_MAX_PIX_NORM_FLOAT ((ossim_float32)1.0) 559 #define OSSIM_DEFAULT_NULL_PIX_DOUBLE ((ossim_float64)-1.0/DBL_EPSILON) 560 #define OSSIM_DEFAULT_MIN_PIX_DOUBLE ((ossim_float64)((-1.0/DBL_EPSILON) + 1)) 561 #define OSSIM_DEFAULT_MAX_PIX_DOUBLE ((ossim_float64)((1.0/DBL_EPSILON))) 563 #define OSSIM_DEFAULT_NULL_PIX_NORM_DOUBLE ((ossim_float64)0) 564 #define OSSIM_DEFAULT_MIN_PIX_NORM_DOUBLE ((ossim_float64)((2*DBL_EPSILON))) 565 #define OSSIM_DEFAULT_MAX_PIX_NORM_DOUBLE ((ossim_float64)(1.0)) 567 #define OSSIM_DEFAULT_MEAN_SEA_LEVEL ((ossim_float64)0.0) 16 bit unsigned integer (15 bits used)
ossim_int32 ossimErrorCode
char ossim_int8
Previous DLL import export section.
16 bit unsigned integer (12 bits used)
32 bit complex floating point
16 bit unsigned integer (14 bits used)
16 bit unsigned integer (14 bits used)
16 bit unsigned integer (13 bits used)
16 bit unsigned integer (13 bits used)
ossimImageType
Definitions for image type identification.
unsigned short ossim_uint16
signed short ossim_sint16
ossimMetadataType
Definitions for metadata type identification.
unsigned long long ossim_uint64
unsigned int ossim_uint32
32 bit normalized floating point
64 bit normalized floating point
ossimCoordinateSystemType
16 bit unsigned integer (11 bits used)
16 bit unsigned integer (15 bits used)
64 bit complex floating point
ossimDataObjectStatus
Definitions for data object status.
16 bit unsigned integer (11 bits used)
unsigned char ossim_uint8
signed long long ossim_sint64
16 bit unsigned integer (12 bits used)