Skip to content
Snippets Groups Projects
Commit bde7bdd5 authored by Radek Ošlejšek's avatar Radek Ošlejšek
Browse files

Testing

parent d478bcb4
No related branches found
No related tags found
No related merge requests found
package cz.fidentis.analyst.tests;
import cz.fidentis.analyst.face.HumanFace;
import cz.fidentis.analyst.icp.Icp;
import cz.fidentis.analyst.kdtree.KdTree;
import cz.fidentis.analyst.mesh.core.MeshFacet;
import cz.fidentis.analyst.symmetry.Config;
......@@ -36,7 +37,7 @@ public class EfficiencyTests {
* @throws IOException on IO error
*/
public static void main(String[] args) throws IOException {
face1 = new HumanFace(faceFile2);
face1 = new HumanFace(boyFile);
face2 = new HumanFace(faceFile4);
face1.getMeshModel().simplifyModel();
......@@ -47,6 +48,10 @@ public class EfficiencyTests {
//face1.getMeshModel().compute(new GaussianCurvature()); // initialize everything, then measure
System.out.println("ICP:");
Icp icp = new Icp();
icp.getTransformedFacet(face1.getMeshModel().getFacets().get(0), face2.getMeshModel().getFacets().get(0));
System.out.println("Symmetry plane calculation:");
printSymmetryPlane(face1, true, SignificantPoints.CurvatureAlg.MEAN);
printSymmetryPlane(face1, true, SignificantPoints.CurvatureAlg.GAUSSIAN);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment