MaxstAR Unity
|
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, TrackingOption.CLOUD_RECOGNITION_AUTO_DEACTIVATION = 32, TrackingOption.CLOUD_RECOGNITION_AUTO_ACTIVATION = 64, TrackingOption.ENHANCED_MODE = 128 } |
Additional tracking option 1 : Normal Tracking (Image tracker only) 2 : Extended Tracking (Image tracker only) 4 : Multi Target Tracking (Image tracker only) 8 : Jitter Reduction Activation (Marker, Image and Object) 16 : Jitter Reduction Deactivation (Marker, Image and Object) 16 : Cloud Recognition Auto Deactivation (Cloud Recognizer) 16 : Cloud Recognition Auto Activation (Cloud Recognizer) More... | |
Public Member Functions | |
void | SetCloudRecognitionSecretIdAndSecretKey (string secretId, string secretKey) |
Set secret ID and key for access of cloud recognition. More... | |
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... | |
bool | IsFusionSupported () |
Get the device supports Fusion. More... | |
void | RequestARCoreApk () |
int | GetFusionTrackingState () |
Get tracking fusion state. More... | |
void | SetVocabulary (string vocFilename, bool isAndroidAssetFile=false) |
Set Vocabulary. 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... | |
void | FindImageOfCloudRecognition () |
Find Cloud Image (works on Cloud Recognizer) Must to set CLOUD_RECOGNITION_AUTO_DEACTIVATION at setTrackingOption Use before startTracker. 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... | |
Static 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... | |
const int | TRACKER_TYPE_CLOUD_RECOGNIZER = 0x30 |
Cloud Recognizer More... | |
const int | TRACKER_TYPE_QR_TRACKER = 0x40 |
QRCode Tracker More... | |
const int | TRACKER_TYPE_IMAGE_FUSION = 0x80 |
Image Fusion Tracker (need ARKit, ARCore) More... | |
const int | TRACKER_TYPE_OBJECT_FUSION = 0X100 |
Object Fusion Tracker (need ARKit, ARCore) More... | |
const int | TRACKER_TYPE_QR_FUSION = 0x400 |
QRCode Fusion Tracker (need ARKit, ARCore) More... | |
const int | TRACKER_TYPE_MARKER_FUSION = 0x800 |
Marker Fusion Tracker (need ARKit, ARCore) More... | |
const int | TRACKER_TYPE_INSTANT_FUSION = 0x10000 |
Instant Fusion Tracker (need ARKit, ARCore) More... | |
Control AR Engine (Singletone)
|
strong |
Additional tracking option 1 : Normal Tracking (Image tracker only) 2 : Extended Tracking (Image tracker only) 4 : Multi Target Tracking (Image tracker only) 8 : Jitter Reduction Activation (Marker, Image and Object) 16 : Jitter Reduction Deactivation (Marker, Image and Object) 16 : Cloud Recognition Auto Deactivation (Cloud Recognizer) 16 : Cloud Recognition Auto Activation (Cloud Recognizer)
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.FindImageOfCloudRecognition | ( | ) |
Find Cloud Image (works on Cloud Recognizer) Must to set CLOUD_RECOGNITION_AUTO_DEACTIVATION at setTrackingOption Use before startTracker.
void maxstAR.TrackerManager.FindSurface | ( | ) |
Start SLAM learning.
int maxstAR.TrackerManager.GetFusionTrackingState | ( | ) |
Get tracking fusion state.
GuideInfo maxstAR.TrackerManager.GetGuideInfo | ( | ) |
Get guide information of the found surface on SLAM after the FindSurface method has been called
|
static |
Get TrackerManager instance
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.IsFusionSupported | ( | ) |
Get the device supports Fusion.
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.SetCloudRecognitionSecretIdAndSecretKey | ( | string | secretId, |
string | secretKey | ||
) |
Set secret ID and key for access of cloud recognition.
secretId | secret ID |
secretKey | secret key |
void maxstAR.TrackerManager.SetTrackingOption | ( | TrackingOption | trackingOption | ) |
Change Image Tracke Mode.
void maxstAR.TrackerManager.SetVocabulary | ( | string | vocFilename, |
bool | isAndroidAssetFile = false |
||
) |
Set Vocabulary.
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
|
static |
Cloud Recognizer
|
static |
Code scanner
|
static |
Planar image Tracker
|
static |
Image Fusion Tracker (need ARKit, ARCore)
|
static |
Instant Tracker
|
static |
Instant Fusion Tracker (need ARKit, ARCore)
|
static |
Marker Tracker
|
static |
Marker Fusion Tracker (need ARKit, ARCore)
|
static |
Object Tracker(Object data should be created via SLAM tracker)
|
static |
Object Fusion Tracker (need ARKit, ARCore)
|
static |
QRCode Fusion Tracker (need ARKit, ARCore)
|
static |
QRCode Tracker
|
static |
Visual slam tracker (Can create surface data and save it)