Package com.agisoft.metashape.tasks
Class RefineMesh
java.lang.Object
com.agisoft.metashape.tasks.Task
com.agisoft.metashape.tasks.RefineMesh
public class RefineMesh 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 RefineMesh()protectedRefineMesh(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and Type Method Description voiddelete()protected voidfinalize()int[]getCameras()List of cameras to process.protected static longgetCPtr(RefineMesh obj)intgetDownscale()Refinement quality.intgetIterations()Number of refinement iterations.doublegetSmoothness()Smoothing strength.voidsetCameras(int[] value)List of cameras to process.voidsetDownscale(int value)Refinement quality.voidsetIterations(int value)Number of refinement iterations.voidsetSmoothness(double value)Smoothing strength.Methods inherited from class com.agisoft.metashape.tasks.Task
apply, apply, getCPtr, getName, getParameter, getWorkitemCount, setParameter, setWorkitemCount
-
Constructor Details
-
RefineMesh
protected RefineMesh(long cPtr, boolean cMemoryOwn) -
RefineMesh
public RefineMesh()
-
-
Method Details
-
getCPtr
-
finalize
protected void finalize() -
delete
public void delete() -
setCameras
public void setCameras(int[] value)List of cameras to process. -
getCameras
public int[] getCameras()List of cameras to process. -
setDownscale
public void setDownscale(int value)Refinement quality. Default: 4 -
getDownscale
public int getDownscale()Refinement quality. Default: 4 -
setIterations
public void setIterations(int value)Number of refinement iterations. Default: 10 -
getIterations
public int getIterations()Number of refinement iterations. Default: 10 -
setSmoothness
public void setSmoothness(double value)Smoothing strength. Should be in range [0, 1]. Default: 0.5 -
getSmoothness
public double getSmoothness()Smoothing strength. Should be in range [0, 1]. Default: 0.5
-