documentation

 
Loading...
Searching...
No Matches
Visometry.VisionLib.SDK.Core.TrackingConfiguration Class Reference

Use this component to save a reference to the used tracking configuration (vl-file), license and calibration file and to start tracking with the options: auto start, input selection and external SLAM. More...

Inherits MonoBehaviour.

Data Structures

class  FilePathReference
 

Public Types

enum  InputSource
 

Public Member Functions

void CancelCameraSelection ()
 
void ExtendTrackingWithSLAM (bool useSLAM)
 If SLAM (e.g. ARKit/ ARCore or internal SLAM) is enabled. Will restart the tracking if it is already running to apply the changes.
 
string GetCalibrationPath ()
 Get the URI of the used calibration file.
 
string GetConfigurationPath ()
 Get the URI of the tracking configuration file, which is used to start tracking.
 
string GetLicensePath ()
 Get the URI of the used license file.
 
void SaveCurrentTrackerConfiguration (string fileURI)
 See ConfigurationFileWriter.SaveCurrentConfigurationAsync.
 
void SetCalibrationPath (string newURI)
 Set the URI of the calibration file. Will be applied on the next tracking start. More...
 
void SetConfigurationPath (string newURI)
 Set the URI of the tracking configuration file, which is used for the next tracking start. More...
 
void SetLicensePath (string newURI)
 Set the URI of the used license file. Will be applied on the next tracking start. More...
 
void StartTracking ()
 Start tracking using the tracking configuration, license, and calibration that are set in this component.
 
void StartTracking (bool? extendTrackingWithSLAMOverride=null, bool? useInputSelectionOverride=null, bool? useResolutionSelectionOverride=null, bool? showOnMobileDevicesOverride=null, bool? staticSceneOverride=null)
 Start tracking with arguments that are only applied for this tracking start.
 
void StartTrackingWithParameters (bool? extendTrackingWithSLAMOverride=null, InputSource? inputSourceOverride=null, bool? useResolutionSelectionOverride=null, bool? showOnMobileDevicesOverride=null, bool? staticSceneOverride=null)
 Start tracking with arguments that are only applied for this tracking start.
 
void StaticScene (bool useStaticScene)
 Enable/Disable enhanced tracking for static scenes. Will restart the tracking if it is already running to apply the changes.
 

Data Fields

bool autoStartTracking = false
 
FilePathReference configurationFileReference = null
 
bool extendTrackingWithSLAM = false
 
bool ignoreSetupIssues = false
 
string imageSequenceURI = ""
 
InputSource inputSource = InputSource.TrackingConfig
 
bool showOnMobileDevices = false
 
bool staticScene = false
 
bool useResolutionSelection = false
 

Detailed Description

Use this component to save a reference to the used tracking configuration (vl-file), license and calibration file and to start tracking with the options: auto start, input selection and external SLAM.

Member Function Documentation

◆ SetCalibrationPath()

void Visometry.VisionLib.SDK.Core.TrackingConfiguration.SetCalibrationPath ( string  newURI)
inline

Set the URI of the calibration file. Will be applied on the next tracking start.

Example: streaming-assets-dir:VisionLib/calibration.json

◆ SetConfigurationPath()

void Visometry.VisionLib.SDK.Core.TrackingConfiguration.SetConfigurationPath ( string  newURI)
inline

Set the URI of the tracking configuration file, which is used for the next tracking start.

Example: streaming-assets-dir:VisionLib/MyTracking.vl

◆ SetLicensePath()

void Visometry.VisionLib.SDK.Core.TrackingConfiguration.SetLicensePath ( string  newURI)
inline

Set the URI of the used license file. Will be applied on the next tracking start.

Example: streaming-assets-dir:VisionLib/license.xml