32 #ifndef GDAL_ALG_PRIV_H_INCLUDED 33 #define GDAL_ALG_PRIV_H_INCLUDED 40 typedef enum { GBV_UserBurnValue = 0, GBV_Z = 1, GBV_M = 2
52 unsigned char * pabyChunkBuf;
57 double *padfBurnValue;
58 GDALBurnValueSrc eBurnValueSource;
59 GDALRasterMergeAlg eMergeAlg;
66 typedef void (*llScanlineFunc)(
void *, int, int, int, double );
67 typedef void (*llPointFunc)(
void *, int, int, double );
69 void GDALdllImagePoint(
int nRasterXSize,
int nRasterYSize,
70 int nPartCount,
int *panPartSize,
71 double *padfX,
double *padfY,
double *padfVariant,
72 llPointFunc pfnPointFunc,
void *pCBData );
74 void GDALdllImageLine(
int nRasterXSize,
int nRasterYSize,
75 int nPartCount,
int *panPartSize,
76 double *padfX,
double *padfY,
double *padfVariant,
77 llPointFunc pfnPointFunc,
void *pCBData );
79 void GDALdllImageLineAllTouched(
int nRasterXSize,
int nRasterYSize,
80 int nPartCount,
int *panPartSize,
81 double *padfX,
double *padfY,
83 llPointFunc pfnPointFunc,
void *pCBData );
85 void GDALdllImageFilledPolygon(
int nRasterXSize,
int nRasterYSize,
86 int nPartCount,
int *panPartSize,
87 double *padfX,
double *padfY,
89 llScanlineFunc pfnScanlineFunc,
void *pCBData );
97 #define GP_NODATA_MARKER -51502112 103 void MergePolygon(
int nSrcId,
int nDstId );
104 int NewPolygon( DataType nValue );
108 GInt32 *panPolyIdMap;
109 DataType *panPolyValue;
120 void ProcessLine( DataType *panLastLineVal, DataType *panThisLineVal,
121 GInt32 *panLastLineId, GInt32 *panThisLineId,
124 void CompleteMerges();
131 bool operator()(GInt32 a, GInt32 b) {
return a == b; }
136 typedef void* (*GDALTransformDeserializeFunc)(
CPLXMLNode *psTree );
138 void* GDALRegisterTransformDeserializer(
const char* pszTransformName,
140 GDALTransformDeserializeFunc pfnDeserializeFunc);
141 void GDALUnregisterTransformDeserializer(
void* pData);
143 void GDALCleanupTransformDeserializerMutex();
147 void* GDALCreateTPSTransformerInt(
int nGCPCount,
const GDAL_GCP *pasGCPList,
148 int bReversed,
char** papszOptions );
150 void CPL_DLL * GDALCloneTransformer(
void *pTransformerArg );
157 template<
class T>
int 162 GByte* pabyGreenBand,
164 int (*pfnIncludePixel)(
int,
int,
void*),
169 GDALProgressFunc pfnProgress,
170 void * pProgressArg );
178 GInt16* pasDynamicColorMap,
180 GDALProgressFunc pfnProgress,
181 void * pProgressArg );
183 #define PRIME_FOR_65536 98317 187 #define MEDIAN_CUT_AND_DITHER_BUFFER_SIZE_65536 (6 * sizeof(int) * PRIME_FOR_65536) 202 GBool GDALFloatEquals(
float A,
float B);
206 bool operator()(
float a,
float b) {
return GDALFloatEquals(a,b) == TRUE; }
GDALDataType
Definition: gdal.h:57
Definition: gdal_alg_priv.h:51
Document node structure.
Definition: cpl_minixml.h:65
Definition: gdal_alg_priv.h:129
void * GDALRasterBandH
Opaque type used for the C bindings of the C++ GDALRasterBand class.
Definition: gdal.h:233
Definition: gdal_alg_priv.h:99
int(* GDALTransformerFunc)(void *pTransformerArg, int bDstToSrc, int nPointCount, double *x, double *y, double *z, int *panSuccess)
Definition: gdal_alg.h:114
Definition: gdal_alg_priv.h:204
Public (C callable) GDAL algorithm entry points, and definitions.
void * GDALColorTableH
Opaque type used for the C bindings of the C++ GDALColorTable class.
Definition: gdal.h:239
Ground Control Point.
Definition: gdal.h:492