Class LandmarkImpl
java.lang.Object
cz.fidentis.analyst.data.landmarks.impl.LandmarkAbstract
cz.fidentis.analyst.data.landmarks.impl.LandmarkImpl
- All Implemented Interfaces:
Landmark
,IPosition
,Serializable
User-defined landmark with variable name, description, etc.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLandmarkImpl
(int id, javax.vecmath.Point3d position, String name, String description) Constructor. -
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
-
LandmarkImpl
Constructor.- Parameters:
id
- A unique IDposition
- 3D positionname
- An optional unique short name. If blank ornull
then a random name is used.description
- optional description
-
-
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
-