Interface FeaturePointsTable

All Known Implementing Classes:
FeaturePointsTableImpl

public interface FeaturePointsTable
A singleton providing information about standard anthropometric feature points, i.e., their name, description, or code. Use LandmarksFactory to deal with specific instances of landmarks or feature points located at a specific 3D positions.
  • Method Details

    • getInstance

      static FeaturePointsTable getInstance()
      Returns singleton's instance.
      Returns:
      object's instance
    • getIDs

      Set<Integer> getIDs()
      Returns IDs of all known feature points
      Returns:
      IDs of all known feature points
    • getFpName

      String getFpName(int id)
      Returns name of the feature point.
      Parameters:
      id - ID aka type
      Returns:
      the name of the feature point, null if the FP does not exist
    • getFpDescription

      String getFpDescription(int id)
      Returns description of the feature point.
      Parameters:
      id - ID aka type
      Returns:
      description of the feature point, null if the FP does not exist
    • getFpCode

      String getFpCode(int id)
      Returns standard code of the feature point.
      Parameters:
      id - ID aka type
      Returns:
      standard code of the feature point, null if the FP does not exist
    • getIdFromCode

      int getIdFromCode(String code)
      Return ID of the feature point based on a known FP code.
      Parameters:
      code - FP code
      Returns:
      ID of the feature point, -1 if FP with such code does not exist
    • getIdFromName

      int getIdFromName(String name)
      Return ID of the feature point based on a known FP code.
      Parameters:
      name - FP name
      Returns:
      ID of the feature point, -1 if FP with such code does not exist