Interface IcpServices


public interface IcpServices
Stateless services for IPC registration. It is a wrapper to the stateful implementation of IcpVisitor. Return history of transformations has the following structure:

Keys in the map contain mesh facets that were inspected and transformed. For each transformed facet, a list of transformations to the primary mesh is stored. The order of transformations corresponds to the order of ICP iterations, i.e., the i-th value is the transformation applied in the i-th iteration on the visited mesh facet. It also means that the size of the list corresponds to the number of iterations performed for given mesh facet.

  • Method Details

    • transform

      static Map<MeshFacet,List<IcpTransformation>> transform(Collection<MeshFacet> facets, IcpConfig config)
      Transforms (!) given mesh facets and returns the history of applied transformations.
      Parameters:
      facets - Meshes to be transformed
      config - Configuration of the service
      Returns:
      the history of applied transformations
    • transform

      static Map<MeshFacet,List<IcpTransformation>> transform(MeshFacet facet, IcpConfig config)
      Transforms (!) given mesh facets and returns the history of applied transformations.
      Parameters:
      facet - Mesh to be transformed
      config - Configuration of the service
      Returns:
      the history of applied transformations
    • transform

      static Map<MeshFacet,List<IcpTransformation>> transform(MeshModel model, IcpConfig config)
      Transforms (!) given mesh facets and returns the history of applied transformations.
      Parameters:
      model - Mesh to be transformed
      config - Configuration of the service
      Returns:
      the history of applied transformations