Class FeaturePointImpl
java.lang.Object
cz.fidentis.analyst.data.landmarks.impl.LandmarkAbstract
cz.fidentis.analyst.data.landmarks.impl.FeaturePointImpl
- All Implemented Interfaces:
Landmark
,IPosition
,Serializable
A standard anthropometric feature point with predefined (i.e., fixed) name, code, and description
shared by all instances.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the landmarkgetCode()
Returns a short codeReturns description of the landmark.getName()
Returns a short name of the landmark, either user-defined or standard name of anthropometric feature point.boolean
Determines whether the landmark is standard anthropometric feature point or user-defined landmark.void
setDescription
(String description) Updates description.void
Sets new short name.Methods inherited from class cz.fidentis.analyst.data.landmarks.impl.LandmarkAbstract
equals, getMeshVicinity, getPosition, getType, hashCode, hasMeshVicinity, setMeshVicinity, setPosition, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface cz.fidentis.analyst.data.landmarks.Landmark
isUserDefinedLandmark
-
Constructor Details
-
FeaturePointImpl
public FeaturePointImpl(int id, javax.vecmath.Point3d position) Constructor.- Parameters:
id
- A unique IDposition
- 3D position
-
-
Method Details
-
clone
Description copied from interface:Landmark
Clones the landmark- Specified by:
clone
in interfaceLandmark
- Specified by:
clone
in classLandmarkAbstract
- Returns:
- a clone of the landmark
-
getName
Description copied from interface:Landmark
Returns a short name of the landmark, either user-defined or standard name of anthropometric feature point.- Specified by:
getName
in interfaceLandmark
- Specified by:
getName
in classLandmarkAbstract
- Returns:
- a short name
-
setName
Description copied from interface:Landmark
Sets new short name.- Specified by:
setName
in interfaceLandmark
- Specified by:
setName
in classLandmarkAbstract
- Parameters:
name
- new name
-
getDescription
Description copied from interface:Landmark
Returns description of the landmark.- Specified by:
getDescription
in interfaceLandmark
- Specified by:
getDescription
in classLandmarkAbstract
- Returns:
- description of the landmark
-
setDescription
Description copied from interface:Landmark
Updates description.- Specified by:
setDescription
in interfaceLandmark
- Specified by:
setDescription
in classLandmarkAbstract
- Parameters:
description
- new description
-
getCode
Description copied from interface:Landmark
Returns a short code- Specified by:
getCode
in interfaceLandmark
- Specified by:
getCode
in classLandmarkAbstract
- Returns:
- a short code
-
isStandardFeaturePoint
public boolean isStandardFeaturePoint()Description copied from interface:Landmark
Determines whether the landmark is standard anthropometric feature point or user-defined landmark.- Specified by:
isStandardFeaturePoint
in interfaceLandmark
- Specified by:
isStandardFeaturePoint
in classLandmarkAbstract
- Returns:
true
if the landmark is a standard anthropometric feature point
-