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 Summary
Modifier and TypeMethodDescriptiongetFpCode
(int id) Returns standard code of the feature point.getFpDescription
(int id) Returns description of the feature point.getFpName
(int id) Returns name of the feature point.int
getIdFromCode
(String code) Return ID of the feature point based on a known FP code.int
getIdFromName
(String name) Return ID of the feature point based on a known FP code.getIDs()
Returns IDs of all known feature pointsstatic FeaturePointsTable
Returns singleton's instance.
-
Method Details
-
getInstance
Returns singleton's instance.- Returns:
- object's instance
-
getIDs
Returns IDs of all known feature points- Returns:
- IDs of all known feature points
-
getFpName
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
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
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
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
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
-