Struct gdal_sys::GDALWarpOptions
[−]
[src]
#[repr(C)]pub struct GDALWarpOptions { pub papszWarpOptions: *mut *mut c_char, pub dfWarpMemoryLimit: f64, pub eResampleAlg: Type, pub eWorkingDataType: Type, pub hSrcDS: GDALDatasetH, pub hDstDS: GDALDatasetH, pub nBandCount: c_int, pub panSrcBands: *mut c_int, pub panDstBands: *mut c_int, pub nSrcAlphaBand: c_int, pub nDstAlphaBand: c_int, pub padfSrcNoDataReal: *mut f64, pub padfSrcNoDataImag: *mut f64, pub padfDstNoDataReal: *mut f64, pub padfDstNoDataImag: *mut f64, pub pfnProgress: GDALProgressFunc, pub pProgressArg: *mut c_void, pub pfnTransformer: GDALTransformerFunc, pub pTransformerArg: *mut c_void, pub papfnSrcPerBandValidityMaskFunc: *mut GDALMaskFunc, pub papSrcPerBandValidityMaskFuncArg: *mut *mut c_void, pub pfnSrcValidityMaskFunc: GDALMaskFunc, pub pSrcValidityMaskFuncArg: *mut c_void, pub pfnSrcDensityMaskFunc: GDALMaskFunc, pub pSrcDensityMaskFuncArg: *mut c_void, pub pfnDstDensityMaskFunc: GDALMaskFunc, pub pDstDensityMaskFuncArg: *mut c_void, pub pfnDstValidityMaskFunc: GDALMaskFunc, pub pDstValidityMaskFuncArg: *mut c_void, pub pfnPreWarpChunkProcessor: Option<unsafe extern "C" fn(pKern: *mut c_void, pArg: *mut c_void) -> Type>, pub pPreWarpProcessorArg: *mut c_void, pub pfnPostWarpChunkProcessor: Option<unsafe extern "C" fn(pKern: *mut c_void, pArg: *mut c_void) -> Type>, pub pPostWarpProcessorArg: *mut c_void, pub hCutline: *mut c_void, pub dfCutlineBlendDist: f64, }
Warp control options for use with GDALWarpOperation::Initialize()
Fields
papszWarpOptions: *mut *mut c_char
dfWarpMemoryLimit: f64
In bytes, 0.0 for internal default
eResampleAlg: Type
Resampling algorithm to use
eWorkingDataType: Type
data type to use during warp operation, GDT_Unknown lets the algorithm select the type
hSrcDS: GDALDatasetH
Source image dataset.
hDstDS: GDALDatasetH
Destination image dataset - may be NULL if only using GDALWarpOperation::WarpRegionToBuffer().
nBandCount: c_int
Number of bands to process, may be 0 to select all bands.
panSrcBands: *mut c_int
The band numbers for the source bands to process (1 based)
panDstBands: *mut c_int
The band numbers for the destination bands to process (1 based)
nSrcAlphaBand: c_int
The source band so use as an alpha (transparency) value, 0=disabled
nDstAlphaBand: c_int
The dest. band so use as an alpha (transparency) value, 0=disabled
padfSrcNoDataReal: *mut f64
The "nodata" value real component for each input band, if NULL there isn't one
padfSrcNoDataImag: *mut f64
The "nodata" value imaginary component - may be NULL even if real component is provided.
padfDstNoDataReal: *mut f64
The "nodata" value real component for each output band, if NULL there isn't one
padfDstNoDataImag: *mut f64
The "nodata" value imaginary component - may be NULL even if real component is provided.
pfnProgress: GDALProgressFunc
GDALProgressFunc() compatible progress reporting function, or NULL if there isn't one.
pProgressArg: *mut c_void
Callback argument to be passed to pfnProgress.
pfnTransformer: GDALTransformerFunc
Type of spatial point transformer function
pTransformerArg: *mut c_void
Handle to image transformer setup structure
papfnSrcPerBandValidityMaskFunc: *mut GDALMaskFunc
papSrcPerBandValidityMaskFuncArg: *mut *mut c_void
pfnSrcValidityMaskFunc: GDALMaskFunc
pSrcValidityMaskFuncArg: *mut c_void
pfnSrcDensityMaskFunc: GDALMaskFunc
pSrcDensityMaskFuncArg: *mut c_void
pfnDstDensityMaskFunc: GDALMaskFunc
pDstDensityMaskFuncArg: *mut c_void
pfnDstValidityMaskFunc: GDALMaskFunc
pDstValidityMaskFuncArg: *mut c_void
pfnPreWarpChunkProcessor: Option<unsafe extern "C" fn(pKern: *mut c_void, pArg: *mut c_void) -> Type>
pPreWarpProcessorArg: *mut c_void
pfnPostWarpChunkProcessor: Option<unsafe extern "C" fn(pKern: *mut c_void, pArg: *mut c_void) -> Type>
pPostWarpProcessorArg: *mut c_void
hCutline: *mut c_void
Optional OGRPolygonH for a masking cutline.
dfCutlineBlendDist: f64
Optional blending distance to apply across cutline in pixels, default is zero.
Trait Implementations
impl Debug for GDALWarpOptions
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for GDALWarpOptions
[src]
impl Clone for GDALWarpOptions
[src]
fn clone(&self) -> GDALWarpOptions
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more