Class DrawableFace


public class DrawableFace extends DrawableMesh
Drawable human face.
  • Field Details

    • SKIN_COLOR_PRIMARY

      public static final Color SKIN_COLOR_PRIMARY
    • SKIN_COLOR_SECONDARY

      public static final Color SKIN_COLOR_SECONDARY
    • SKIN_COLOR_DEFAULT

      public static final Color SKIN_COLOR_DEFAULT
  • Constructor Details

    • DrawableFace

      public DrawableFace(HumanFace face)
      Constructor.
      Parameters:
      face - Drawable human face
      Throws:
      IllegalArgumentException - if the mesh model of the human face is null
  • Method Details

    • getHumanFace

      public HumanFace getHumanFace()
      Returns the human face.
      Returns:
      HumanFace
    • setHeatMap

      public void setHeatMap(HeatMap3D heatMap)
    • isHeatmapRendered

      public boolean isHeatmapRendered()
      Determines whether the heatmap is set to be rendered.
      Returns:
      id the heatmap will be rendered
    • renderObject

      protected void renderObject(com.jogamp.opengl.GL2 gl)
      Overrides:
      renderObject in class DrawableMesh