The VLAbstractApplicationWrapper is a wrapper for the AbstractApplication. The AbstractApplication represents the tracking context.
More...
Inherits IDisposable.
The VLAbstractApplicationWrapper is a wrapper for the AbstractApplication. The AbstractApplication represents the tracking context.
◆ VLAbstractApplicationWrapper()
VLAbstractApplicationWrapper.VLAbstractApplicationWrapper |
( |
| ) |
|
|
inline |
◆ AddCameraCalibrationDB()
bool VLAbstractApplicationWrapper.AddCameraCalibrationDB |
( |
string |
uri | ) |
|
|
inline |
Adds a custom camera calibration database file.
The calibration database must be added before loading a tracking configuration.
- Returns
true
, if the camera calibration database URI was added successfully; false
otherwise. false
will also be returned, if the URI was added already.
- Parameters
-
uri | URI to the camera calibration database file |
◆ Dispose()
void VLAbstractApplicationWrapper.Dispose |
( |
| ) |
|
|
inline |
◆ FoundBlockedFeatures()
bool VLAbstractApplicationWrapper.FoundBlockedFeatures |
( |
| ) |
|
|
inline |
Returns whether any features are used, which are not licensed.
The 'blocked features' status will be re-evaluated from time to time.
- Returns
true
, if unlicensed features are used; false
otherwise.
◆ GetDeviceInfo()
Retrieves the device info object from the AbstractApplication.
- Returns
VLDeviceInfo
, if the device info was acquired successfully; null
otherwise.
◆ GetHandle()
IntPtr VLAbstractApplicationWrapper.GetHandle |
( |
| ) |
|
|
inline |
Returns the handle to the native object.
- Returns
- Handle to native object.
◆ GetHostID()
bool VLAbstractApplicationWrapper.GetHostID |
( |
out string |
hostID | ) |
|
|
inline |
Returns the host ID of the current machine as string.
The host ID is necessary for generating a license file.
- Returns
true
, if host ID was gotten; false
otherwise.
- Parameters
-
hostID | Output host ID string. |
◆ GetLicenseInformation()
Retrieves the license information object from the AbstractApplication.
- Returns
VLLicenseInformation
, if the license information was acquired successfully; null
otherwise.
◆ LoadProjectData()
bool VLAbstractApplicationWrapper.LoadProjectData |
( |
string |
filename | ) |
|
|
inline |
Loads the specified tracking configuration XML file.
- Returns
true
, if the tracking configuration was loaded successfully; false
otherwise.
- Parameters
-
filename | Filename of the tracking configuration |
string trackingFile = Path.Combine(Application.streamingAssetsPath, "tracking.vl");
◆ LoadProjectDataFromString()
bool VLAbstractApplicationWrapper.LoadProjectDataFromString |
( |
string |
str, |
|
|
string |
fakeFilename |
|
) |
| |
|
inline |
Loads the given string as tracking configuration.
- Returns
true
, if the tracking configuration was loaded successfully; false
otherwise.
- Parameters
-
str | String with the tracking configuration |
fakeFilename | Filename which will be used to determine the type of the tracking configuration (vl / PM) and for resolving relative file paths and the type of the tracking configuration. |
◆ RegisterThread()
bool VLAbstractApplicationWrapper.RegisterThread |
( |
| ) |
|
|
inline |
Registers the current thread for the AbstractApplication.
- Returns
true
, if the thread was registered correctly; false
otherwise.
◆ SetLicenseFileData()
bool VLAbstractApplicationWrapper.SetLicenseFileData |
( |
string |
data | ) |
|
|
inline |
Allows to inject the license data from memory
- Returns
true
, if the given license data is valid; false
otherwise.
- Parameters
-
data | String with the license data. |
◆ SetLicenseFilePath()
bool VLAbstractApplicationWrapper.SetLicenseFilePath |
( |
string |
path | ) |
|
|
inline |
Sets the path of the license file in the system.
Calling of this function is mandatory for starting the tracking configuration.
- Returns
true
, if a valid license file could be found; false
otherwise.
- Parameters
-
path | The absolute location of the file. |