Package com.biodigital.humansdk
Class HKAnnotation
java.lang.Object
com.biodigital.humansdk.HKAnnotation
public class HKAnnotation
extends java.lang.Object
HKAnnotation object
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
annotationId
annotation IDdouble[]
canvasPosition
annotation screen position [x,y]java.lang.String
description
annotation descriptiondouble[]
labelOffset
annotation label offset [x,y]java.lang.String
objectId
object ID of the annotated object this is required, all annotations must be connected to an objectboolean
occludable
whether or not the annotation is occludabledouble[]
position
annotation 3D position [x,y,z]boolean
shown
whether or not the annotation is currently visible this will get set to false if the annotation moves off screen or is occludedjava.lang.String
title
annotation title -
Constructor Summary
Constructors Constructor Description HKAnnotation(java.lang.String objectId)
Create an HKAnnotation with the ID of its object -
Method Summary
-
Field Details
-
objectId
public java.lang.String objectIdobject ID of the annotated object this is required, all annotations must be connected to an object -
title
public java.lang.String titleannotation title -
description
public java.lang.String descriptionannotation description -
annotationId
public java.lang.String annotationIdannotation ID -
position
public double[] positionannotation 3D position [x,y,z] -
canvasPosition
public double[] canvasPositionannotation screen position [x,y] -
labelOffset
public double[] labelOffsetannotation label offset [x,y] -
shown
public boolean shownwhether 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 occludablewhether or not the annotation is occludable
-
-
Constructor Details
-
HKAnnotation
public HKAnnotation(java.lang.String objectId)Create an HKAnnotation with the ID of its object- Parameters:
objectId
- : ID of the attached object
-