MaxstARSDK
3.5.0
|
API for wearable calibration. More...
Public Types | |
enum | EyeType { EyeType.EYE_LEFT = 0, EyeType.EYE_RIGHT = 1, EyeType.EYE_NUM = 2 } |
Types of HMD eyes More... | |
enum | WearableType { WearableType.None = 0, WearableType.OpticalSeeThrough = 1 } |
Wearable Device Type More... | |
Public Member Functions | |
bool | IsActivated () |
Confirm that the HMD unit is initialized. More... | |
bool | Init (string modelName, int width, int height) |
Initialize the HMD device. More... | |
void | Deinit () |
Deinitialize the HMD device. More... | |
float [] | GetViewport (EyeType eyeType) |
Get HMD screen viewport. More... | |
float [] | GetProjectionMatrix (EyeType eyeType) |
Get calibrated HMD projection matrix. More... | |
Static Public Member Functions | |
static WearableCalibration | GetInstance () |
Get a WearableCalibration instance. More... | |
Properties | |
string | activeProfile [get, set] |
API for wearable calibration.
Definition at line 15 of file WearableCalibration.cs.
|
strong |
Types of HMD eyes
Enumerator | |
---|---|
EYE_LEFT | Left HMD eye |
EYE_RIGHT | Right HMD eye |
EYE_NUM | Number of eyes |
Definition at line 20 of file WearableCalibration.cs.
|
strong |
Wearable Device Type
Enumerator | |
---|---|
None | None Wearable Device |
OpticalSeeThrough | Optical See-throught Wearable Device |
Definition at line 41 of file WearableCalibration.cs.
void maxstAR.WearableCalibration.Deinit | ( | ) |
Deinitialize the HMD device.
Definition at line 137 of file WearableCalibration.cs.
|
static |
Get a WearableCalibration instance.
Definition at line 60 of file WearableCalibration.cs.
float [] maxstAR.WearableCalibration.GetProjectionMatrix | ( | EyeType | eyeType | ) |
Get calibrated HMD projection matrix.
eyeType | Types of HMD eyes |
Definition at line 196 of file WearableCalibration.cs.
float [] maxstAR.WearableCalibration.GetViewport | ( | EyeType | eyeType | ) |
Get HMD screen viewport.
eyeType | Types of HMD eyes |
Definition at line 171 of file WearableCalibration.cs.
bool maxstAR.WearableCalibration.Init | ( | string | modelName, |
int | width, | ||
int | height | ||
) |
Initialize the HMD device.
modelName | Device name |
width | Device screen width |
height | Device screen height |
Definition at line 98 of file WearableCalibration.cs.
bool maxstAR.WearableCalibration.IsActivated | ( | ) |
Confirm that the HMD unit is initialized.
Definition at line 79 of file WearableCalibration.cs.