Class ExportPoints

java.lang.Object
com.agisoft.metashape.Task
com.agisoft.metashape.tasks.ExportPoints
All Implemented Interfaces:
AutoCloseable

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

    • ExportPoints

      public ExportPoints()
  • Method Details

    • setBinary

      public void setBinary(boolean value)
      Enables/disables binary encoding for selected format (if applicable).
    • getBinary

      public boolean getBinary()
      Enables/disables binary encoding for selected format (if applicable).
    • setBlockHeight

      public void setBlockHeight(double value)
      Block height in meters. Default: 1000.0
    • getBlockHeight

      public double getBlockHeight()
      Block height in meters. Default: 1000.0
    • setBlockWidth

      public void setBlockWidth(double value)
      Block width in meters. Default: 1000.0
    • getBlockWidth

      public double getBlockWidth()
      Block width in meters. Default: 1000.0
    • setClasses

      public void setClasses(int[] value)
      List of dense point classes to be exported.
    • getClasses

      public int[] getClasses()
      List of dense point classes to be exported.
    • setClipToBoundary

      public void setClipToBoundary(boolean value)
      Clip point cloud to boundary shapes.
    • getClipToBoundary

      public boolean getClipToBoundary()
      Clip point cloud to boundary shapes.
    • setColorsRgb8Bit

      public void setColorsRgb8Bit(boolean value)
      Convert colors to 8 bit RGB.
    • getColorsRgb8Bit

      public boolean getColorsRgb8Bit()
      Convert colors to 8 bit RGB.
    • setComment

      public void setComment(String value)
      Optional comment (if supported by selected format).
    • getComment

      public String getComment()
      Optional comment (if supported by selected format).
    • setCompression

      public void setCompression(boolean value)
      Enable compression (Cesium format only).
    • getCompression

      public boolean getCompression()
      Enable compression (Cesium format only).
    • setCRS

      public void setCRS(CoordinateSystem value)
      Output coordinate system.
    • getCRS

      public CoordinateSystem getCRS()
      Output coordinate system.
    • setFolderDepth

      public void setFolderDepth(int value)
      Tileset subdivision depth (Cesium format only). Default: 5
    • getFolderDepth

      public int getFolderDepth()
      Tileset subdivision depth (Cesium format only). Default: 5
    • setFormat

      public void setFormat(PointsFormat value)
      Export format. Default: PointsFormat.PointsFormatNone
    • getFormat

      public PointsFormat getFormat()
      Export format. Default: PointsFormat.PointsFormatNone
    • setImageFormat

      public void setImageFormat(ImageFormat value)
      Image data format. Default: ImageFormat.ImageFormatJPEG
    • getImageFormat

      public ImageFormat getImageFormat()
      Image data format. Default: ImageFormat.ImageFormatJPEG
    • setPath

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

      public String getPath()
      Path to output file.
    • 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(BBox value)
      Region to be exported.
    • getRegion

      public BBox getRegion()
      Region to be exported.
    • setSaveClasses

      public void setSaveClasses(boolean value)
      Enables/disables export of point classes.
    • getSaveClasses

      public boolean getSaveClasses()
      Enables/disables export of point classes.
    • setSaveColors

      public void setSaveColors(boolean value)
      Enables/disables export of point colors.
    • getSaveColors

      public boolean getSaveColors()
      Enables/disables export of point colors.
    • setSaveComment

      public void setSaveComment(boolean value)
      Enable comment export.
    • getSaveComment

      public boolean getSaveComment()
      Enable comment export.
    • setSaveConfidence

      public void setSaveConfidence(boolean value)
      Enables/disables export of point confidence.
    • getSaveConfidence

      public boolean getSaveConfidence()
      Enables/disables export of point confidence.
    • setSaveImages

      public void setSaveImages(boolean value)
      Enable image export.
    • getSaveImages

      public boolean getSaveImages()
      Enable image export.
    • setSaveNormals

      public void setSaveNormals(boolean value)
      Enables/disables export of point normals.
    • getSaveNormals

      public boolean getSaveNormals()
      Enables/disables export of point normals.
    • setScreenSpaceError

      public void setScreenSpaceError(double value)
      Target screen space error (Cesium format only). Default: 16.0
    • getScreenSpaceError

      public double getScreenSpaceError()
      Target screen space error (Cesium format only). Default: 16.0
    • setShift

      public void setShift(Vector value)
      Optional shift to be applied to point coordinates.
    • getShift

      public Vector getShift()
      Optional shift to be applied to point coordinates.
    • setSourceData

      public void setSourceData(DataSource value)
      Selects between dense point cloud and tie points. If not specified, uses dense cloud if available. Default: DataSource.DenseCloudData
    • getSourceData

      public DataSource getSourceData()
      Selects between dense point cloud and tie points. If not specified, uses dense cloud if available. Default: DataSource.DenseCloudData
    • setSplitInBlocks

      public void setSplitInBlocks(boolean value)
      Enable tiled export.
    • getSplitInBlocks

      public boolean getSplitInBlocks()
      Enable tiled export.
    • setSubdivideTask

      public void setSubdivideTask(boolean value)
      Enable fine-level task subdivision.
    • getSubdivideTask

      public boolean getSubdivideTask()
      Enable fine-level task subdivision.
    • setViewpoint

      public void setViewpoint(Viewpoint value)
      Default view.
    • getViewpoint

      public Viewpoint getViewpoint()
      Default view.