Interface Landmark

All Superinterfaces:
IPosition, Serializable
All Known Implementing Classes:
FeaturePointImpl, LandmarkAbstract, LandmarkImpl

public interface Landmark extends IPosition, Serializable
Either user-defined or standard anthropometric feature point.
  • Method Details

    • getType

      int getType()
      Returns unique ID aka type of the feature point or user-defined landmark.
      Returns:
      unique ID
    • getPosition

      javax.vecmath.Point3d getPosition()
      Description copied from interface: IPosition
      get position of the Point3d object
      Specified by:
      getPosition in interface IPosition
      Returns:
      position of the Point3d object
    • setPosition

      void setPosition(javax.vecmath.Point3d position)
      Update 3D position
      Parameters:
      position - New 3D position. Must not be null
    • clone

      Landmark clone()
      Clones the landmark
      Returns:
      a clone of the landmark
    • getMeshVicinity

      MeshVicinity getMeshVicinity()
      Returns the closest mesh vicinity
      Returns:
      the closest mesh vicinity
    • setMeshVicinity

      void setMeshVicinity(MeshVicinity meshVicinity)
      Updates the closest mesh vicinity
      Parameters:
      meshVicinity - new closest mesh vicinity
    • hasMeshVicinity

      boolean hasMeshVicinity()
      Returns true, if the vicinity is set
      Returns:
      true, if the vicinity is set
    • getName

      String getName()
      Returns a short name of the landmark, either user-defined or standard name of anthropometric feature point.
      Returns:
      a short name
    • setName

      void setName(String name)
      Sets new short name.
      Parameters:
      name - new name
    • getDescription

      String getDescription()
      Returns description of the landmark.
      Returns:
      description of the landmark
    • setDescription

      void setDescription(String description)
      Updates description.
      Parameters:
      description - new description
    • getCode

      String getCode()
      Returns a short code
      Returns:
      a short code
    • isStandardFeaturePoint

      boolean isStandardFeaturePoint()
      Determines whether the landmark is standard anthropometric feature point or user-defined landmark.
      Returns:
      true if the landmark is a standard anthropometric feature point
    • isUserDefinedLandmark

      default boolean isUserDefinedLandmark()
      Determines whether the landmark is standard anthropometric feature point or user-defined landmark.
      Returns:
      true if the landmark is a user-defined landmark
    • landmarksOfTheSameType

      static Collection<Landmark> landmarksOfTheSameType(Collection<Landmark> col1, Collection<Landmark> col2)
      Find landmarks of the same type (id). Landmarks of ID -1 are skipped.
      Parameters:
      col1 - First collection. Must not be null
      col2 - Second collection. Must not be null
      Returns:
      Landmarks of the same type