public class HKHuman
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
HKAnnotations |
annotations
HKAnnotations object controls object annotations
|
java.util.ArrayList<java.lang.String> |
apiEvents
list of BioDigital web API events
|
java.util.ArrayList<java.lang.String> |
apiFunctions
list of BioDigital web API functions
|
HKCamera |
camera
HKCamera object for getting and setting the camera
|
HKScene |
scene
HKScene object provides information and control of the 3D scene
|
HKTimeline |
timeline
HKTimeline object controls Chapter navigation and animations
|
HKUI |
ui
HKUI object controls display parameters and background colors
|
java.lang.String |
version
BioDigital 3D engine version
|
java.util.Map<java.lang.String,java.lang.Boolean> |
webGlInfo
webGl settings and parameters
|
Constructor and Description |
---|
HKHuman(android.widget.RelativeLayout container)
HKHuman constructor using the default viewer UI elements (ui.all = true)
|
HKHuman(android.widget.RelativeLayout container,
java.util.HashMap<HumanUIOptions,java.lang.Boolean> uiOptionsMap)
HKHuman constructor NOTE: This new implementation separates the view from the SDK and allows for loading and unloading scenes into the same HKHuman object for faster loading
|
Modifier and Type | Method and Description |
---|---|
void |
disableInput()
Disable user input
|
void |
enableInput()
Enable user input, only needed if input was disabled, it is on by default
|
HKModel[] |
findModel(java.lang.String ICD)
Get a list of HKModel objects by ICD Number
|
void |
load(java.lang.String modelId)
Loads a BioDigital Human 3D model into the view
Use unload() when you are done viewing the model
|
void |
setInterface(HKHumanInterface bodyInterface)
Set the HKHumanInterface object to receive callback messages
|
void |
unload()
Unload the current scene - Use this method to clear the HKHuman when exiting a model view
|
public HKScene scene
public HKTimeline timeline
public HKAnnotations annotations
public HKUI ui
public HKCamera camera
public java.lang.String version
public java.util.Map<java.lang.String,java.lang.Boolean> webGlInfo
public java.util.ArrayList<java.lang.String> apiFunctions
public java.util.ArrayList<java.lang.String> apiEvents
public HKHuman(android.widget.RelativeLayout container, java.util.HashMap<HumanUIOptions,java.lang.Boolean> uiOptionsMap)
container
- the containing viewuiOptionsMap
- initialize the UI optionspublic HKHuman(android.widget.RelativeLayout container)
container
- the containing viewpublic void setInterface(HKHumanInterface bodyInterface)
bodyInterface
- public void load(java.lang.String modelId)
modelId
- The unique identifier of the modelpublic void unload()
public void disableInput()
public void enableInput()
public HKModel[] findModel(java.lang.String ICD)
ICD
- the code for the condition