DepthCorrelatedCoordinateMapper Class

Definition

Maps 2D points in a MediaFrameSource to 3D space or to a frame from a different MediaFrameSource using data from a DepthMediaFrame.

public ref class DepthCorrelatedCoordinateMapper sealed : IClosable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DepthCorrelatedCoordinateMapper final : IClosable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DepthCorrelatedCoordinateMapper : System.IDisposable
Public NotInheritable Class DepthCorrelatedCoordinateMapper
Implements IDisposable
Inheritance
Object IInspectable DepthCorrelatedCoordinateMapper
Attributes
Implements

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Remarks

Get an instance of this class by calling the TryCreateCoordinateMapper of a DepthMediaFrame.

Methods

Close()

Disposes of the object and associated resources.

MapPoint(Point, SpatialCoordinateSystem, CameraIntrinsics)

Maps a point from one MediaFrameSource to another, using depth information from the DepthMediaFrame from which the coordinate mapper was created with a call to TryCreateCoordinateMapper.

MapPoints(Point[], SpatialCoordinateSystem, CameraIntrinsics, Point[])

Maps an array of points from one MediaFrameSource to another, using depth information from the DepthMediaFrame from which the coordinate mapper was created with a call to TryCreateCoordinateMapper.

UnprojectPoint(Point, SpatialCoordinateSystem)

Unprojects a 2D point from a MediaFrameSource to a point in 3D space, using depth information from the DepthMediaFrame from which the coordinate mapper was created with a call to TryCreateCoordinateMapper.

UnprojectPoints(Point[], SpatialCoordinateSystem, Vector3[])

Unprojects an array of 2D points from a MediaFrameSource to a point in 3D space, using depth information from the DepthMediaFrame from which the coordinate mapper was created with a call to TryCreateCoordinateMapper.

Applies to

See also