entente.landmarks.landmarker module¶
Functions for transferring landmarks from one mesh to another.
This module requires libspatialindex and rtree. See note in trimesh_search.py.
-
class
entente.landmarks.landmarker.Landmarker(source_mesh, landmarks)[source]¶ Bases:
objectAn object which encapsulates a source mesh and a set of landmarks on that mesh. Its function is to transfer those landmarks onto a new mesh.
The resultant landmarks will always be on or near the surface of the mesh.
Parameters: - source_mesh (lace.mesh.Mesh) – The source mesh
- landmarks (dict) – A mapping of landmark names to the points, which are 3x1 arraylike objects.