Package net.imglib2.mesh.alg
Class SimplifyMesh
- java.lang.Object
-
- net.imglib2.mesh.alg.SimplifyMesh
-
public class SimplifyMesh extends Object
- Author:
- James Khan / jayfella, Deborah Schmidt / frauzufall
-
-
Constructor Summary
Constructors Constructor Description SimplifyMesh(Mesh mesh)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Meshsimplify(float target_percent, double agressiveness)Begins the simplification process.
-
-
-
Constructor Detail
-
SimplifyMesh
public SimplifyMesh(Mesh mesh)
-
-
Method Detail
-
simplify
public Mesh simplify(float target_percent, double agressiveness)
Begins the simplification process.- Parameters:
target_percent- the amount in percent to attempt to achieve. For example: 0.25f would result in creating a mesh with 25% of triangles contained in the original.agressiveness- sharpness to increase the threshold. 5..8 are good numbers. more iterations yield higher quality. Minimum 4 and maximum 20 are recommended.
-
-