Interface LandmarksFactory
public interface LandmarksFactory
A factory that instantiates either user defined landmarks or standard anthropometric feature points.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic Landmark
createFeaturePoint
(int id, javax.vecmath.Point3d position) Creates an instance of standard anthropometric feature point.static Landmark
createFeaturePointByCode
(String code, javax.vecmath.Point3d position) Creates an instance of standard anthropometric feature point.static Landmark
createFeaturePointByName
(String name, javax.vecmath.Point3d position) Creates an instance of standard anthropometric feature point.static Landmark
createLandmark
(int id, javax.vecmath.Point3d position, String name, String description) Creates an instance of user-defined landmark.static Landmark
creteWorkingLandmark
(javax.vecmath.Point3d position) Creates an instance of landmark as a working landmark in rendered scene.
-
Method Details
-
createLandmark
static Landmark createLandmark(int id, javax.vecmath.Point3d position, String name, String description) Creates an instance of user-defined landmark.- Parameters:
id
- A unique ID >= 501position
- 3D positionname
- optional short namedescription
- optional description- Returns:
- a user-defined landmark.
-
creteWorkingLandmark
Creates an instance of landmark as a working landmark in rendered scene.- Parameters:
position
- 3D position- Returns:
- temp
Landmark
as working landmark withid = -1
-
createFeaturePoint
Creates an instance of standard anthropometric feature point.- Parameters:
id
- A unique IDposition
- 3D position
-
createFeaturePointByCode
Creates an instance of standard anthropometric feature point.- Parameters:
code
- Code of the feature pointposition
- 3D position
-
createFeaturePointByName
Creates an instance of standard anthropometric feature point.- Parameters:
name
- Name of the feature pointposition
- 3D position
-