|
void | AddModel (string modelName, string modelURI, bool enabled=true, bool occluder=false) |
|
Task< ModelPropertiesStructure > | GetModelPropertiesAsync () |
|
void | ReadInitData (string uri) |
| Loads the captured initialization data as file from a custom location. More...
|
|
async Task | ReadInitDataAsync (string uri) |
|
void | RemoveModel (string name) |
| Removes a specific model from the current tracker. More...
|
|
async Task | RemoveModelAsync (string name) |
|
void | ResetInitData () |
| Reset the offline initialization data. More...
|
|
async Task | ResetInitDataAsync () |
|
void | ResetTrackingHard () |
| Reset the tracking and all keyframes. More...
|
|
async Task | ResetTrackingHardAsync () |
|
void | ResetTrackingSoft () |
| Reset the tracking. More...
|
|
async Task | ResetTrackingSoftAsync () |
|
void | SetModelPropertyEnabled (string name, bool state) |
| Enables/Disables a specific model in the current tracker. More...
|
|
async Task | SetModelPropertyEnabledAsync (string name, bool state) |
|
void | SetModelPropertyOccluder (string name, bool state) |
| Sets a specific model as occluder in the current tracker. More...
|
|
async Task | SetModelPropertyOccluderAsync (string name, bool state) |
|
void | SetModelPropertyURI (string name, string uri) |
| Loads a specific model for the current tracker, which is specified by an uri. This will remove all other models. More...
|
|
async Task | SetModelPropertyURIAsync (string name, string uri) |
|
void | SetModelURI (string modelURI) |
| Sets the modelURI to a new value and thus loads a new model. More...
|
|
async Task | SetModelURIAsync (string modelURI) |
| Sets the modelURI to a new value and thus loads a new model. More...
|
|
void | WriteInitData (string filePrefix=null) |
| Write the captured initialization data as file to custom location with custom name. More...
|
|
async Task | WriteInitDataAsync (string filePrefix=null) |
|
The ModelTracker contains all functions, which are specific for the ModelTracker.
void Visometry.VisionLib.SDK.Core.ModelTracker.ReadInitData |
( |
string |
uri | ) |
|
|
inline |
Loads the captured initialization data as file from a custom location.
This function will be performed asynchronously.
In order to load init data at best use a static uri. A common way is for each platform, is using "local-storage-dir" scheme which can be used as file prefix. This scheme points to different locations depending on the platform:
- Windows: Current users home directory
- MacOS: Current users document directory
- iOS / Android: The current applications document directory
- Parameters
-
uri | Will be used as filename and path. A time stamp and the file extension will be appended automatically. A plausible value could be for example "local-storage-dir:MyInitData_". |
void Visometry.VisionLib.SDK.Core.ModelTracker.WriteInitData |
( |
string |
filePrefix = null | ) |
|
|
inline |
Write the captured initialization data as file to custom location with custom name.
This function will be performed asynchronously.
In order to avoid having to use a different file path for each platform, the "local-storage-dir" scheme can be used as file prefix. This scheme points to different locations depending on the platform:
- Windows: Current users home directory
- MacOS: Current users document directory
- iOS / Android: The current applications document directory
- Parameters
-
filePrefix | Will be used as filename and path. A time stamp and the file extension will be appended automatically. A plausible value could be for example "local-storage-dir:MyInitData_". |