|
MaxstARSDK
|
Classes | |
| class | BackgroundRenderer |
| Do background rendering. Background rendering includes camera image, feature point, slam initialization progress bar, watermark, surface mesh. More... | |
| class | BackgroundTexture |
| Contains information of background rendering texture. More... | |
| class | CameraDevice |
| class for camera device handling More... | |
| class | Image |
| image data which is used for tracker and rendering More... | |
| class | ITrackable |
| Container for individual tracking information. More... | |
| class | ITrackingResult |
| Contains tracked targets informations. More... | |
| class | SensorDevice |
| Control device sensor. More... | |
| class | SurfaceMesh |
| Contains surface's mesh data generated from slam tracking. More... | |
| class | SurfaceThumbnail |
| Contains surface thumbnail image information of first keyframe. More... | |
| class | TrackerManager |
| Control AR Engine. More... | |
| class | TrackingState |
| class | WearableCalibration |
| This class is for optical see-through wearable calibration. More... | |
Enumerations | |
| enum | EyeType { EYE_LEFT = 0, EYE_RIGHT = 1, EYE_NUM = 2 } |
| List of eye id. EYE_LEFT : Left eye id EYE_RIGHT : Right eye id EYE_NUM : Number of ids. More... | |
| enum | DistanceType { DISTANCE_NEAR = 0, DISTANCE_MIDDLE = 1, DISTANCE_FAR = 2, DISTANCE_NUM = 3 } |
| List of calibration distance. DISTANCE_NEAR : Calibration near distance DISTANCE_MIDDLE : Calibration middle distance DISTANCE_FAR : Calibration far distance DISTANCE_NUM : Number of ids. More... | |
Functions | |
| MAXSTAR_API void | init (string appKey) |
| Initialize AR engine. More... | |
| MAXSTAR_API void | deinit () |
| Deinitialize AR Engine. More... | |
| MAXSTAR_API bool | isInitialized () |
| Check AR engine has been initialized. More... | |
| MAXSTAR_API void | onSurfaceCreated () |
| Called when surface created on rendering thread. More... | |
| MAXSTAR_API void | onSurfaceChanged (int viewWidth, int viewHeight) |
| Called when rendering surface's size changed (i.e. orientation change, resizing rendering surface) More... | |
| MAXSTAR_API void | onSurfaceDestroyed () |
| Called when rendering surface about to destroyed. More... | |
| MAXSTAR_API void | setScreenOrientation (ScreenOrientation orientation) |
| Set device orientation. More... | |
| enum maxstAR::EyeType |
| MAXSTAR_API void maxstAR::deinit | ( | ) |
Deinitialize AR Engine.
| MAXSTAR_API void maxstAR::init | ( | string | appKey | ) |
Initialize AR engine.
| appKey | app key for this app generated from "developer.maxst.com" (Mobile only) |
| MAXSTAR_API bool maxstAR::isInitialized | ( | ) |
Check AR engine has been initialized.
| MAXSTAR_API void maxstAR::onSurfaceChanged | ( | int | viewWidth, |
| int | viewHeight | ||
| ) |
Called when rendering surface's size changed (i.e. orientation change, resizing rendering surface)
| viewWidth | width size (pixel unit) |
| viewHeight | height size (pixel unit) |
| MAXSTAR_API void maxstAR::onSurfaceCreated | ( | ) |
Called when surface created on rendering thread.
| MAXSTAR_API void maxstAR::onSurfaceDestroyed | ( | ) |
Called when rendering surface about to destroyed.
| MAXSTAR_API void maxstAR::setScreenOrientation | ( | ScreenOrientation | orientation | ) |
Set device orientation.
| orientation | Screen orientation. 2 is Configuration.ORIENTATION_LANDSCAPE, 1 is Configuration.ORIENTATION_PORTRAIT |