Interface AvgMeshVisitor

All Superinterfaces:
KdTreeVisitor, MeshVisitor, OctreeVisitor
All Known Implementing Classes:
AvgMeshVisitorNN, AvgMeshVisitorRC, AvgMeshVisitorRCGPU

public interface AvgMeshVisitor extends KdTreeVisitor, OctreeVisitor, MeshVisitor
An interface declaring the ability to deform a template mesh into an average mesh based on visiting other meshes. Specific implementations are usually able to visit only one polygonal structure, either k-d tree, octree, or mesh. Therefore, check which of the visiting methods are supported by the respective implementing class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the averaged mesh model
    default boolean
    Returns true if the implementation is thread-safe and then a single visitor instance can be applied to multiple k-d trees simultaneously.
    default void
    The main inspection method to be implemented by specific visitors.
    default void
    The inspection method to be implemented by specific visitors.
    default void
    The main inspection method to be implemented by specific visitors.

    Methods inherited from interface cz.fidentis.analyst.data.mesh.MeshVisitor

    dispose
  • Method Details

    • getAveragedMeshModel

      MeshModel getAveragedMeshModel()
      Returns the averaged mesh model
      Returns:
      averaged mesh model
    • isThreadSafe

      default boolean isThreadSafe()
      Description copied from interface: KdTreeVisitor
      Returns true if the implementation is thread-safe and then a single visitor instance can be applied to multiple k-d trees simultaneously.

      Thread-safe implementation means that any read or write from/to the visitor's state is protected by synchronized.

      Specified by:
      isThreadSafe in interface KdTreeVisitor
      Specified by:
      isThreadSafe in interface MeshVisitor
      Specified by:
      isThreadSafe in interface OctreeVisitor
      Returns:
      true if the implementation is thread-safe.
    • visitKdTree

      default void visitKdTree(KdTree kdTree)
      Description copied from interface: KdTreeVisitor
      The main inspection method to be implemented by specific visitors.
      Specified by:
      visitKdTree in interface KdTreeVisitor
      Parameters:
      kdTree - K-d tree to be visited
    • visitOctree

      default void visitOctree(Octree octree)
      Description copied from interface: OctreeVisitor
      The main inspection method to be implemented by specific visitors.
      Specified by:
      visitOctree in interface OctreeVisitor
      Parameters:
      octree - octree to be visited
    • visitMeshFacet

      default void visitMeshFacet(MeshFacet facet)
      Description copied from interface: MeshVisitor
      The inspection method to be implemented by specific visitors.
      Specified by:
      visitMeshFacet in interface MeshVisitor
      Parameters:
      facet - Mesh facet to be visited.