documentation

Visometry.VisionLib.SDK.Core.API.ModelTrackerCommands Class Reference

Commands for communicating with the model tracker. More...

Inherited by Visometry.VisionLib.SDK.Core.API.Internal.ModelTrackerCommandsInternal, and Visometry.VisionLib.SDK.Core.API.MultiModelTrackerCommands.

Data Structures

class  AddModelCmd
 
class  AddModelDataCmd
 
struct  InitPose
 Result of GetInitPoseCmd. More...
 
class  ReadInitDataWithPrefixCmd
 
class  RemoveModelCmd
 
class  Set1DRotationConstraintCommand
 
class  SetGlobalObjectPoseCmd
 
class  SetInitPoseCmd
 
class  SetModelPropertyEnabledCmd
 
class  SetModelPropertyOccluderCmd
 
class  SetModelPropertyURICmd
 
class  SetMultipleModelPropertiesCmd
 
class  SetWorkSpacesCmd
 
class  WriteInitDataWithPrefixCmd
 

Public Types

enum  ModelProperty { Enabled, Occluder }
 

Static Public Member Functions

static async Task AddModelAsync (Worker worker, ModelProperties properties)
 
static async Task< ModelDeserializationResultListAddModelDataAsync (Worker worker, ModelDataDescriptorList models, IntPtr data, UInt32 dataSize)
 
static async Task DisableConstraintAsync (Worker worker)
 
static async Task< InitPose?> GetInitPoseAsync (Worker worker)
 Get the initial pose. More...
 
static async Task< ModelPropertiesStructureGetModelPropertiesAsync (Worker worker)
 
static async Task< string > GetNonDefaultAttributesAsync (Worker worker)
 Get the current state of all model tracker parameters that do not have their default value. More...
 
static async Task ReadInitDataAsync (Worker worker, string filePrefix)
 Read init data from custom location with custom file name. More...
 
static async Task RemoveModelAsync (Worker worker, string modelName)
 
static async Task ResetHardAsync (Worker worker)
 Resets the tracking and all keyframes. More...
 
static async Task ResetInitDataAsync (Worker worker)
 Reset Offline init data More...
 
static async Task ResetSoftAsync (Worker worker)
 Resets the tracking. More...
 
static async Task Set1DRotationConstraintAsync (Worker worker, Vector3 worldUpVector, Vector3 modelUpVector, Vector3 modelCenter)
 
static async Task SetGlobalCoordinateSystemAsync (Worker worker, IntPtr nativeISpatialCoordinateSystemPtr)
 Set the global coordinate system of Unity to be used in the vlSDK More...
 
static async Task SetGlobalObjectPoseAsync (Worker worker, InitPose objectPose)
 Set the global pose of the object to track. More...
 
static async Task SetInitPoseAsync (Worker worker, InitPose initPose)
 Set the initial pose. More...
 
static async Task SetModelPropertyAsync (Worker worker, ModelProperty property, string name, bool value)
 
static async Task SetModelPropertyEnabledAsync (Worker worker, string name, bool value)
 
static async Task SetModelPropertyOccluderAsync (Worker worker, string name, bool value)
 
static async Task SetModelPropertyURIAsync (Worker worker, string name, string uri)
 
static async Task SetMultipleModelPropertiesAsync (Worker worker, ModelDataDescriptorList models)
 
static async Task SetOpenXRCallbackAsync (Worker worker, IntPtr extractExtrinsicDataCallback)
 Set the extrinsic extraction callback function for OpenXR support on HoloLens More...
 
static async Task SetWorkSpacesAsync (Worker worker, WorkSpace.Configuration config)
 Set the WorkSpaces for AutoInit. More...
 
static async Task WriteInitDataAsync (Worker worker, string filePrefix=null)
 Write init data to default location (filePrefix == null) or custom location. More...
 

Detailed Description

Commands for communicating with the model tracker.

Member Function Documentation

◆ GetInitPoseAsync()

static async Task<InitPose?> Visometry.VisionLib.SDK.Core.API.ModelTrackerCommands.GetInitPoseAsync ( Worker  worker)
inlinestatic

Get the initial pose.

◆ GetNonDefaultAttributesAsync()

static async Task<string> Visometry.VisionLib.SDK.Core.API.ModelTrackerCommands.GetNonDefaultAttributesAsync ( Worker  worker)
inlinestatic

Get the current state of all model tracker parameters that do not have their default value.

◆ ReadInitDataAsync()

static async Task Visometry.VisionLib.SDK.Core.API.ModelTrackerCommands.ReadInitDataAsync ( Worker  worker,
string  filePrefix 
)
inlinestatic

Read init data from custom location with custom file name.

◆ ResetHardAsync()

static async Task Visometry.VisionLib.SDK.Core.API.ModelTrackerCommands.ResetHardAsync ( Worker  worker)
inlinestatic

Resets the tracking and all keyframes.

◆ ResetInitDataAsync()

static async Task Visometry.VisionLib.SDK.Core.API.ModelTrackerCommands.ResetInitDataAsync ( Worker  worker)
inlinestatic

Reset Offline init data

◆ ResetSoftAsync()

static async Task Visometry.VisionLib.SDK.Core.API.ModelTrackerCommands.ResetSoftAsync ( Worker  worker)
inlinestatic

Resets the tracking.

◆ SetGlobalCoordinateSystemAsync()

static async Task Visometry.VisionLib.SDK.Core.API.ModelTrackerCommands.SetGlobalCoordinateSystemAsync ( Worker  worker,
IntPtr  nativeISpatialCoordinateSystemPtr 
)
inlinestatic

Set the global coordinate system of Unity to be used in the vlSDK

◆ SetGlobalObjectPoseAsync()

static async Task Visometry.VisionLib.SDK.Core.API.ModelTrackerCommands.SetGlobalObjectPoseAsync ( Worker  worker,
InitPose  objectPose 
)
inlinestatic

Set the global pose of the object to track.

◆ SetInitPoseAsync()

static async Task Visometry.VisionLib.SDK.Core.API.ModelTrackerCommands.SetInitPoseAsync ( Worker  worker,
InitPose  initPose 
)
inlinestatic

Set the initial pose.

◆ SetOpenXRCallbackAsync()

static async Task Visometry.VisionLib.SDK.Core.API.ModelTrackerCommands.SetOpenXRCallbackAsync ( Worker  worker,
IntPtr  extractExtrinsicDataCallback 
)
inlinestatic

Set the extrinsic extraction callback function for OpenXR support on HoloLens

◆ SetWorkSpacesAsync()

static async Task Visometry.VisionLib.SDK.Core.API.ModelTrackerCommands.SetWorkSpacesAsync ( Worker  worker,
WorkSpace.Configuration  config 
)
inlinestatic

Set the WorkSpaces for AutoInit.

◆ WriteInitDataAsync()

static async Task Visometry.VisionLib.SDK.Core.API.ModelTrackerCommands.WriteInitDataAsync ( Worker  worker,
string  filePrefix = null 
)
inlinestatic

Write init data to default location (filePrefix == null) or custom location.