Package cz.fidentis.analyst.drawables
Class DrawableFpSkeleton
java.lang.Object
cz.fidentis.analyst.drawables.Drawable
cz.fidentis.analyst.drawables.DrawableFpSkeleton
A drawable feature point skeleton consisting of drawable lines.
-
Nested Class Summary
Nested classes/interfaces inherited from class cz.fidentis.analyst.drawables.Drawable
Drawable.TransparencyComparator
-
Field Summary
Fields inherited from class cz.fidentis.analyst.drawables.Drawable
GLU_CONTEXT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the list of lines in the skeletonvoid
loadSkeleton
(List<Landmark> featurePoints) Loads the correct lines into the skeleton based on available feature pointsprotected void
renderObject
(com.jogamp.opengl.GL2 gl) Methods inherited from class cz.fidentis.analyst.drawables.Drawable
finishRendering, getColor, getHighlights, getRenderMode, getTransparency, initRendering, isShown, render, setColor, setHighlights, setPolygonMode, setRenderMode, setTransparency, show
-
Constructor Details
-
DrawableFpSkeleton
Constructor- Parameters:
featurePoints
- A list of feature points
-
-
Method Details
-
loadSkeleton
Loads the correct lines into the skeleton based on available feature points- Parameters:
featurePoints
- feature points that are currently in the face
-
getSkeleton
Gets the list of lines in the skeleton- Returns:
- list of DrawableLine
-
renderObject
protected void renderObject(com.jogamp.opengl.GL2 gl) - Specified by:
renderObject
in classDrawable
-