Package com.agisoft.metashape.tasks
Class ExportPoints
java.lang.Object
com.agisoft.metashape.tasks.Task
com.agisoft.metashape.tasks.ExportPoints
Task class containing processing parameters.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.agisoft.metashape.tasks.Task
Task.TaskTarget -
Field Summary
Fields inherited from class com.agisoft.metashape.tasks.Task
swigCMemOwn -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()protected voidfinalize()booleanEnables/disables binary encoding for selected format (if applicable).doubleBlock height in meters.doubleBlock width in meters.int[]List of dense point classes to be exported.booleanClip point cloud to boundary shapes.booleanConvert colors to 8 bit RGB.Optional comment (if supported by selected format).booleanEnable compression (Cesium format only).protected static longgetCPtr(ExportPoints obj) getCRS()Output coordinate system.Export format.Image data format.getPath()Path to output file.Raster band transformation.Region to be exported.booleanEnables/disables export of point classes.booleanEnables/disables export of point colors.booleanEnable comment export.booleanEnables/disables export of point confidence.booleanEnable image export.booleanEnables/disables export of point normals.getShift()Optional shift to be applied to point coordinates.Selects between dense point cloud and sparse point cloud.booleanEnable tiled export.booleanEnable fine-level task subdivision.Default view.voidsetBinary(boolean value) Enables/disables binary encoding for selected format (if applicable).voidsetBlockHeight(double value) Block height in meters.voidsetBlockWidth(double value) Block width in meters.voidsetClasses(int[] value) List of dense point classes to be exported.voidsetClipToBoundary(boolean value) Clip point cloud to boundary shapes.voidsetColorsRgb8Bit(boolean value) Convert colors to 8 bit RGB.voidsetComment(String value) Optional comment (if supported by selected format).voidsetCompression(boolean value) Enable compression (Cesium format only).voidsetCRS(CoordinateSystem value) Output coordinate system.voidsetFormat(PointsFormat value) Export format.voidsetImageFormat(ImageFormat value) Image data format.voidPath to output file.voidRaster band transformation.voidRegion to be exported.voidsetSaveClasses(boolean value) Enables/disables export of point classes.voidsetSaveColors(boolean value) Enables/disables export of point colors.voidsetSaveComment(boolean value) Enable comment export.voidsetSaveConfidence(boolean value) Enables/disables export of point confidence.voidsetSaveImages(boolean value) Enable image export.voidsetSaveNormals(boolean value) Enables/disables export of point normals.voidOptional shift to be applied to point coordinates.voidsetSourceData(DataSource value) Selects between dense point cloud and sparse point cloud.voidsetSplitInBlocks(boolean value) Enable tiled export.voidsetSubdivideTask(boolean value) Enable fine-level task subdivision.voidsetViewpoint(Viewpoint value) Default view.Methods inherited from class com.agisoft.metashape.tasks.Task
apply, apply, getCPtr, getName, getParameter, getParameterNames, getTarget, getWorkitemCount, isGPUSupported, setParameter, setWorkitemCount, toNetworkTask, toNetworkTask, toNetworkTask, toNetworkTask
-
Constructor Details
-
ExportPoints
protected ExportPoints(long cPtr, boolean cMemoryOwn) -
ExportPoints
public ExportPoints()
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
setBinary
public void setBinary(boolean value) Enables/disables binary encoding for selected format (if applicable). Default: true -
getBinary
public boolean getBinary()Enables/disables binary encoding for selected format (if applicable). Default: true -
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. Default: true -
getClipToBoundary
public boolean getClipToBoundary()Clip point cloud to boundary shapes. Default: true -
setColorsRgb8Bit
public void setColorsRgb8Bit(boolean value) Convert colors to 8 bit RGB. Default: true -
getColorsRgb8Bit
public boolean getColorsRgb8Bit()Convert colors to 8 bit RGB. Default: true -
setComment
Optional comment (if supported by selected format). -
getComment
Optional comment (if supported by selected format). -
setCompression
public void setCompression(boolean value) Enable compression (Cesium format only). Default: true -
getCompression
public boolean getCompression()Enable compression (Cesium format only). Default: true -
setCRS
Output coordinate system. -
getCRS
Output coordinate system. -
setFormat
Export format. Default: PointsFormat.PointsFormatNone -
getFormat
Export format. Default: PointsFormat.PointsFormatNone -
setImageFormat
Image data format. Default: ImageFormat.ImageFormatJPEG -
getImageFormat
Image data format. Default: ImageFormat.ImageFormatJPEG -
setPath
Path to output file. -
getPath
Path to output file. -
setRasterTransform
Raster band transformation. Default: RasterTransformType.RasterTransformNone -
getRasterTransform
Raster band transformation. Default: RasterTransformType.RasterTransformNone -
setRegion
Region to be exported. -
getRegion
Region to be exported. -
setSaveClasses
public void setSaveClasses(boolean value) Enables/disables export of point classes. Default: true -
getSaveClasses
public boolean getSaveClasses()Enables/disables export of point classes. Default: true -
setSaveColors
public void setSaveColors(boolean value) Enables/disables export of point colors. Default: true -
getSaveColors
public boolean getSaveColors()Enables/disables export of point colors. Default: true -
setSaveComment
public void setSaveComment(boolean value) Enable comment export. Default: true -
getSaveComment
public boolean getSaveComment()Enable comment export. Default: true -
setSaveConfidence
public void setSaveConfidence(boolean value) Enables/disables export of point confidence. Default: true -
getSaveConfidence
public boolean getSaveConfidence()Enables/disables export of point confidence. Default: true -
setSaveImages
public void setSaveImages(boolean value) Enable image export. Default: false -
getSaveImages
public boolean getSaveImages()Enable image export. Default: false -
setSaveNormals
public void setSaveNormals(boolean value) Enables/disables export of point normals. Default: true -
getSaveNormals
public boolean getSaveNormals()Enables/disables export of point normals. Default: true -
setShift
Optional shift to be applied to point coordinates. -
getShift
Optional shift to be applied to point coordinates. -
setSourceData
Selects between dense point cloud and sparse point cloud. If not specified, uses dense cloud if available. Default: DataSource.DenseCloudData -
getSourceData
Selects between dense point cloud and sparse point cloud. If not specified, uses dense cloud if available. Default: DataSource.DenseCloudData -
setSplitInBlocks
public void setSplitInBlocks(boolean value) Enable tiled export. Default: false -
getSplitInBlocks
public boolean getSplitInBlocks()Enable tiled export. Default: false -
setSubdivideTask
public void setSubdivideTask(boolean value) Enable fine-level task subdivision. Default: true -
getSubdivideTask
public boolean getSubdivideTask()Enable fine-level task subdivision. Default: true -
setViewpoint
Default view. -
getViewpoint
Default view.
-