Package com.agisoft.metashape.tasks
Class ExportPoints
java.lang.Object
com.agisoft.metashape.tasks.Task
com.agisoft.metashape.tasks.ExportPoints
public class ExportPoints extends Task
Task class containing processing parameters.
-
Field Summary
Fields inherited from class com.agisoft.metashape.tasks.Task
swigCMemOwn -
Constructor Summary
Constructors Modifier Constructor Description ExportPoints()protectedExportPoints(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and Type Method Description voiddelete()protected voidfinalize()booleangetBinary()Enables/disables binary encoding for selected format (if applicable).doublegetBlockHeight()Block height in meters.doublegetBlockWidth()Block width in meters.int[]getClasses()List of dense point classes to be exported.booleangetClipToBoundary()Clip point cloud to boundary shapes.booleangetColorsRgb8Bit()Convert colors to 8 bit RGB.StringgetComment()Optional comment (if supported by selected format).protected static longgetCPtr(ExportPoints obj)CoordinateSystemgetCRS()Output coordinate system.PointsFormatgetFormat()Export format.ImageFormatgetImageFormat()Image data format.StringgetPath()Path to output file.RasterTransformTypegetRasterTransform()Raster band transformation.BBox2dgetRegion()Region to be exported.booleangetSaveClasses()Enables/disables export of point classes.booleangetSaveColors()Enables/disables export of point colors.booleangetSaveComment()Enable comment export.booleangetSaveConfidence()Enables/disables export of point confidence.booleangetSaveImages()Enable image export.booleangetSaveNormals()Enables/disables export of point normals.Vector3dgetShift()Optional shift to be applied to point coordinates.DataSourcegetSourceData()Selects between dense point cloud and sparse point cloud.booleangetSplitInBlocks()Enable tiled export.booleangetSubdivideTask()Enable fine-level task subdivision.ViewpointgetViewpoint()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).voidsetCRS(CoordinateSystem value)Output coordinate system.voidsetFormat(PointsFormat value)Export format.voidsetImageFormat(ImageFormat value)Image data format.voidsetPath(String value)Path to output file.voidsetRasterTransform(RasterTransformType value)Raster band transformation.voidsetRegion(BBox2d value)Region 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.voidsetShift(Vector3d value)Optional 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, getWorkitemCount, setParameter, setWorkitemCount
-
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). -
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.
-