documentation

Visometry.VisionLib.SDK.Core.WorkSpaceManager Class Reference

The WorkSpaceManager collects the WorkSpace definitions from the hierarchy and transfers them to VisionLib during runtime. If TrackingAnchors are found in the scene, the WorkSpaces will be transferred according to their anchor. THIS IS SUBJECT TO CHANGE Please do not rely on this code in productive environments. More...

Inherits Visometry.VisionLib.SDK.Core.TrackingManagerReference.

Public Member Functions

void LearnWorkSpaceInitData ()
 Resets the tracking (hard) and initializes the learning process for AutoInit. More...
 
void WriteWorkSpaceConfigurationToFile (string anchorName=DEFAULT_ANCHORNAME, string fileName="local-storage-dir:/VisionLib/AutoInit/workspaceConfiguration.json")
 Creates the WorkSpace.Configuration and writes it into the given file. More...
 

Data Fields

bool autoStartLearning = false
 
bool showProgressBar = false
 

Additional Inherited Members

- Protected Member Functions inherited from Visometry.VisionLib.SDK.Core.TrackingManagerReference
virtual bool InitWorkerReference ()
 Initializes the trackingManager and Worker member variables. More...
 
virtual void ResetReference ()
 
- Properties inherited from Visometry.VisionLib.SDK.Core.TrackingManagerReference
TrackingManager trackingManager [get]
 Reference to used TrackingManager. More...
 
Worker worker [get]
 

Detailed Description

The WorkSpaceManager collects the WorkSpace definitions from the hierarchy and transfers them to VisionLib during runtime. If TrackingAnchors are found in the scene, the WorkSpaces will be transferred according to their anchor. THIS IS SUBJECT TO CHANGE Please do not rely on this code in productive environments.

See also
WorkSpace

Member Function Documentation

◆ LearnWorkSpaceInitData()

void Visometry.VisionLib.SDK.Core.WorkSpaceManager.LearnWorkSpaceInitData ( )
inline

Resets the tracking (hard) and initializes the learning process for AutoInit.

This function will be performed asynchronously.

◆ WriteWorkSpaceConfigurationToFile()

void Visometry.VisionLib.SDK.Core.WorkSpaceManager.WriteWorkSpaceConfigurationToFile ( string  anchorName = DEFAULT_ANCHORNAME,
string  fileName = "local-storage-dir:/VisionLib/AutoInit/workspaceConfiguration.json" 
)
inline

Creates the WorkSpace.Configuration and writes it into the given file.

Parameters
fileNamePath of the file to write the data in.

It's possible to use vlSDK file schemes (e.g. local-storage-dir) here.