|
MaxstARSDK
|
Control AR Engine (Singletone) More...
Public Types | |
| enum | TrackingOption { TrackingOption.NORMAL_MODE = 1, TrackingOption.EXTEND_MODE = 2, TrackingOption.MULTI_MODE = 4 } |
| Additional tracking option (Image tracker only) 1 : Normal Tracking 2 : Extended Tracking 4 : Multi Target Tracking More... | |
Public Member Functions | |
| void | StartTracker (int trackerType) |
| Start Tracker. More... | |
| void | StopTracker () |
| Stop Tracker. More... | |
| void | DestroyTracker () |
| Destroy Tracker. More... | |
| void | AddTrackerData (string trackingFileName, bool isAndroidAssetFile=false) |
| Add the Trackable data to the Map List. More... | |
| void | RemoveTrackerData (string trackingFileName="") |
| Delete the Trackable data from the Map List. More... | |
| void | LoadTrackerData () |
| Load the Trackable data. More... | |
| void | SetTrackingOption (TrackingOption trackingOption) |
| Change Image Tracke Mode. More... | |
| bool | IsTrackerDataLoadCompleted () |
| Check that the Trackable data loading is finished. More... | |
| TrackingState | UpdateTrackingState () |
| Upate tracking state. This function should be called before GetTrackingResult More... | |
| TrackingState | GetTrackingState () |
| Get saved TrackingState value More... | |
| Vector3 | GetWorldPositionFromScreenCoordinate (Vector2 screen) |
| Gets the x, y, 0 coordinates on the world coordinate corresponding to x, y in the Screen coordinate. More... | |
| int | GetKeyframeCount () |
| Get the tracking infomation. More... | |
| int | GetFeatureCount () |
| Get the tracking infomation. More... | |
| void | FindSurface () |
| Start SLAM learning. More... | |
| void | QuitFindingSurface () |
| SLAM stops learning. More... | |
| SurfaceMesh | GetSurfaceMesh () |
| Get surface mesh information of the found surface after the FindSurface method has been called More... | |
| SurfaceThumbnail | SaveSurfaceData (string outputFileName) |
| Saves SLAM learning results. More... | |
Static Public Member Functions | |
| static TrackerManager | GetInstance () |
| Get TrackerManager instance More... | |
Public Attributes | |
| const int | TRACKER_TYPE_CODE_SCANNER = 0X01 |
| Code scanner More... | |
| const int | TRACKER_TYPE_IMAGE = 0X02 |
| Planar image Tracker More... | |
| const int | TRACKER_TYPE_OBJECT = 0X08 |
| Object Tracker(Object data should be created via SLAM tracker) More... | |
| const int | TRACKER_TYPE_SLAM = 0x10 |
| Visual slam tracker (Can create surface data and save it) More... | |
| const int | TRACKER_TYPE_INSTANT = 0x20 |
| Instant Tracker More... | |
Control AR Engine (Singletone)
|
strong |
| void maxstAR.TrackerManager.AddTrackerData | ( | string | trackingFileName, |
| bool | isAndroidAssetFile = false |
||
| ) |
Add the Trackable data to the Map List.
| trackingFileName | File path of map for map addition. |
| isAndroidAssetFile | Map file position for addition. True is in Asset folder. |
| void maxstAR.TrackerManager.DestroyTracker | ( | ) |
Destroy Tracker.
| void maxstAR.TrackerManager.FindSurface | ( | ) |
Start SLAM learning.
| int maxstAR.TrackerManager.GetFeatureCount | ( | ) |
Get the tracking infomation.
|
static |
Get TrackerManager instance
| int maxstAR.TrackerManager.GetKeyframeCount | ( | ) |
Get the tracking infomation.
| SurfaceMesh maxstAR.TrackerManager.GetSurfaceMesh | ( | ) |
Get surface mesh information of the found surface after the FindSurface method has been called
| TrackingState maxstAR.TrackerManager.GetTrackingState | ( | ) |
Get saved TrackingState value
| Vector3 maxstAR.TrackerManager.GetWorldPositionFromScreenCoordinate | ( | Vector2 | screen | ) |
Gets the x, y, 0 coordinates on the world coordinate corresponding to x, y in the Screen coordinate.
| screen | Input screen coordinates 2d. |
| bool maxstAR.TrackerManager.IsTrackerDataLoadCompleted | ( | ) |
Check that the Trackable data loading is finished.
| void maxstAR.TrackerManager.LoadTrackerData | ( | ) |
Load the Trackable data.
| void maxstAR.TrackerManager.QuitFindingSurface | ( | ) |
SLAM stops learning.
| void maxstAR.TrackerManager.RemoveTrackerData | ( | string | trackingFileName = "" | ) |
Delete the Trackable data from the Map List.
| trackingFileName | trackingFileName map file name. This name should be same which added. If set "" (empty) file list will be cleared |
| SurfaceThumbnail maxstAR.TrackerManager.SaveSurfaceData | ( | string | outputFileName | ) |
Saves SLAM learning results.
| outputFileName | File path of map for save. |
| void maxstAR.TrackerManager.SetTrackingOption | ( | TrackingOption | trackingOption | ) |
Change Image Tracke Mode.
| void maxstAR.TrackerManager.StartTracker | ( | int | trackerType | ) |
Start Tracker.
| trackerType | Bit mask of tracker type. |
| void maxstAR.TrackerManager.StopTracker | ( | ) |
Stop Tracker.
| TrackingState maxstAR.TrackerManager.UpdateTrackingState | ( | ) |
Upate tracking state. This function should be called before GetTrackingResult
| const int maxstAR.TrackerManager.TRACKER_TYPE_CODE_SCANNER = 0X01 |
Code scanner
| const int maxstAR.TrackerManager.TRACKER_TYPE_IMAGE = 0X02 |
Planar image Tracker
| const int maxstAR.TrackerManager.TRACKER_TYPE_INSTANT = 0x20 |
Instant Tracker
| const int maxstAR.TrackerManager.TRACKER_TYPE_OBJECT = 0X08 |
Object Tracker(Object data should be created via SLAM tracker)
| const int maxstAR.TrackerManager.TRACKER_TYPE_SLAM = 0x10 |
Visual slam tracker (Can create surface data and save it)