Package com.agisoft.metashape.tasks
Class ExportModel
java.lang.Object
com.agisoft.metashape.tasks.Task
com.agisoft.metashape.tasks.ExportModel
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 (if supported by format).booleanClip model to boundary shapes.booleanConvert colors to 8 bit RGB.Optional comment (if supported by selected format).protected static longgetCPtr(ExportModel obj) getCRS()Output coordinate system.booleanEmbeds texture inside the model file (if supported by format).Export format.getPath()Path to output model.intNumber of digits after the decimal point (for text formats).Raster band transformation.booleanEnables/disables alpha channel export.booleanEnables/disables camera export.booleanEnables/disables export of vertex colors.booleanEnables/disables comment export.booleanEnables/disables export of vertex confidence.booleanEnables/disables marker export.booleanEnables/disables export of vertex normals.booleanEnables/disables texture export.booleanEnables/disables UDIM texture layout.booleanEnables/disables uv coordinates export.getShift()Optional shift to be applied to vertex coordinates.booleanStrips camera label extensions during export.Texture format.Default view.voidsetBinary(boolean value) Enables/disables binary encoding (if supported by format).voidsetClipToBoundary(boolean value) Clip model 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.voidsetEmbedTexture(boolean value) Embeds texture inside the model file (if supported by format).voidsetFormat(ModelFormat value) Export format.voidPath to output model.voidsetPrecision(int value) Number of digits after the decimal point (for text formats).voidRaster band transformation.voidsetSaveAlpha(boolean value) Enables/disables alpha channel export.voidsetSaveCameras(boolean value) Enables/disables camera export.voidsetSaveColors(boolean value) Enables/disables export of vertex colors.voidsetSaveComment(boolean value) Enables/disables comment export.voidsetSaveConfidence(boolean value) Enables/disables export of vertex confidence.voidsetSaveMarkers(boolean value) Enables/disables marker export.voidsetSaveNormals(boolean value) Enables/disables export of vertex normals.voidsetSaveTexture(boolean value) Enables/disables texture export.voidsetSaveUdim(boolean value) Enables/disables UDIM texture layout.voidsetSaveUv(boolean value) Enables/disables uv coordinates export.voidOptional shift to be applied to vertex coordinates.voidsetStripExtensions(boolean value) Strips camera label extensions during export.voidsetTextureFormat(ImageFormat value) Texture format.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
-
ExportModel
protected ExportModel(long cPtr, boolean cMemoryOwn) -
ExportModel
public ExportModel()
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
setBinary
public void setBinary(boolean value) Enables/disables binary encoding (if supported by format). Default: true -
getBinary
public boolean getBinary()Enables/disables binary encoding (if supported by format). Default: true -
setClipToBoundary
public void setClipToBoundary(boolean value) Clip model to boundary shapes. Default: true -
getClipToBoundary
public boolean getClipToBoundary()Clip model 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. -
setEmbedTexture
public void setEmbedTexture(boolean value) Embeds texture inside the model file (if supported by format). Default: false -
getEmbedTexture
public boolean getEmbedTexture()Embeds texture inside the model file (if supported by format). Default: false -
setFormat
Export format. Default: ModelFormat.ModelFormatNone -
getFormat
Export format. Default: ModelFormat.ModelFormatNone -
setPath
Path to output model. -
getPath
Path to output model. -
setPrecision
public void setPrecision(int value) Number of digits after the decimal point (for text formats). Default: 6 -
getPrecision
public int getPrecision()Number of digits after the decimal point (for text formats). Default: 6 -
setRasterTransform
Raster band transformation. Default: RasterTransformType.RasterTransformNone -
getRasterTransform
Raster band transformation. Default: RasterTransformType.RasterTransformNone -
setSaveAlpha
public void setSaveAlpha(boolean value) Enables/disables alpha channel export. Default: false -
getSaveAlpha
public boolean getSaveAlpha()Enables/disables alpha channel export. Default: false -
setSaveCameras
public void setSaveCameras(boolean value) Enables/disables camera export. Default: true -
getSaveCameras
public boolean getSaveCameras()Enables/disables camera export. Default: true -
setSaveColors
public void setSaveColors(boolean value) Enables/disables export of vertex colors. Default: true -
getSaveColors
public boolean getSaveColors()Enables/disables export of vertex colors. Default: true -
setSaveComment
public void setSaveComment(boolean value) Enables/disables comment export. Default: true -
getSaveComment
public boolean getSaveComment()Enables/disables comment export. Default: true -
setSaveConfidence
public void setSaveConfidence(boolean value) Enables/disables export of vertex confidence. Default: false -
getSaveConfidence
public boolean getSaveConfidence()Enables/disables export of vertex confidence. Default: false -
setSaveMarkers
public void setSaveMarkers(boolean value) Enables/disables marker export. Default: true -
getSaveMarkers
public boolean getSaveMarkers()Enables/disables marker export. Default: true -
setSaveNormals
public void setSaveNormals(boolean value) Enables/disables export of vertex normals. Default: true -
getSaveNormals
public boolean getSaveNormals()Enables/disables export of vertex normals. Default: true -
setSaveTexture
public void setSaveTexture(boolean value) Enables/disables texture export. Default: true -
getSaveTexture
public boolean getSaveTexture()Enables/disables texture export. Default: true -
setSaveUdim
public void setSaveUdim(boolean value) Enables/disables UDIM texture layout. Default: false -
getSaveUdim
public boolean getSaveUdim()Enables/disables UDIM texture layout. Default: false -
setSaveUv
public void setSaveUv(boolean value) Enables/disables uv coordinates export. Default: true -
getSaveUv
public boolean getSaveUv()Enables/disables uv coordinates export. Default: true -
setShift
Optional shift to be applied to vertex coordinates. -
getShift
Optional shift to be applied to vertex coordinates. -
setStripExtensions
public void setStripExtensions(boolean value) Strips camera label extensions during export. Default: false -
getStripExtensions
public boolean getStripExtensions()Strips camera label extensions during export. Default: false -
setTextureFormat
Texture format. Default: ImageFormat.ImageFormatJPEG -
getTextureFormat
Texture format. Default: ImageFormat.ImageFormatJPEG -
setViewpoint
Default view. -
getViewpoint
Default view.
-