Class ExportRaster

java.lang.Object
com.agisoft.metashape.tasks.Task
com.agisoft.metashape.tasks.ExportRaster

public class ExportRaster
extends Task
Task class containing processing parameters.
  • Constructor Details

    • ExportRaster

      protected ExportRaster​(long cPtr, boolean cMemoryOwn)
    • ExportRaster

      public ExportRaster()
  • Method Details

    • getCPtr

      protected static long getCPtr​(ExportRaster obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class Task
    • delete

      public void delete()
      Overrides:
      delete in class Task
    • setBlockHeight

      public void setBlockHeight​(int value)
      Raster block height in pixels. Default: 10000
    • getBlockHeight

      public int getBlockHeight()
      Raster block height in pixels. Default: 10000
    • setBlockWidth

      public void setBlockWidth​(int value)
      Raster block width in pixels. Default: 10000
    • getBlockWidth

      public int getBlockWidth()
      Raster block width in pixels. Default: 10000
    • setClipToBoundary

      public void setClipToBoundary​(boolean value)
      Clip raster to boundary shapes. Default: true
    • getClipToBoundary

      public boolean getClipToBoundary()
      Clip raster to boundary shapes. Default: true
    • setDescription

      public void setDescription​(String value)
      Export description.
    • getDescription

      public String getDescription()
      Export description.
    • setFormat

      public void setFormat​(RasterFormat value)
      Export format. Default: RasterFormat.RasterFormatTiles
    • getFormat

      public RasterFormat getFormat()
      Export format. Default: RasterFormat.RasterFormatTiles
    • setHeight

      public void setHeight​(int value)
      Raster height. Default: 0
    • getHeight

      public int getHeight()
      Raster height. Default: 0
    • setImageCompression

      public void setImageCompression​(ImageCompression value)
      Image compression parameters.
    • getImageCompression

      public ImageCompression getImageCompression()
      Image compression parameters.
    • setImageDescription

      public void setImageDescription​(String value)
      Optional description to be added to image files.
    • getImageDescription

      public String getImageDescription()
      Optional description to be added to image files.
    • setImageFormat

      public void setImageFormat​(ImageFormat value)
      Tile format. Default: ImageFormat.ImageFormatNone
    • getImageFormat

      public ImageFormat getImageFormat()
      Tile format. Default: ImageFormat.ImageFormatNone
    • setMaxZoomLevel

      public void setMaxZoomLevel​(int value)
      Maximum zoom level (Google Map Tiles, MBTiles and World Wind Tiles formats only). Default: -1
    • getMaxZoomLevel

      public int getMaxZoomLevel()
      Maximum zoom level (Google Map Tiles, MBTiles and World Wind Tiles formats only). Default: -1
    • setMinZoomLevel

      public void setMinZoomLevel​(int value)
      Minimum zoom level (Google Map Tiles, MBTiles and World Wind Tiles formats only). Default: -1
    • getMinZoomLevel

      public int getMinZoomLevel()
      Minimum zoom level (Google Map Tiles, MBTiles and World Wind Tiles formats only). Default: -1
    • setNetworkLinks

      public void setNetworkLinks​(boolean value)
      Enable network links generation for KMZ format. Default: true
    • getNetworkLinks

      public boolean getNetworkLinks()
      Enable network links generation for KMZ format. Default: true
    • setNodataValue

      public void setNodataValue​(double value)
      No-data value (DEM export only). Default: -32767.0
    • getNodataValue

      public double getNodataValue()
      No-data value (DEM export only). Default: -32767.0
    • setNorthUp

      public void setNorthUp​(boolean value)
      Use north-up orientation for export. Default: true
    • getNorthUp

      public boolean getNorthUp()
      Use north-up orientation for export. Default: true
    • setPath

      public void setPath​(String value)
      Path to output orthomosaic.
    • getPath

      public String getPath()
      Path to output orthomosaic.
    • setProjection

      public void setProjection​(OrthoProjection value)
      Output projection.
    • getProjection

      public OrthoProjection getProjection()
      Output projection.
    • setRasterTransform

      public void setRasterTransform​(RasterTransformType value)
      Raster band transformation. Default: RasterTransformType.RasterTransformNone
    • getRasterTransform

      public RasterTransformType getRasterTransform()
      Raster band transformation. Default: RasterTransformType.RasterTransformNone
    • setRegion

      public void setRegion​(BBox2d value)
      Region to be exported.
    • getRegion

      public BBox2d getRegion()
      Region to be exported.
    • setResolution

      public void setResolution​(double value)
      Output resolution in meters. Default: 0.0
    • getResolution

      public double getResolution()
      Output resolution in meters. Default: 0.0
    • setResolutionX

      public void setResolutionX​(double value)
      Pixel size in the X dimension in projected units. Default: 0.0
    • getResolutionX

      public double getResolutionX()
      Pixel size in the X dimension in projected units. Default: 0.0
    • setResolutionY

      public void setResolutionY​(double value)
      Pixel size in the Y dimension in projected units. Default: 0.0
    • getResolutionY

      public double getResolutionY()
      Pixel size in the Y dimension in projected units. Default: 0.0
    • setSaveAlpha

      public void setSaveAlpha​(boolean value)
      Enable alpha channel generation. Default: true
    • getSaveAlpha

      public boolean getSaveAlpha()
      Enable alpha channel generation. Default: true
    • setSaveKml

      public void setSaveKml​(boolean value)
      Enable kml file generation. Default: false
    • getSaveKml

      public boolean getSaveKml()
      Enable kml file generation. Default: false
    • setSaveScheme

      public void setSaveScheme​(boolean value)
      Enable tile scheme files generation. Default: false
    • getSaveScheme

      public boolean getSaveScheme()
      Enable tile scheme files generation. Default: false
    • setSaveWorld

      public void setSaveWorld​(boolean value)
      Enable world file generation. Default: false
    • getSaveWorld

      public boolean getSaveWorld()
      Enable world file generation. Default: false
    • setSourceData

      public void setSourceData​(DataSource value)
      Selects between DEM and orthomosaic. Default: DataSource.OrthomosaicData
    • getSourceData

      public DataSource getSourceData()
      Selects between DEM and orthomosaic. Default: DataSource.OrthomosaicData
    • setSplitInBlocks

      public void setSplitInBlocks​(boolean value)
      Split raster in blocks. Default: false
    • getSplitInBlocks

      public boolean getSplitInBlocks()
      Split raster in blocks. Default: false
    • setTileHeight

      public void setTileHeight​(int value)
      Tile height in pixels. Default: 256
    • getTileHeight

      public int getTileHeight()
      Tile height in pixels. Default: 256
    • setTileWidth

      public void setTileWidth​(int value)
      Tile width in pixels. Default: 256
    • getTileWidth

      public int getTileWidth()
      Tile width in pixels. Default: 256
    • setTitle

      public void setTitle​(String value)
      Export title.
    • getTitle

      public String getTitle()
      Export title.
    • setWhiteBackground

      public void setWhiteBackground​(boolean value)
      Enable white background. Default: true
    • getWhiteBackground

      public boolean getWhiteBackground()
      Enable white background. Default: true
    • setWidth

      public void setWidth​(int value)
      Raster width. Default: 0
    • getWidth

      public int getWidth()
      Raster width. Default: 0
    • setWorldTransform

      public void setWorldTransform​(Matrix2x3d value)
      2x3 raster-to-world transformation matrix.
    • getWorldTransform

      public Matrix2x3d getWorldTransform()
      2x3 raster-to-world transformation matrix.