MaxstARSDK
3.5.0
|
Control AR Engine (Singletone) More...
Public Types | |
enum | TrackingOption { TrackingOption.NORMAL_TRACKING = 1, TrackingOption.EXTEND_TRACKING = 2, TrackingOption.MULTI_TRACKING = 4, TrackingOption.JITTER_REDUCTION_ACTIVATION = 8, TrackingOption.JITTER_REDUCTION_DEACTIVATION = 16 } |
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... | |
void | FindSurface () |
Start SLAM learning. More... | |
void | QuitFindingSurface () |
SLAM stops learning. More... | |
GuideInfo | GetGuideInfo () |
Get guide information of the found surface on SLAM 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_MARKER = 0X04 |
Marker 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)
Definition at line 16 of file TrackerManager.cs.
|
strong |
Additional tracking option (Image tracker only) 1 : Normal Tracking 2 : Extended Tracking 4 : Multi Target Tracking
Definition at line 57 of file TrackerManager.cs.
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. |
Definition at line 153 of file TrackerManager.cs.
void maxstAR.TrackerManager.DestroyTracker | ( | ) |
Destroy Tracker.
Definition at line 138 of file TrackerManager.cs.
void maxstAR.TrackerManager.FindSurface | ( | ) |
Start SLAM learning.
Definition at line 434 of file TrackerManager.cs.
GuideInfo maxstAR.TrackerManager.GetGuideInfo | ( | ) |
Get guide information of the found surface on SLAM after the FindSurface method has been called
Definition at line 478 of file TrackerManager.cs.
|
static |
TrackingState maxstAR.TrackerManager.GetTrackingState | ( | ) |
Get saved TrackingState value
Definition at line 250 of file TrackerManager.cs.
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. |
Definition at line 292 of file TrackerManager.cs.
bool maxstAR.TrackerManager.IsTrackerDataLoadCompleted | ( | ) |
Check that the Trackable data loading is finished.
Definition at line 213 of file TrackerManager.cs.
void maxstAR.TrackerManager.LoadTrackerData | ( | ) |
Load the Trackable data.
Definition at line 181 of file TrackerManager.cs.
void maxstAR.TrackerManager.QuitFindingSurface | ( | ) |
SLAM stops learning.
Definition at line 447 of file TrackerManager.cs.
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 |
Definition at line 168 of file TrackerManager.cs.
SurfaceThumbnail maxstAR.TrackerManager.SaveSurfaceData | ( | string | outputFileName | ) |
Saves SLAM learning results.
outputFileName | File path of map for save. |
Definition at line 492 of file TrackerManager.cs.
void maxstAR.TrackerManager.SetTrackingOption | ( | TrackingOption | trackingOption | ) |
Change Image Tracke Mode.
Definition at line 194 of file TrackerManager.cs.
void maxstAR.TrackerManager.StartTracker | ( | int | trackerType | ) |
Start Tracker.
trackerType | Bit mask of tracker type. |
Definition at line 112 of file TrackerManager.cs.
void maxstAR.TrackerManager.StopTracker | ( | ) |
Stop Tracker.
Definition at line 125 of file TrackerManager.cs.
TrackingState maxstAR.TrackerManager.UpdateTrackingState | ( | ) |
Upate tracking state. This function should be called before GetTrackingResult
Definition at line 229 of file TrackerManager.cs.
const int maxstAR.TrackerManager.TRACKER_TYPE_CODE_SCANNER = 0X01 |
Code scanner
Definition at line 21 of file TrackerManager.cs.
const int maxstAR.TrackerManager.TRACKER_TYPE_IMAGE = 0X02 |
Planar image Tracker
Definition at line 26 of file TrackerManager.cs.
const int maxstAR.TrackerManager.TRACKER_TYPE_INSTANT = 0x20 |
Instant Tracker
Definition at line 46 of file TrackerManager.cs.
const int maxstAR.TrackerManager.TRACKER_TYPE_MARKER = 0X04 |
Marker Tracker
Definition at line 31 of file TrackerManager.cs.
const int maxstAR.TrackerManager.TRACKER_TYPE_OBJECT = 0X08 |
Object Tracker(Object data should be created via SLAM tracker)
Definition at line 36 of file TrackerManager.cs.
const int maxstAR.TrackerManager.TRACKER_TYPE_SLAM = 0x10 |
Visual slam tracker (Can create surface data and save it)
Definition at line 41 of file TrackerManager.cs.