Contains information of WearableCalibration
◆ deinit()
void com.maxst.ar.WearableCalibration.deinit |
( |
| ) |
|
Deinitialize the HMD device.
◆ getActiveProfileName()
String com.maxst.ar.WearableCalibration.getActiveProfileName |
( |
| ) |
|
Get active calibration profile file name
- Returns
- Profile file name
◆ getDistancePos()
void com.maxst.ar.WearableCalibration.getDistancePos |
( |
DistanceType |
distanceType, |
|
|
float[] |
pos |
|
) |
| |
Set target distance for wearable calibration
- Parameters
-
distanceType | Target distance type |
pos | Target rendering position |
◆ getInstance()
◆ getProjectionMatrix()
float [] com.maxst.ar.WearableCalibration.getProjectionMatrix |
( |
int |
eyeType | ) |
|
Get HMD projection Matrix.
- Parameters
-
- Returns
- projection matrix array(float type array, size 16).
◆ getScreenCoordinate()
float [] com.maxst.ar.WearableCalibration.getScreenCoordinate |
( |
| ) |
|
◆ getTargetGLPosition()
void com.maxst.ar.WearableCalibration.getTargetGLPosition |
( |
DistanceType |
distanceType, |
|
|
float[] |
position |
|
) |
| |
◆ getTargetGLScale()
void com.maxst.ar.WearableCalibration.getTargetGLScale |
( |
DistanceType |
distanceType, |
|
|
float[] |
scale |
|
) |
| |
◆ getViewport()
float [] com.maxst.ar.WearableCalibration.getViewport |
( |
EyeType |
eyeType | ) |
|
Get HMD screen viewport.
- Parameters
-
- Returns
- Viewport array(int type array, size 4).
◆ init()
boolean com.maxst.ar.WearableCalibration.init |
( |
String |
modelName | ) |
|
Initialize the HMD device.
- Parameters
-
- Returns
- Result of device initialize
◆ isActivated()
boolean com.maxst.ar.WearableCalibration.isActivated |
( |
| ) |
|
Confirm that the HMD unit is initialized.
- Returns
- Result of device initialize
◆ loadDefaultProfile()
void com.maxst.ar.WearableCalibration.loadDefaultProfile |
( |
String |
modelName | ) |
|
◆ readActiveProfile()
boolean com.maxst.ar.WearableCalibration.readActiveProfile |
( |
Context |
context, |
|
|
String |
wearableDeviceName |
|
) |
| |
◆ readProfile()
boolean com.maxst.ar.WearableCalibration.readProfile |
( |
String |
filePath | ) |
|
Read wearable calibration profile.
- Parameters
-
filePath | Calibration file path |
- Returns
- Result of file read.
◆ setCameraToEyePose()
void com.maxst.ar.WearableCalibration.setCameraToEyePose |
( |
EyeType |
eyeType, |
|
|
DistanceType |
distanceType, |
|
|
float[] |
pose |
|
) |
| |
- Parameters
-
eyeType | Types of HMD eyes |
distanceType | Type of target distance |
pose | Pose matrix |
◆ setProfile()
boolean com.maxst.ar.WearableCalibration.setProfile |
( |
byte[] |
data | ) |
|
Set wearable calibration profile array.
- Parameters
-
- Returns
- Result of file read.
◆ setSurfaceSize()
void com.maxst.ar.WearableCalibration.setSurfaceSize |
( |
int |
surfaceWidth, |
|
|
int |
surfaceHeight |
|
) |
| |
Set the HMD device screen size.
- Parameters
-
surfaceWidth | Screen width |
surfaceHeight | Screen height |
◆ writeProfile()
boolean com.maxst.ar.WearableCalibration.writeProfile |
( |
String |
filePath | ) |
|
Write wearable calibration profile.
- Parameters
-
filePath | Calibration file path |
- Returns
- Result of file write.
The documentation for this class was generated from the following file:
- /Users/acper/work/c_maxstarsdk_season3/Platform/MaxstARAndroid/MaxstAR/src/main/java/com/maxst/ar/WearableCalibration.java