Commit daf41b6c authored by Daniel Schramm's avatar Daniel Schramm
Browse files

HumanFace javadoc added

parent 2cec121b
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -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();