documentation

VLWorkSpaceManager Class Reference

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

Inherits VLWorkerReferenceBehaviour.

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 VLWorkSpace.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 VLWorkerReferenceBehaviour
bool InitWorkerReference ()
 Initializes the workerBehaviour and Worker member variables. More...
 
- Protected Attributes inherited from VLWorkerReferenceBehaviour
VLWorker worker
 
VLWorkerBehaviour workerBehaviour
 Reference to used VLWorkerBehaviour. More...
 

Detailed Description

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

See also
VLWorkSpace

Member Function Documentation

◆ LearnWorkSpaceInitData()

void VLWorkSpaceManager.LearnWorkSpaceInitData ( )
inline

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

◆ WriteWorkSpaceConfigurationToFile()

void VLWorkSpaceManager.WriteWorkSpaceConfigurationToFile ( string  anchorName = DEFAULT_ANCHORNAME,
string  fileName = "local_storage_dir:/VisionLib/AutoInit/workspaceConfiguration.json" 
)
inline

Creates the VLWorkSpace.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.