Package com.agisoft.metashape.tasks
Class BuildTexture
java.lang.Object
com.agisoft.metashape.tasks.Task
com.agisoft.metashape.tasks.BuildTexture
public class BuildTexture 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 BuildTexture()protectedBuildTexture(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and Type Method Description voiddelete()protected voidfinalize()BlendingModegetBlendingMode()Texture blending mode.int[]getCameras()A list of cameras to be used for texturing.protected static longgetCPtr(BuildTexture obj)booleangetFillHoles()Enable hole filling.booleangetGhostingFilter()Enable ghosting filter.intgetSourceModel()Source model.intgetTextureSize()Texture page size.Model.TextureTypegetTextureType()Texture type.booleangetTransferTexture()Transfer texture.voidsetBlendingMode(BlendingMode value)Texture blending mode.voidsetCameras(int[] value)A list of cameras to be used for texturing.voidsetFillHoles(boolean value)Enable hole filling.voidsetGhostingFilter(boolean value)Enable ghosting filter.voidsetSourceModel(int value)Source model.voidsetTextureSize(int value)Texture page size.voidsetTextureType(Model.TextureType value)Texture type.voidsetTransferTexture(boolean value)Transfer texture.Methods inherited from class com.agisoft.metashape.tasks.Task
apply, apply, getCPtr, getName, getParameter, getWorkitemCount, setParameter, setWorkitemCount
-
Constructor Details
-
BuildTexture
protected BuildTexture(long cPtr, boolean cMemoryOwn) -
BuildTexture
public BuildTexture()
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
setBlendingMode
Texture blending mode. Default: BlendingMode.MosaicBlending -
getBlendingMode
Texture blending mode. Default: BlendingMode.MosaicBlending -
setCameras
public void setCameras(int[] value)A list of cameras to be used for texturing. -
getCameras
public int[] getCameras()A list of cameras to be used for texturing. -
setFillHoles
public void setFillHoles(boolean value)Enable hole filling. Default: true -
getFillHoles
public boolean getFillHoles()Enable hole filling. Default: true -
setGhostingFilter
public void setGhostingFilter(boolean value)Enable ghosting filter. Default: true -
getGhostingFilter
public boolean getGhostingFilter()Enable ghosting filter. Default: true -
setSourceModel
public void setSourceModel(int value)Source model. Default: -1 -
getSourceModel
public int getSourceModel()Source model. Default: -1 -
setTextureSize
public void setTextureSize(int value)Texture page size. Default: 4096 -
getTextureSize
public int getTextureSize()Texture page size. Default: 4096 -
setTextureType
Texture type. Default: Model.TextureType.DiffuseMap -
getTextureType
Texture type. Default: Model.TextureType.DiffuseMap -
setTransferTexture
public void setTransferTexture(boolean value)Transfer texture. Default: true -
getTransferTexture
public boolean getTransferTexture()Transfer texture. Default: true
-