Interface AvgMeshServices


public interface AvgMeshServices
Stateless services for average face calculation.
  • Method Details

    • computeFromNearestNeighbors

      static MeshModel computeFromNearestNeighbors(KdTree kdTree, AvgMeshConfig config)
      Returns a list of samples from the given mesh.
      Parameters:
      kdTree - Mesh to be averaged
      config - Configuration of the service
      Returns:
      the average mesh or null
    • computeFromNearestNeighbors

      static MeshModel computeFromNearestNeighbors(Collection<KdTree> kdTrees, AvgMeshConfig config)
      Returns a list of samples from the given mesh.
      Parameters:
      kdTrees - Meshes to be averaged
      config - Configuration of the service
      Returns:
      the average mesh or null
    • computeByRayCasting

      static MeshModel computeByRayCasting(Octree octree, AvgMeshConfig config)
      Returns a list of samples from the given mesh.
      Parameters:
      octree - Mesh to be averaged
      config - Configuration of the service
      Returns:
      the average mesh or null
    • computeByRayCasting

      static MeshModel computeByRayCasting(Collection<Octree> octrees, AvgMeshConfig config)
      Returns a list of samples from the given mesh.
      Parameters:
      octrees - Meshes to be averaged
      config - Configuration of the service
      Returns:
      the average mesh or null