DepthCorrelatedCoordinateMapper DepthCorrelatedCoordinateMapper DepthCorrelatedCoordinateMapper DepthCorrelatedCoordinateMapper 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 : sealed class DepthCorrelatedCoordinateMapper : IClosable
struct winrt::Windows::Media::Devices::Core::DepthCorrelatedCoordinateMapper : IClosable
public sealed class DepthCorrelatedCoordinateMapper : IDisposable
Public NotInheritable Class DepthCorrelatedCoordinateMapper Implements IDisposable
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)

Remarks

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

Methods

Close() Close() Close() Close() Close()

Disposes of the object and associated resources.

Dispose() Dispose() Dispose() Dispose() Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

MapPoint(Point, SpatialCoordinateSystem, CameraIntrinsics) MapPoint(Point, SpatialCoordinateSystem, CameraIntrinsics) MapPoint(Point, SpatialCoordinateSystem, CameraIntrinsics) MapPoint(Point, SpatialCoordinateSystem, CameraIntrinsics) 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[]) MapPoints(Point[], SpatialCoordinateSystem, CameraIntrinsics, Point[]) MapPoints(Point[], SpatialCoordinateSystem, CameraIntrinsics, Point[]) MapPoints(Point[], SpatialCoordinateSystem, CameraIntrinsics, Point[]) 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) UnprojectPoint(Point, SpatialCoordinateSystem) UnprojectPoint(Point, SpatialCoordinateSystem) UnprojectPoint(Point, SpatialCoordinateSystem) 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[]) UnprojectPoints(Point[], SpatialCoordinateSystem, Vector3[]) UnprojectPoints(Point[], SpatialCoordinateSystem, Vector3[]) UnprojectPoints(Point[], SpatialCoordinateSystem, Vector3[]) 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.

See also