Struct gdal_sys::GDALWarpOptions[][src]

#[repr(C)]
pub struct GDALWarpOptions {
Show fields 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_chardfWarpMemoryLimit: 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. This value is not used to flag invalid values. Only the real component is used.

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. Note that warp operations only use real component for flagging invalid data.

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

Unused. Must be NULL

papSrcPerBandValidityMaskFuncArg: *mut *mut c_void

Unused. Must be NULL

pfnSrcValidityMaskFunc: GDALMaskFunc

Unused. Must be NULL

pSrcValidityMaskFuncArg: *mut c_void

Unused. Must be NULL

pfnSrcDensityMaskFunc: GDALMaskFunc

Unused. Must be NULL

pSrcDensityMaskFuncArg: *mut c_void

Unused. Must be NULL

pfnDstDensityMaskFunc: GDALMaskFunc

Unused. Must be NULL

pDstDensityMaskFuncArg: *mut c_void

Unused. Must be NULL

pfnDstValidityMaskFunc: GDALMaskFunc

Unused. Must be NULL

pDstValidityMaskFuncArg: *mut c_void

Unused. Must be NULL

pfnPreWarpChunkProcessor: Option<unsafe extern "C" fn(pKern: *mut c_void, pArg: *mut c_void) -> Type>

Unused. Must be NULL

pPreWarpProcessorArg: *mut c_void

Unused. Must be NULL

pfnPostWarpChunkProcessor: Option<unsafe extern "C" fn(pKern: *mut c_void, pArg: *mut c_void) -> Type>

Unused. Must be NULL

pPostWarpProcessorArg: *mut c_void

Unused. Must be NULL

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 Clone for GDALWarpOptions[src]

impl Copy for GDALWarpOptions[src]

impl Debug for GDALWarpOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.