Sha256: 37e0b2d638de36023918afa912ffe5bd57e0ede2ab913a1905fc0dc36272ee34

Contents?: true

Size: 1.9 KB

Versions: 1

Compression:

Stored size: 1.9 KB

Contents

require 'ffi'

module FFI
  module GDAL
    class WarpOptions < FFI::Struct
      layout :warp_operation_options, :pointer,
        :warp_memory_limit, :double,
        :resample_alg, FFI::GDAL::Warper::ResampleAlg,
        :working_data_type, FFI::GDAL::GDAL::DataType,
        :source_dataset, GDAL.find_type(:GDALDatasetH),
        :destination_dataset, GDAL.find_type(:GDALDatasetH),
        :band_count, :int,
        :source_bands, :pointer,
        :destination_bands, :pointer,
        :source_alpha_band, :int,
        :destination_alpha_band, :int,
        :source_no_data_real, :pointer,
        :source_no_data_imaginary, :pointer,
        :destination_no_data_real, :pointer,
        :destination_no_data_imaginary, :pointer,
        :progress, GDAL.find_type(:GDALProgressFunc),
        :progress_arg, :pointer,
        :transformer, Alg.find_type(:GDALTransformerFunc),
        :transformer_arg, :pointer,
        :source_per_band_validity_mask_function, :pointer,
        :source_per_band_validity_mask_function_arg, :pointer,
        :source_validity_mask_function, Warper.find_type(:GDALMaskFunc),
        :source_validity_mask_function_arg, :pointer,
        :source_density_mask_function, Warper.find_type(:GDALMaskFunc),
        :source_density_mask_function_arg, :pointer,
        :destination_density_mask_function, Warper.find_type(:GDALMaskFunc),
        :destination_density_mask_function_arg, :pointer,
        :destination_validity_mask_function, Warper.find_type(:GDALMaskFunc),
        :destination_validity_mask_function_arg, :pointer,
        # :pre_warp_chunk_processor, CPL::Error::CPLErr,
        :pre_warp_chunk_processor, :pointer,
        :pre_warp_processor_arg, :pointer,
        # :post_warp_chunk_processor, CPL::Error::CPLErr,
        :post_warp_chunk_processor, :pointer,
        :post_warp_processor_arg, :pointer,
        :cutline, :pointer,
        :cutline_blend_distance, :double
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ffi-gdal-1.0.0.beta6 lib/ffi/gdal/warp_options.rb