Class ImageTrackerConfiguration
This class is used to configure the image tracker.
A reference to this object can be passed as a parameter while calling createImageTracker(TargetCollectionResource, ImageTrackerConfiguration) to create an ImageTracker.
Inheritance
Namespace: wikitude.sdk.uwp
Assembly: wikitude.sdk.dll
Syntax
public sealed class ImageTrackerConfiguration
Constructors
ImageTrackerConfiguration()
Declaration
public ImageTrackerConfiguration()
Methods
setDistanceChangedThreshold(UInt32)
Use this property to limit the number of distance changed events comming from the ImageTracker.
In order to receive accurate distance values, please provide physical target height information in the .wtc file or through the wikitude.sdk.uwp.ImageTrackerConfiguration.setPhysicalTargetImageHeights(Windows.Foundation.Collections.IMap`2{System.String^,System.Int32}) method.
Declaration
public void setDistanceChangedThreshold(uint threshold)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | threshold | The threshold in millimeter that should be used. |
setExtendedTargets(IList<String>)
Declaration
public void setExtendedTargets(IList<string> extendedTargets)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<System.String> | extendedTargets |
setImageRecognitionRangeExtension(ImageRecognitionRangeExtension)
Defines the ImageRecognitionRangeExtension mode that should be used when target image recognition is active.
Declaration
public void setImageRecognitionRangeExtension(ImageRecognitionRangeExtension imageRecognitionRangeExtension)
Parameters
Type | Name | Description |
---|---|---|
ImageRecognitionRangeExtension | imageRecognitionRangeExtension | The ImageRecognitionRangeExtension value that should be used. |
setMaximumNumberOfConcurrentlyTrackableTargets(Int32)
Use this to define how many concurrent targets are to be recognized and tracked simultaneously.
Depending on the current device, more targets can be recognized and tracked simultaneously. In case the maximum number of simultaneously targets is known for a specific use case, it’s good advice to set this property. The Wikitude C++ SDK will stop searching for new image targets in case the limit is reached which results in better battery lifetime.
Declaration
public void setMaximumNumberOfConcurrentlyTrackableTargets(int maximumNumberOfConcurrentlyTrackableTargets_)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maximumNumberOfConcurrentlyTrackableTargets_ | number of target to track simultaneously. |
setPhysicalTargetImageHeights(IDictionary<String, Int32>)
Declaration
public void setPhysicalTargetImageHeights(IDictionary<string, int> physicalTargetImageHeights)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.Int32> | physicalTargetImageHeights |
setRecognizedTargetCoordinateSystemConverter(ITargetCoordinateSystemConverter)
Sets the TargetCoordinateSystemConverter object used to convert target coordinates.
Declaration
public void setRecognizedTargetCoordinateSystemConverter(ITargetCoordinateSystemConverter targetCoordinateSystemConverter)
Parameters
Type | Name | Description |
---|---|---|
ITargetCoordinateSystemConverter | targetCoordinateSystemConverter | Reference to a TargetCoordinateSystemConverter object. |
setTrackerEfficiencyMode(TrackerEfficiencyMode)
Use this to specify the efficiency mode of the tracker.
Please refer to the TrackerEfficiencyMode documentation for more details.
Declaration
public void setTrackerEfficiencyMode(TrackerEfficiencyMode trackerEfficiencyMode)
Parameters
Type | Name | Description |
---|---|---|
TrackerEfficiencyMode | trackerEfficiencyMode | The tracker efficiency mode that should be used |