PerceptionCorrelation
PerceptionCorrelation
PerceptionCorrelation
PerceptionCorrelation
Class
Definition
A description of the physical position and orientation of a device specified by the IPerceptionFrameProvider's unique identifier (PerceptionFrameProviderInfo::Id) sharing a common coordinate frame of other PerceptionCorrelations that will be combined into a PerceptionCorrelationGroup.
public : sealed class PerceptionCorrelation : IPerceptionCorrelationpublic sealed class PerceptionCorrelation : IPerceptionCorrelationPublic NotInheritable Class PerceptionCorrelation Implements IPerceptionCorrelation// You can use this class in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Remarks
The origin of this coordinate frame can be the position of one of the cameras in the PerceptionCorrelationGroup such that one camera will have a Windows::Foundation::Numerics::Vector3::Zero Position and all others will not.
Constructors
PerceptionCorrelation(String, Vector3, Quaternion) PerceptionCorrelation(String, Vector3, Quaternion) PerceptionCorrelation(String, Vector3, Quaternion) PerceptionCorrelation(String, Vector3, Quaternion)
Initializes a new PerceptionCorrelation instance.
public : PerceptionCorrelation(PlatForm::String targetId, Vector3 position, Quaternion orientation)public PerceptionCorrelation(String targetId, Vector3 position, Quaternion orientation)Public Sub New(targetId As String, position As Vector3, orientation As Quaternion)// You can use this method in JavaScript.
- targetId
- PlatForm::String String String String
The unique identifier of the IPerceptionFrameProvider being described.
- position
- Vector3 Vector3 Vector3 Vector3
The position of the device in a common coordinate frame of all members of a PerceptionCorrelationGroup.
- orientation
- Quaternion Quaternion Quaternion Quaternion
The orientation of the device in a common coordinate frame of all members of a PerceptionCorrelationGroup.
Remarks
Creates a PerceptionCorrelation associating a position and orientation with the unique identifier of an IPerceptionFrameProvider (via its PerceptionFrameProviderInfo::Id). When combined into an PerceptionCorrelationGroup, relative positions and orientations can be obtained to correlate resulting frames from each IPerceptionFrameProvider in the group.
Properties
Orientation Orientation Orientation Orientation
The orientation of the device in the common coordinate frame shared by other PerceptionCorrelations in the PerceptionCorrelationGroup.
public : Quaternion Orientation { get; }public Quaternion Orientation { get; }Public ReadOnly Property Orientation As Quaternion// You can use this property in JavaScript.
- Value
- Quaternion Quaternion Quaternion Quaternion
The orientation of the described device.
Position Position Position Position
The position of the device in the common coordinate frame shared by other PerceptionCorrelations in the PerceptionCorrelationGroup.
public : Vector3 Position { get; }public Vector3 Position { get; }Public ReadOnly Property Position As Vector3// You can use this property in JavaScript.
- Value
- Vector3 Vector3 Vector3 Vector3
The position of the described device.
TargetId TargetId TargetId TargetId
The unique identifier of the described device.
public : PlatForm::String TargetId { get; }public string TargetId { get; }Public ReadOnly Property TargetId As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
The unique identifier of the described device.