PerceptionDepthFrameSource 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
깊이 프레임을 제공하는 프레임 소스입니다.
public ref class PerceptionDepthFrameSource sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PerceptionDepthFrameSource final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource may be unavailable after Windows Creator Update. Use Windows.Media.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
class PerceptionDepthFrameSource final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PerceptionDepthFrameSource
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Deprecated("PerceptionDepthFrameSource may be unavailable after Windows Creator Update. Use Windows.Media.Frames.MediaFrameSource instead.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public sealed class PerceptionDepthFrameSource
Public NotInheritable Class PerceptionDepthFrameSource
- 상속
- 특성
Windows 요구 사항
| 요구 사항 | Description |
|---|---|
| 디바이스 패밀리 |
Windows 10 (10.0.10240.0에서 도입되었습니다.)
|
| API contract |
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)
|
설명
버전 기록
| Windows 버전 | SDK 버전 | 추가된 값 |
|---|---|---|
| 1511 | 10586 | DeviceId |
속성
| Name | Description |
|---|---|
| Active |
원본이 활성 상태인지 여부를 나타내는 부울 값을 가져옵니다. |
| Available |
원본을 사용할 수 있는지 여부를 나타내는 부울 값을 가져옵니다. |
| AvailableVideoProfiles |
깊이 프레임 원본에서 현재 사용할 수 있는 비디오 프로필의 읽기 전용 컬렉션을 가져옵니다. |
| CameraIntrinsics |
깊이 프레임 원본 카메라 디바이스의 내장 속성을 지정하는 CameraIntrinsics 값을 가져옵니다. |
| DeviceId |
시스템의 디바이스를 식별하는 문자열 값을 가져옵니다. |
| DeviceKind |
깊이 프레임을 생성하는 물리적 디바이스의 종류를 나타내는 문자열 값을 가져옵니다. |
| DisplayName |
깊이 프레임 원본의 표시 이름을 나타내는 문자열 값을 가져옵니다. |
| Id |
깊이 프레임 원본의 고유 ID를 나타내는 문자열 값을 가져옵니다. |
| IsControlled |
원본이 컨트롤러 모드의 주체인지 여부를 나타내는 부울 값을 가져옵니다. |
| Properties |
프레임 원본 속성의 읽기 전용 컬렉션을 가져옵니다. |
| SupportedVideoProfiles |
깊이 프레임 원본에서 지원하는 비디오 프로필의 읽기 전용 컬렉션을 가져옵니다. |
| VideoProfile |
현재 비디오 프로필을 나타내는 PerceptionVideoProfile 개체를 가져옵니다. |
메서드
| Name | Description |
|---|---|
| AcquireControlSession() |
깊이 프레임 원본에서 컨트롤러 모드를 획득하려고 시도합니다. |
| CanControlIndependentlyFrom(String) |
이 메서드는 깊이 프레임 원본을 다른 프레임 원본과 별도로 제어할 수 있는지 여부를 나타내는 부울 값을 반환합니다. |
| CreateWatcher() |
새 깊이 프레임 원본 감시자를 만듭니다. |
| FindAllAsync() |
모든 깊이 프레임 원본을 찾습니다. |
| FromIdAsync(String) |
고유 ID를 조회하여 깊이 프레임 원본을 찾습니다. |
| IsCorrelatedWith(String) |
깊이 프레임 원본이 대상 엔터티와 상관 관계가 있는지 여부를 확인합니다. 결과가 true이면 변환 행렬을 검색하여 이 깊이 프레임 원본에서 엔터티로 좌표 기준을 변경하거나 그 반대로 변경할 수 있습니다. |
| OpenReader() |
이 깊이 프레임 원본에서 프레임을 읽는 프레임 판독기 를 가져옵니다. |
| RequestAccessAsync() |
깊이 프레임 원본을 사용하도록 액세스를 요청합니다. |
| TryGetDepthCorrelatedCameraIntrinsicsAsync(PerceptionDepthFrameSource) |
이 깊이 원본과 상관 관계가 있는 깊이 카메라의 내장 속성을 가져옵니다. |
| TryGetDepthCorrelatedCoordinateMapperAsync(String, PerceptionDepthFrameSource) |
깊이 프레임 이미지 공간에서 깊이 프레임 공간으로 매핑되는 좌표 매퍼를 가져옵니다. |
| TryGetTransformTo(String, Matrix4x4) |
깊이 프레임 원본에서 대상 엔터티로 변환을 가져오고 상관 관계가 있는 경우 hasResult를 true로 설정합니다. 상관 관계가 없으면 hasResult가 false로 설정되고 결과가 수정되지 않습니다. |
| TrySetVideoProfileAsync(PerceptionControlSession, PerceptionVideoProfile) |
이 깊이 프레임 원본에서 비디오 프로필을 설정하려고 시도합니다. 이 프레임 원본에서 활성 컨트롤러 모드 제어 세션이 필요합니다. |
이벤트
| Name | Description |
|---|---|
| ActiveChanged |
ActiveChanged 이벤트를 구독합니다. |
| AvailableChanged |
AvailableChanged 이벤트를 구독합니다. |
| CameraIntrinsicsChanged |
CameraIntrinsicsChanged 이벤트를 구독합니다. |
| PropertiesChanged |
PropertiesChanged 이벤트를 구독합니다. |
| VideoProfileChanged |
VideoProfileChanged 이벤트를 구독합니다. |