Package com.biodigital.humansdk
Class HKLabel
java.lang.Object
com.biodigital.humansdk.HKLabel
HKLabel object
-
Field Summary
FieldsModifier and TypeFieldDescriptiondouble[]
annotation screen position [x,y]annotation descriptionannotation IDdouble[]
annotation label offset [x,y]object ID of the annotated object this is required, all annotations must be connected to an objectboolean
whether or not the annotation is occludabledouble[]
annotation 3D position [x,y,z]boolean
whether or not the annotation is currently visible this will get set to false if the annotation moves off screen or is occludedannotation title -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
objectId
object ID of the annotated object this is required, all annotations must be connected to an object -
title
annotation title -
description
annotation description -
labelId
annotation 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
-
HKLabel
Create an HKLabel with the ID of its object- Parameters:
objectId
- : ID of the attached object
-