Class HKLabel

java.lang.Object
com.biodigital.humansdk.HKLabel

public class HKLabel extends Object
HKLabel object
  • Field Details

    • objectId

      public String objectId
      object ID of the annotated object this is required, all annotations must be connected to an object
    • title

      public String title
      annotation title
    • description

      public String description
      annotation description
    • labelId

      public String labelId
      annotation ID
    • position

      public double[] position
      annotation 3D position [x,y,z]
    • canvasPosition

      public double[] canvasPosition
      annotation screen position [x,y]
    • labelOffset

      public double[] labelOffset
      annotation label offset [x,y]
    • shown

      public boolean shown
      whether or not the annotation is currently visible this will get set to false if the annotation moves off screen or is occluded
    • occludable

      public boolean occludable
      whether or not the annotation is occludable
  • Constructor Details

    • HKLabel

      public HKLabel(String objectId)
      Create an HKLabel with the ID of its object
      Parameters:
      objectId - : ID of the attached object