Loading Comparison/src/main/java/cz/fidentis/analyst/face/HumanFace.java +15 −0 Original line number Diff line number Diff line Loading @@ -176,14 +176,29 @@ public class HumanFace implements MeshListener, Serializable { return cuttingPlane; } /** * * @param points List of feature points */ public void setFeaturePoints(List<FeaturePoint> points) { featurePoints = points; } /** * Reads feature points from a file with the given path. * * @param path Directory where the file is located * @param fileName Name of the file * @throws IOException on I/O failure */ public void loadFeaturePoints(String path, String fileName) throws IOException { featurePoints = FeaturePointImportExportService.importFeaturePoints(path, fileName); } /** * * @return The face's feature points. */ public List<FeaturePoint> getFeaturePoints() { if (featurePoints == null) { return Collections.emptyList(); Loading Loading
Comparison/src/main/java/cz/fidentis/analyst/face/HumanFace.java +15 −0 Original line number Diff line number Diff line Loading @@ -176,14 +176,29 @@ public class HumanFace implements MeshListener, Serializable { return cuttingPlane; } /** * * @param points List of feature points */ public void setFeaturePoints(List<FeaturePoint> points) { featurePoints = points; } /** * Reads feature points from a file with the given path. * * @param path Directory where the file is located * @param fileName Name of the file * @throws IOException on I/O failure */ public void loadFeaturePoints(String path, String fileName) throws IOException { featurePoints = FeaturePointImportExportService.importFeaturePoints(path, fileName); } /** * * @return The face's feature points. */ public List<FeaturePoint> getFeaturePoints() { if (featurePoints == null) { return Collections.emptyList(); Loading